Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003305/0.003305, allocations: 182 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 102.7 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2649/0.2649, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004713, allocations: 8 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6351, allocations: 95.36 MB / 0.5609 GB, free: 4.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.6355, allocations: 90.88 kB / 0.561 GB, free: 4.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06362/0.6992, allocations: 14.66 MB / 0.5753 GB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6992, allocations: 3.938 kB / 0.5754 GB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.6993, allocations: 4 kB / 0.5754 GB, free: 8.77 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.0009308/0.7002, allocations: 0.499 MB / 0.5758 GB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.7003, allocations: 8.031 kB / 0.5759 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.7018, allocations: 115.7 kB / 0.576 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.7024, allocations: 274.2 kB / 0.5762 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.7025, allocations: 14.69 kB / 0.5762 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.7026, allocations: 15.44 kB / 0.5763 GB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.7033, allocations: 321 kB / 0.5766 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7034, allocations: 0 / 0.5766 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.7034, allocations: 11.62 kB / 0.5766 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.7035, allocations: 15.98 kB / 0.5766 GB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.7042, allocations: 292.6 kB / 0.5769 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.7068, allocations: 1.284 MB / 0.5781 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.7073, allocations: 205.4 kB / 0.5783 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.7074, allocations: 0 / 0.5783 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.7074, allocations: 37.88 kB / 0.5783 GB, free: 5.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.7074, allocations: 0 / 0.5783 GB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004491/0.7079, allocations: 135.8 kB / 0.5785 GB, free: 5.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.708, allocations: 85.05 kB / 0.5786 GB, free: 5.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.7083, allocations: 188.8 kB / 0.5787 GB, free: 5.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7083, allocations: 25.7 kB / 0.5788 GB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.7085, allocations: 233.1 kB / 0.579 GB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.7085, allocations: 34.09 kB / 0.579 GB, free: 5.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.7086, allocations: 7.562 kB / 0.579 GB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7087, allocations: 322.3 kB / 0.5793 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.7088, allocations: 38.03 kB / 0.5794 GB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.709, allocations: 133.2 kB / 0.5795 GB, free: 4.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.7092, allocations: 62.48 kB / 0.5796 GB, free: 4.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.7092, allocations: 3.953 kB / 0.5796 GB, free: 4.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004581/0.7097, allocations: 204.8 kB / 0.5798 GB, free: 4.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7097, allocations: 12.06 kB / 0.5798 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7098, allocations: 0 / 0.5798 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.7098, allocations: 8.062 kB / 0.5798 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.7101, allocations: 51.91 kB / 0.5798 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.7102, allocations: 4 kB / 0.5798 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.7104, allocations: 23.16 kB / 0.5799 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.7105, allocations: 8 kB / 0.5799 GB, free: 4.359 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.0002225/0.7107, allocations: 155.9 kB / 0.58 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.7108, allocations: 23.77 kB / 0.58 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.7111, allocations: 113.6 kB / 0.5801 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.7111, allocations: 4 kB / 0.5801 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.7112, allocations: 0 / 0.5801 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7112, allocations: 3.984 kB / 0.5801 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.7124, allocations: 0.5783 MB / 0.5807 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7124, allocations: 4 kB / 0.5807 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.7126, allocations: 15.98 kB / 0.5807 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.7126, allocations: 7.938 kB / 0.5807 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.7126, allocations: 7.938 kB / 0.5807 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.7126, allocations: 4.312 kB / 0.5807 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.7127, allocations: 8 kB / 0.5808 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.7132, allocations: 400.1 kB / 0.5811 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7133, allocations: 99.16 kB / 0.5812 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.7134, allocations: 4 kB / 0.5812 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.7136, allocations: 3.75 kB / 0.5812 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.7136, allocations: 23.88 kB / 0.5813 GB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.7137, allocations: 7.5 kB / 0.5813 GB, free: 2.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.7139, allocations: 148.8 kB / 0.5814 GB, free: 2.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7139, allocations: 0 / 0.5814 GB, free: 2.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005266/0.7144, allocations: 59.58 kB / 0.5815 GB, free: 2.664 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.0001588/0.7146, allocations: 106.3 kB / 0.5816 GB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.715, allocations: 126.3 kB / 0.5817 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.715, allocations: 0 / 0.5817 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.7151, allocations: 46.41 kB / 0.5817 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.7155, allocations: 35.62 kB / 0.5818 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.7167, allocations: 0.5417 MB / 0.5823 GB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.7171, allocations: 0.7622 MB / 0.583 GB, free: 1.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.7172, allocations: 19.44 kB / 0.5831 GB, free: 1.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7172, allocations: 0 / 0.5831 GB, free: 1.023 MB / 378.7 MB Notification: Performance of Templates: time 0.006057/0.7233, allocations: 2.169 MB / 0.5852 GB, free: 14.88 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)