Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001241/0.001242, allocations: 184.3 kB / 13.65 MB, free: 1.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.731/1.731, allocations: 194.2 MB / 208.4 MB, free: 6.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 112.7 kB / 253.5 MB, free: 9.543 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2133/0.2133, allocations: 37.91 MB / 336.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 7.833e-05/7.88e-05, allocations: 7.938 kB / 397.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4042, allocations: 53.22 MB / 450.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.538, allocations: 90.28 MB / 0.5284 GB, free: 3.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5383, allocations: 87.81 kB / 0.5285 GB, free: 2.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3242/0.8626, allocations: 14.56 MB / 0.5427 GB, free: 84.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.8626, allocations: 3.406 kB / 0.5428 GB, free: 84.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.8626, allocations: 7.406 kB / 0.5428 GB, free: 84.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006654/0.8633, allocations: 488.5 kB / 0.5432 GB, free: 84.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.8634, allocations: 10.41 kB / 0.5432 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.458e-05/0.8634, allocations: 52.83 kB / 0.5433 GB, free: 84.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.8645, allocations: 116.5 kB / 0.5434 GB, free: 84.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.8648, allocations: 270.4 kB / 0.5437 GB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.8649, allocations: 10.88 kB / 0.5437 GB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.8649, allocations: 18.64 kB / 0.5437 GB, free: 84.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.8654, allocations: 307.9 kB / 0.544 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8654, allocations: 4 kB / 0.544 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.8654, allocations: 11.58 kB / 0.544 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.8655, allocations: 23.38 kB / 0.544 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.8659, allocations: 281.2 kB / 0.5443 GB, free: 83.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.8672, allocations: 1.284 MB / 0.5455 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.8675, allocations: 198.7 kB / 0.5457 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.8676, allocations: 40.52 kB / 0.5458 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.8677, allocations: 8 kB / 0.5458 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.8677, allocations: 30.75 kB / 0.5458 GB, free: 82.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.356e-06/0.8677, allocations: 0 / 0.5458 GB, free: 82.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002682/0.868, allocations: 114.9 kB / 0.5459 GB, free: 82.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.868, allocations: 80.86 kB / 0.546 GB, free: 82.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.8682, allocations: 194.9 kB / 0.5462 GB, free: 82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.8682, allocations: 29.73 kB / 0.5462 GB, free: 81.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.8683, allocations: 166.5 kB / 0.5464 GB, free: 81.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.8684, allocations: 35.2 kB / 0.5464 GB, free: 81.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.8684, allocations: 4 kB / 0.5464 GB, free: 81.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.8685, allocations: 330.5 kB / 0.5467 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.8685, allocations: 31.45 kB / 0.5467 GB, free: 81.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.8686, allocations: 135.9 kB / 0.5469 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.8687, allocations: 62.56 kB / 0.5469 GB, free: 81.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8688, allocations: 0 / 0.5469 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002766/0.869, allocations: 205.4 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.8691, allocations: 7.719 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8691, allocations: 4.156 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.8691, allocations: 3.906 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.8693, allocations: 59.06 kB / 0.5472 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.8693, allocations: 3.5 kB / 0.5472 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.8694, allocations: 27.62 kB / 0.5472 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8695, allocations: 11.8 kB / 0.5472 GB, free: 81.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/0.8695, allocations: 124.5 kB / 0.5474 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.8696, allocations: 15.66 kB / 0.5474 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.8698, allocations: 113.6 kB / 0.5475 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.8698, allocations: 3.781 kB / 0.5475 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8698, allocations: 0 / 0.5475 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8698, allocations: 4 kB / 0.5475 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.8704, allocations: 0.5805 MB / 0.5481 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8704, allocations: 3.969 kB / 0.5481 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.8705, allocations: 23.66 kB / 0.5481 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8705, allocations: 7.766 kB / 0.5481 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.8705, allocations: 7.953 kB / 0.5481 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8705, allocations: 0 / 0.5481 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8706, allocations: 3.969 kB / 0.5481 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.8708, allocations: 403.3 kB / 0.5485 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.8709, allocations: 100.6 kB / 0.5486 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.8709, allocations: 7.891 kB / 0.5486 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.871, allocations: 3.938 kB / 0.5486 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.871, allocations: 15.83 kB / 0.5486 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.8711, allocations: 7.859 kB / 0.5486 GB, free: 79.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.8712, allocations: 149.9 kB / 0.5488 GB, free: 79.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8712, allocations: 0 / 0.5488 GB, free: 79.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.8715, allocations: 59.84 kB / 0.5488 GB, free: 79.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000502/0.872, allocations: 1.618 MB / 0.5504 GB, free: 77.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.8722, allocations: 116.3 kB / 0.5505 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8722, allocations: 0 / 0.5505 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.8723, allocations: 51.8 kB / 0.5506 GB, free: 77.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.8726, allocations: 27.92 kB / 0.5506 GB, free: 77.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.8733, allocations: 389.3 kB / 0.551 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.8735, allocations: 0.7597 MB / 0.5517 GB, free: 76.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.8736, allocations: 37.5 kB / 0.5517 GB, free: 76.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.8737, allocations: 63.36 kB / 0.5518 GB, free: 76.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8737, allocations: 4 kB / 0.5518 GB, free: 76.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.8895, allocations: 2.99 MB / 0.5547 GB, free: 73.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.8897, allocations: 145.2 kB / 0.5549 GB, free: 73.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.609, allocations: 3.938 kB / 0.5549 GB, free: 73.16 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)