Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.002358/0.002357, allocations: 184.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 95.69 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3844/0.3844, allocations: 37.98 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.796e-05, allocations: 0 / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 56.31 MB / 473.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5955, allocations: 95.27 MB / 0.5552 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5959, allocations: 80.83 kB / 0.5552 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06035/0.6562, allocations: 14.59 MB / 0.5695 GB, free: 9.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6563, allocations: 0 / 0.5695 GB, free: 9.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.6563, allocations: 4 kB / 0.5695 GB, free: 9.586 MB / 410.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.0009887/0.6573, allocations: 490.2 kB / 0.5699 GB, free: 9.062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6574, allocations: 12.03 kB / 0.57 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.6575, allocations: 58.55 kB / 0.57 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.659, allocations: 127.5 kB / 0.5701 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.6597, allocations: 271.1 kB / 0.5704 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.6597, allocations: 12 kB / 0.5704 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.6598, allocations: 12 kB / 0.5704 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.6606, allocations: 314.3 kB / 0.5707 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6606, allocations: 3.938 kB / 0.5707 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.6607, allocations: 8 kB / 0.5707 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.6608, allocations: 23.92 kB / 0.5708 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.6615, allocations: 283.8 kB / 0.571 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.6642, allocations: 1.277 MB / 0.5723 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.6648, allocations: 206.3 kB / 0.5725 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.6649, allocations: 37.72 kB / 0.5725 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.665, allocations: 12.16 kB / 0.5725 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.665, allocations: 34.55 kB / 0.5725 GB, free: 6.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.916e-06/0.6651, allocations: 0 / 0.5725 GB, free: 6.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000398/0.6655, allocations: 105.4 kB / 0.5726 GB, free: 6.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.6655, allocations: 85.14 kB / 0.5727 GB, free: 5.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.6659, allocations: 194.9 kB / 0.5729 GB, free: 5.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.6659, allocations: 25.7 kB / 0.5729 GB, free: 5.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.6661, allocations: 230 kB / 0.5732 GB, free: 5.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.6662, allocations: 39.53 kB / 0.5732 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.6662, allocations: 0 / 0.5732 GB, free: 5.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6664, allocations: 322.8 kB / 0.5735 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.6665, allocations: 35.98 kB / 0.5735 GB, free: 5.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.6667, allocations: 137.6 kB / 0.5737 GB, free: 4.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6669, allocations: 63.91 kB / 0.5737 GB, free: 4.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6669, allocations: 0 / 0.5737 GB, free: 4.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005005/0.6674, allocations: 189.3 kB / 0.5739 GB, free: 4.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.6675, allocations: 12 kB / 0.5739 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6675, allocations: 4.375 kB / 0.5739 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.6675, allocations: 12 kB / 0.5739 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.6679, allocations: 51.91 kB / 0.574 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.6679, allocations: 7.938 kB / 0.574 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.6682, allocations: 23.69 kB / 0.574 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.6682, allocations: 12 kB / 0.574 GB, free: 4.543 MB / 410.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 0.0001272/0.6683, allocations: 126.7 kB / 0.5742 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.6684, allocations: 15.81 kB / 0.5742 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.6688, allocations: 119.2 kB / 0.5743 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6689, allocations: 3.938 kB / 0.5743 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6689, allocations: 0 / 0.5743 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6689, allocations: 4 kB / 0.5743 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6702, allocations: 0.5604 MB / 0.5748 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.6702, allocations: 0 / 0.5748 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.6704, allocations: 19.94 kB / 0.5749 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.6704, allocations: 4 kB / 0.5749 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.6704, allocations: 11.98 kB / 0.5749 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.6705, allocations: 4 kB / 0.5749 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.6705, allocations: 11.95 kB / 0.5749 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.671, allocations: 404.1 kB / 0.5753 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6712, allocations: 96.86 kB / 0.5754 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.6712, allocations: 15.92 kB / 0.5754 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.6714, allocations: 0 / 0.5754 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6715, allocations: 15.95 kB / 0.5754 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.6715, allocations: 7.984 kB / 0.5754 GB, free: 2.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.6717, allocations: 157.5 kB / 0.5755 GB, free: 2.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6717, allocations: 0 / 0.5755 GB, free: 2.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.6723, allocations: 55.84 kB / 0.5756 GB, free: 2.711 MB / 410.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.001209/0.6735, allocations: 1.619 MB / 0.5772 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.6739, allocations: 111.8 kB / 0.5773 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6739, allocations: 0 / 0.5773 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6741, allocations: 49.17 kB / 0.5773 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.6745, allocations: 28.25 kB / 0.5774 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.6758, allocations: 430.2 kB / 0.5778 GB, free: 328 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.6764, allocations: 0.7597 MB / 0.5785 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.6766, allocations: 67.34 kB / 0.5786 GB, free: 15.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/0.6766, allocations: 0 / 0.5786 GB, free: 15.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/3.148, allocations: 3.177 MB / 0.5817 GB, free: 12.29 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)