Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002241/0.002241, allocations: 185.2 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.15/2.15, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.001083/0.001082, allocations: 82.72 kB / 261.8 MB, free: 1.664 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.2647/0.2647, allocations: 37.99 MB / 347.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.966e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6176, allocations: 94.26 MB / 0.5473 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00198/0.6197, allocations: 0.5711 MB / 0.5479 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06319/0.6829, allocations: 14.84 MB / 0.5624 GB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.683, allocations: 0 / 0.5624 GB, free: 3.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.108e-05/0.6831, allocations: 8 kB / 0.5624 GB, free: 3.641 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009921/0.6841, allocations: 0.5609 MB / 0.5629 GB, free: 3.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6841, allocations: 12.03 kB / 0.5629 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6853, allocations: 110.6 kB / 0.563 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.6861, allocations: 350 kB / 0.5634 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.6861, allocations: 8 kB / 0.5634 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.6862, allocations: 8 kB / 0.5634 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007637/0.6869, allocations: 337.9 kB / 0.5637 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.6876, allocations: 335.1 kB / 0.564 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6876, allocations: 0 / 0.564 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.6877, allocations: 7 kB / 0.564 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.6878, allocations: 20.3 kB / 0.564 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.6903, allocations: 1.585 MB / 0.5656 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.6914, allocations: 335.8 kB / 0.5659 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.6916, allocations: 114.9 kB / 0.566 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.6917, allocations: 7.906 kB / 0.566 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.6921, allocations: 198 kB / 0.5662 GB, free: 128 kB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.056e-06/0.6921, allocations: 0 / 0.5662 GB, free: 128 kB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000866/0.693, allocations: 303.6 kB / 0.5665 GB, free: 15.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.6931, allocations: 139.4 kB / 0.5666 GB, free: 15.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.6936, allocations: 272.1 kB / 0.5669 GB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.6937, allocations: 32.58 kB / 0.5669 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.6939, allocations: 224 kB / 0.5671 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.694, allocations: 77.91 kB / 0.5672 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.694, allocations: 4 kB / 0.5672 GB, free: 15.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6942, allocations: 325.1 kB / 0.5675 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.6944, allocations: 99.67 kB / 0.5676 GB, free: 14.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.6947, allocations: 174.7 kB / 0.5678 GB, free: 14.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.6951, allocations: 133.8 kB / 0.5679 GB, free: 14.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.6951, allocations: 0 / 0.5679 GB, free: 14.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008317/0.696, allocations: 336.3 kB / 0.5682 GB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.696, allocations: 8 kB / 0.5682 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.696, allocations: 0 / 0.5682 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.6961, allocations: 7.984 kB / 0.5683 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.6966, allocations: 67.78 kB / 0.5683 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6966, allocations: 7.938 kB / 0.5683 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.6969, allocations: 19.78 kB / 0.5683 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.697, allocations: 8 kB / 0.5684 GB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001649/0.6972, allocations: 131.8 kB / 0.5685 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.6972, allocations: 27.62 kB / 0.5685 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.6983, allocations: 372.1 kB / 0.5689 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6983, allocations: 4 kB / 0.5689 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6983, allocations: 4 kB / 0.5689 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6984, allocations: 3.984 kB / 0.5689 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.7, allocations: 0.7873 MB / 0.5696 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7, allocations: 3.984 kB / 0.5696 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.7005, allocations: 55.23 kB / 0.5697 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.7005, allocations: 4 kB / 0.5697 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.7006, allocations: 11.98 kB / 0.5697 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.7006, allocations: 3.938 kB / 0.5697 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7006, allocations: 4 kB / 0.5697 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.7015, allocations: 472.4 kB / 0.5702 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.7017, allocations: 119.6 kB / 0.5703 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.7018, allocations: 7.5 kB / 0.5703 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.7021, allocations: 4 kB / 0.5703 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.7022, allocations: 35.61 kB / 0.5703 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.7022, allocations: 15.92 kB / 0.5703 GB, free: 12.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003554/0.7026, allocations: 222 kB / 0.5706 GB, free: 12.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7026, allocations: 0 / 0.5706 GB, free: 12.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006725/0.7033, allocations: 79.25 kB / 0.5706 GB, free: 12.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001224/0.7045, allocations: 402.1 kB / 0.571 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.7053, allocations: 255.2 kB / 0.5713 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7053, allocations: 0 / 0.5713 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.7056, allocations: 141 kB / 0.5714 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.7062, allocations: 51.09 kB / 0.5714 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.7076, allocations: 498.8 kB / 0.5719 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.7082, allocations: 0.8094 MB / 0.5727 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.7084, allocations: 35.42 kB / 0.5727 GB, free: 10.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7085, allocations: 4 kB / 0.5727 GB, free: 10.24 MB / 378.7 MB Notification: Performance of Templates: time 0.0122/0.7207, allocations: 4.602 MB / 0.5772 GB, free: 5.664 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1)