Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 171.7 kB / 16.8 MB, free: 4.902 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.8 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007899, allocations: 92.44 kB / 292 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04788/0.04788, allocations: 8.106 MB / 351.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 16 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.089, allocations: 52.51 MB / 466.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.3983, allocations: 80.58 MB / 0.5346 GB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3985, allocations: 73.41 kB / 0.5347 GB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.4239, allocations: 10.28 MB / 0.5447 GB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4239, allocations: 0 / 0.5447 GB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.4239, allocations: 4 kB / 0.5447 GB, free: 12.63 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00251/0.4264, allocations: 0.779 MB / 0.5455 GB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4265, allocations: 8.031 kB / 0.5455 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4266, allocations: 32.56 kB / 0.5455 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.427, allocations: 306.1 kB / 0.5458 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.4271, allocations: 19.75 kB / 0.5459 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.4271, allocations: 19.5 kB / 0.5459 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.4277, allocations: 377.5 kB / 0.5462 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4277, allocations: 192 / 0.5462 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.4278, allocations: 10.5 kB / 0.5462 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4278, allocations: 12 kB / 0.5463 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.4283, allocations: 314.1 kB / 0.5466 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.4305, allocations: 1.526 MB / 0.5481 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.4315, allocations: 395.2 kB / 0.5484 GB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.4318, allocations: 177.3 kB / 0.5486 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.432, allocations: 85.09 kB / 0.5487 GB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.432, allocations: 50.5 kB / 0.5487 GB, free: 9.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.4321, allocations: 0 / 0.5487 GB, free: 9.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.004127/0.4362, allocations: 1.249 MB / 0.5499 GB, free: 7.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.4363, allocations: 102.8 kB / 0.55 GB, free: 7.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.4365, allocations: 232.2 kB / 0.5503 GB, free: 7.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.4366, allocations: 29.7 kB / 0.5503 GB, free: 7.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.4367, allocations: 164.5 kB / 0.5504 GB, free: 7.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/0.4368, allocations: 98.55 kB / 0.5505 GB, free: 7.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.4368, allocations: 4 kB / 0.5505 GB, free: 7.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4369, allocations: 342.8 kB / 0.5509 GB, free: 6.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.4372, allocations: 163.8 kB / 0.551 GB, free: 6.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4375, allocations: 195.9 kB / 0.5512 GB, free: 6.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.438, allocations: 342.6 kB / 0.5515 GB, free: 6.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.438, allocations: 0 / 0.5515 GB, free: 6.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002009/0.44, allocations: 0.7333 MB / 0.5523 GB, free: 5.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4401, allocations: 8 kB / 0.5523 GB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4401, allocations: 0 / 0.5523 GB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/0.442, allocations: 413.2 kB / 0.5527 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.4422, allocations: 47.91 kB / 0.5527 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00492/0.4471, allocations: 3.851 MB / 0.5565 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.4475, allocations: 27.69 kB / 0.5565 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.4476, allocations: 11.98 kB / 0.5565 GB, free: 0.6562 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.4478, allocations: 145.9 kB / 0.5566 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.4479, allocations: 23.72 kB / 0.5567 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.4501, allocations: 0.794 MB / 0.5574 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4502, allocations: 4 kB / 0.5574 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4502, allocations: 7.938 kB / 0.5575 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4502, allocations: 3.984 kB / 0.5575 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.4508, allocations: 493 kB / 0.5579 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4508, allocations: 0 / 0.5579 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.4509, allocations: 43.92 kB / 0.558 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.4529, allocations: 409.2 kB / 0.5584 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.4529, allocations: 12 kB / 0.5584 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/0.4578, allocations: 3.839 MB / 0.5621 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.4579, allocations: 0 / 0.5621 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.46, allocations: 0.8205 MB / 0.5629 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.4601, allocations: 108.7 kB / 0.563 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.4602, allocations: 8 kB / 0.563 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.4604, allocations: 19.98 kB / 0.5631 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.4605, allocations: 23.97 kB / 0.5631 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.4606, allocations: 11.98 kB / 0.5631 GB, free: 9.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4608, allocations: 164.5 kB / 0.5632 GB, free: 9.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4608, allocations: 0 / 0.5632 GB, free: 9.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005225/0.4613, allocations: 127.8 kB / 0.5634 GB, free: 9.238 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.4615, allocations: 123.2 kB / 0.5635 GB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.4633, allocations: 0.728 MB / 0.5642 GB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4633, allocations: 0 / 0.5642 GB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.4646, allocations: 0.5558 MB / 0.5647 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4649, allocations: 28.27 kB / 0.5648 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.466, allocations: 0.6452 MB / 0.5654 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4663, allocations: 0.7687 MB / 0.5661 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.4665, allocations: 41.89 kB / 0.5662 GB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.4665, allocations: 23.44 kB / 0.5662 GB, free: 6.215 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4665, allocations: 0 / 0.5662 GB, free: 6.215 MB / 378.7 MB Notification: Performance of Templates: time 0.01049/0.477, allocations: 5.993 MB / 0.5721 GB, free: 244 kB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)