Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.CityTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002573/0.002578, allocations: 364.5 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.597/3.597, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00353/0.00353, allocations: 237.6 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7289/0.7289, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004499, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.0885, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5254, allocations: 89.33 MB / 0.7615 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002264/0.5277, allocations: 0.853 MB / 0.7623 GB, free: 81.62 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.05087/0.5786, allocations: 14.45 MB / 0.7764 GB, free: 80.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5786, allocations: 0 / 0.7764 GB, free: 80.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.5787, allocations: 9.156 kB / 0.7764 GB, free: 80.36 MB / 442.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.001185/0.5799, allocations: 0.6597 MB / 0.7771 GB, free: 79.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5799, allocations: 7.812 kB / 0.7771 GB, free: 79.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.5812, allocations: 103 kB / 0.7772 GB, free: 79.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.5819, allocations: 352.9 kB / 0.7775 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.5819, allocations: 11.69 kB / 0.7775 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.582, allocations: 26.53 kB / 0.7775 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.5828, allocations: 363.6 kB / 0.7779 GB, free: 79.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5828, allocations: 13.67 kB / 0.7779 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.5829, allocations: 7.812 kB / 0.7779 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.5829, allocations: 11.91 kB / 0.7779 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.584, allocations: 445.7 kB / 0.7783 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.5864, allocations: 1.628 MB / 0.7799 GB, free: 78.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5876, allocations: 361.1 kB / 0.7803 GB, free: 77.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.5879, allocations: 118.5 kB / 0.7804 GB, free: 77.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.588, allocations: 15.31 kB / 0.7804 GB, free: 77.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.5885, allocations: 209.4 kB / 0.7806 GB, free: 77.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.5885, allocations: 0 / 0.7806 GB, free: 77.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.001179/0.5897, allocations: 426.2 kB / 0.781 GB, free: 77.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5897, allocations: 135 kB / 0.7811 GB, free: 77.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.5902, allocations: 323.2 kB / 0.7814 GB, free: 77.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.5903, allocations: 34.02 kB / 0.7815 GB, free: 77.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.5904, allocations: 174.1 kB / 0.7816 GB, free: 77.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.5905, allocations: 80.28 kB / 0.7817 GB, free: 77.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.5905, allocations: 3.875 kB / 0.7817 GB, free: 77.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.5906, allocations: 349 kB / 0.7821 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.591, allocations: 122.9 kB / 0.7822 GB, free: 76.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.5913, allocations: 208.4 kB / 0.7824 GB, free: 76.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.5918, allocations: 192.6 kB / 0.7826 GB, free: 76.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5918, allocations: 0 / 0.7826 GB, free: 76.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001002/0.5928, allocations: 458.8 kB / 0.783 GB, free: 76.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.5929, allocations: 37.41 kB / 0.783 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5929, allocations: 4.188 kB / 0.783 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.5929, allocations: 7.469 kB / 0.783 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5934, allocations: 63 kB / 0.7831 GB, free: 76.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.5934, allocations: 8.062 kB / 0.7831 GB, free: 76.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.5937, allocations: 37.52 kB / 0.7831 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.5938, allocations: 19.77 kB / 0.7832 GB, free: 76.5 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.0002714/0.594, allocations: 184 kB / 0.7833 GB, free: 76.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.5941, allocations: 24.19 kB / 0.7834 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.5952, allocations: 415.5 kB / 0.7838 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.5952, allocations: 4.531 kB / 0.7838 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5952, allocations: 4.875 kB / 0.7838 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5952, allocations: 8.453 kB / 0.7838 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.5967, allocations: 0.862 MB / 0.7846 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5968, allocations: 3.875 kB / 0.7846 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.5972, allocations: 58.91 kB / 0.7847 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5972, allocations: 3.844 kB / 0.7847 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.5972, allocations: 8.781 kB / 0.7847 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5972, allocations: 4.812 kB / 0.7847 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5972, allocations: 0 / 0.7847 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.5981, allocations: 489.3 kB / 0.7852 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.5984, allocations: 160.3 kB / 0.7853 GB, free: 75.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.5985, allocations: 14.7 kB / 0.7853 GB, free: 75.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.5987, allocations: 6.656 kB / 0.7853 GB, free: 75.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.5988, allocations: 23.25 kB / 0.7854 GB, free: 75.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.5988, allocations: 19.22 kB / 0.7854 GB, free: 75.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000327/0.5992, allocations: 229.5 kB / 0.7856 GB, free: 75.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5992, allocations: 0 / 0.7856 GB, free: 75.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006849/0.5999, allocations: 102.6 kB / 0.7857 GB, free: 75.34 MB / 442.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.001335/0.6012, allocations: 483.7 kB / 0.7862 GB, free: 75.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.6021, allocations: 401.2 kB / 0.7865 GB, free: 75.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6022, allocations: 0 / 0.7865 GB, free: 75.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.6025, allocations: 152.8 kB / 0.7867 GB, free: 74.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.6032, allocations: 51.67 kB / 0.7867 GB, free: 74.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.6046, allocations: 0.7499 MB / 0.7875 GB, free: 74.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.605, allocations: 0.8103 MB / 0.7883 GB, free: 73.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.6053, allocations: 84.53 kB / 0.7883 GB, free: 73.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6055, allocations: 34.45 kB / 0.7884 GB, free: 73.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6055, allocations: 0 / 0.7884 GB, free: 73.76 MB / 442.7 MB Notification: Performance of Templates: time 0.01114/0.6167, allocations: 3.912 MB / 0.7922 GB, free: 71.92 MB / 442.7 MB