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.001453/0.001453, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 78.64 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.276/0.276, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.403e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5274/0.6342, allocations: 94.61 MB / 0.5476 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.6346, allocations: 84.97 kB / 0.5477 GB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05257/0.6872, allocations: 14.51 MB / 0.5619 GB, free: 4.168 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6872, allocations: 0 / 0.5619 GB, free: 4.168 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.6872, allocations: 4 kB / 0.5619 GB, free: 4.164 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007825/0.688, allocations: 487.9 kB / 0.5624 GB, free: 3.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6881, allocations: 16.02 kB / 0.5624 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.6896, allocations: 115.6 kB / 0.5625 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.6901, allocations: 274.4 kB / 0.5627 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6901, allocations: 8 kB / 0.5628 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.6902, allocations: 8 kB / 0.5628 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004808/0.6907, allocations: 199.7 kB / 0.563 GB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.6912, allocations: 284.2 kB / 0.5632 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6912, allocations: 0 / 0.5632 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.6913, allocations: 3.75 kB / 0.5632 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.6913, allocations: 19.92 kB / 0.5632 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.6936, allocations: 1.294 MB / 0.5645 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.694, allocations: 209.7 kB / 0.5647 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/0.6941, allocations: 55.58 kB / 0.5648 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.6942, allocations: 0 / 0.5648 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.6942, allocations: 38.5 kB / 0.5648 GB, free: 1.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.6942, allocations: 0 / 0.5648 GB, free: 1.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003329/0.6946, allocations: 118.8 kB / 0.5649 GB, free: 1.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.6946, allocations: 81.05 kB / 0.565 GB, free: 1.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.6948, allocations: 162.1 kB / 0.5651 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.6948, allocations: 25.7 kB / 0.5652 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.6949, allocations: 235.2 kB / 0.5654 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.6949, allocations: 35.33 kB / 0.5654 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.695, allocations: 0 / 0.5654 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.695, allocations: 322.5 kB / 0.5657 GB, free: 376 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.6951, allocations: 37.98 kB / 0.5658 GB, free: 352 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.6953, allocations: 128.1 kB / 0.5659 GB, free: 196 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.6954, allocations: 57.59 kB / 0.5659 GB, free: 152 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6954, allocations: 4 kB / 0.566 GB, free: 148 kB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004012/0.6958, allocations: 185.9 kB / 0.5661 GB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6959, allocations: 4 kB / 0.5661 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6959, allocations: 4 kB / 0.5661 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.6959, allocations: 8 kB / 0.5661 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.6963, allocations: 51.84 kB / 0.5662 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6963, allocations: 4 kB / 0.5662 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6965, allocations: 16.28 kB / 0.5662 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.6965, allocations: 12 kB / 0.5662 GB, free: 15.89 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 (24): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.6967, allocations: 116.7 kB / 0.5663 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.6967, allocations: 19.77 kB / 0.5664 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.6971, allocations: 124 kB / 0.5665 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6971, allocations: 4 kB / 0.5665 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6971, allocations: 0 / 0.5665 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6971, allocations: 3.984 kB / 0.5665 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.698, allocations: 467.6 kB / 0.5669 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6981, allocations: 0 / 0.5669 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.6983, allocations: 28.02 kB / 0.567 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.6983, allocations: 7.938 kB / 0.567 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6983, allocations: 3.312 kB / 0.567 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/0.6983, allocations: 8.109 kB / 0.567 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6984, allocations: 4 kB / 0.567 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.6988, allocations: 310 kB / 0.5673 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.6989, allocations: 100.8 kB / 0.5674 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.6989, allocations: 4.109 kB / 0.5674 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.6991, allocations: 7.984 kB / 0.5674 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.6992, allocations: 7.984 kB / 0.5674 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.6992, allocations: 8 kB / 0.5674 GB, free: 14.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.6994, allocations: 133.5 kB / 0.5675 GB, free: 14.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6994, allocations: 0 / 0.5675 GB, free: 14.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000549/0.6999, allocations: 51.84 kB / 0.5676 GB, free: 14.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 12 * 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.0001705/0.7001, allocations: 111.1 kB / 0.5677 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.7004, allocations: 109.5 kB / 0.5678 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7005, allocations: 256 / 0.5678 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.7006, allocations: 46.67 kB / 0.5678 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.701, allocations: 33.7 kB / 0.5679 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.7018, allocations: 310.1 kB / 0.5682 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.7023, allocations: 0.7656 MB / 0.5689 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.7024, allocations: 19.44 kB / 0.5689 GB, free: 13.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7024, allocations: 0 / 0.5689 GB, free: 13.11 MB / 378.7 MB Notification: Performance of Templates: time 0.006072/0.7084, allocations: 2.112 MB / 0.571 GB, free: 11.01 MB / 378.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)