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.001689/0.001688, allocations: 183.8 kB / 15.76 MB, free: 6.359 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.009/2.009, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00123/0.00123, allocations: 86.83 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2857/0.2857, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004738, allocations: 15.98 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 56.33 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6055, allocations: 95.36 MB / 0.561 GB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.6058, allocations: 85.58 kB / 0.5611 GB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06302/0.6689, allocations: 14.68 MB / 0.5754 GB, free: 8.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6689, allocations: 4 kB / 0.5754 GB, free: 8.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.669, allocations: 4 kB / 0.5754 GB, free: 8.359 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.001192/0.6702, allocations: 0.5022 MB / 0.5759 GB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6703, allocations: 12.03 kB / 0.5759 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.6704, allocations: 53.3 kB / 0.576 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.6721, allocations: 127.5 kB / 0.5761 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.6729, allocations: 259.2 kB / 0.5764 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.6729, allocations: 11.62 kB / 0.5764 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.673, allocations: 18.88 kB / 0.5764 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.6738, allocations: 317.8 kB / 0.5767 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6739, allocations: 0 / 0.5767 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.6739, allocations: 9.125 kB / 0.5767 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/0.674, allocations: 19.23 kB / 0.5767 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.6748, allocations: 289 kB / 0.577 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.6777, allocations: 1.295 MB / 0.5783 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.6783, allocations: 203.6 kB / 0.5785 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.6784, allocations: 0 / 0.5785 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.6785, allocations: 34.06 kB / 0.5785 GB, free: 5.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.6785, allocations: 0 / 0.5785 GB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005122/0.679, allocations: 138.2 kB / 0.5786 GB, free: 5.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.6791, allocations: 77.11 kB / 0.5787 GB, free: 5.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.6794, allocations: 198.6 kB / 0.5789 GB, free: 4.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.6795, allocations: 25.7 kB / 0.5789 GB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6796, allocations: 236.1 kB / 0.5791 GB, free: 4.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.6797, allocations: 30.62 kB / 0.5792 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.6797, allocations: 3.25 kB / 0.5792 GB, free: 4.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6799, allocations: 318.3 kB / 0.5795 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.68, allocations: 42.16 kB / 0.5795 GB, free: 4.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.6802, allocations: 132.5 kB / 0.5796 GB, free: 4.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.6804, allocations: 68.12 kB / 0.5797 GB, free: 4.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6804, allocations: 0 / 0.5797 GB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000532/0.681, allocations: 202.1 kB / 0.5799 GB, free: 3.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.681, allocations: 4 kB / 0.5799 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6811, allocations: 4 kB / 0.5799 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.6811, allocations: 8.469 kB / 0.5799 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.6815, allocations: 43.92 kB / 0.58 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.6815, allocations: 7.984 kB / 0.58 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.6818, allocations: 27.72 kB / 0.58 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.6818, allocations: 11.06 kB / 0.58 GB, free: 3.895 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 () * Number of clocked 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.0002542/0.6821, allocations: 159.8 kB / 0.5802 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.6821, allocations: 15.81 kB / 0.5802 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.6825, allocations: 116.7 kB / 0.5803 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6825, allocations: 4 kB / 0.5803 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6826, allocations: 48 / 0.5803 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6826, allocations: 3.984 kB / 0.5803 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6839, allocations: 0.5848 MB / 0.5809 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.684, allocations: 11.97 kB / 0.5809 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.6842, allocations: 23.98 kB / 0.5809 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6842, allocations: 4 kB / 0.5809 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.6842, allocations: 4 kB / 0.5809 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.6843, allocations: 4 kB / 0.5809 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.6843, allocations: 7.953 kB / 0.5809 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.6849, allocations: 398.1 kB / 0.5813 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.6851, allocations: 92.92 kB / 0.5814 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.6851, allocations: 14.61 kB / 0.5814 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6853, allocations: 0 / 0.5814 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.6854, allocations: 22.75 kB / 0.5814 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6854, allocations: 4 kB / 0.5814 GB, free: 2.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.6857, allocations: 151.8 kB / 0.5816 GB, free: 2.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6857, allocations: 0 / 0.5816 GB, free: 2.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.6863, allocations: 55.03 kB / 0.5816 GB, free: 2.191 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 () * Number of clocked 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.001274/0.6876, allocations: 1.628 MB / 0.5832 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.6881, allocations: 118.1 kB / 0.5833 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6881, allocations: 0 / 0.5833 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6882, allocations: 46.34 kB / 0.5834 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.6887, allocations: 26.55 kB / 0.5834 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.6925, allocations: 3.337 MB / 0.5866 GB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.6931, allocations: 0.7615 MB / 0.5874 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6933, allocations: 60.16 kB / 0.5874 GB, free: 12.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6933, allocations: 0 / 0.5874 GB, free: 12.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.473/3.166, allocations: 3.151 MB / 0.5905 GB, free: 9.098 MB / 394.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)