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.001506/0.001505, allocations: 182.3 kB / 15.76 MB, free: 6.34 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.957/1.957, 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.001146/0.001146, allocations: 102.7 kB / 270.2 MB, free: 13.36 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.256/0.256, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004444, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6246, allocations: 95 MB / 0.5606 GB, free: 4.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.008044/0.6327, allocations: 0.8614 MB / 0.5614 GB, free: 4.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06797/0.7008, allocations: 14.99 MB / 0.5761 GB, free: 8.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7008, allocations: 0 / 0.5761 GB, free: 8.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.7009, allocations: 8 kB / 0.5761 GB, free: 8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001305/0.7022, allocations: 0.613 MB / 0.5767 GB, free: 7.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7022, allocations: 8.031 kB / 0.5767 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.7036, allocations: 107.5 kB / 0.5768 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.7045, allocations: 355.7 kB / 0.5771 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.7046, allocations: 15.42 kB / 0.5771 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.7046, allocations: 22 kB / 0.5772 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.7056, allocations: 358.6 kB / 0.5775 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.7056, allocations: 4 kB / 0.5775 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.7057, allocations: 14.8 kB / 0.5775 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.7057, allocations: 20.36 kB / 0.5775 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.7069, allocations: 432 kB / 0.578 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.7099, allocations: 1.596 MB / 0.5795 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.7111, allocations: 354.2 kB / 0.5798 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.7112, allocations: 8.812 kB / 0.5799 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.7117, allocations: 208.9 kB / 0.5801 GB, free: 4.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.805e-06/0.7117, allocations: 0 / 0.5801 GB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001292/0.713, allocations: 414.5 kB / 0.5805 GB, free: 4.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.7131, allocations: 132.5 kB / 0.5806 GB, free: 3.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.7137, allocations: 306.4 kB / 0.5809 GB, free: 3.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.7138, allocations: 32.14 kB / 0.5809 GB, free: 3.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.714, allocations: 228.5 kB / 0.5811 GB, free: 3.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.7141, allocations: 85.47 kB / 0.5812 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.7142, allocations: 6.75 kB / 0.5812 GB, free: 3.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7143, allocations: 318.5 kB / 0.5815 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.7147, allocations: 105.8 kB / 0.5816 GB, free: 2.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.7151, allocations: 193.3 kB / 0.5818 GB, free: 2.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.7155, allocations: 127.8 kB / 0.5819 GB, free: 2.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.7155, allocations: 4.031 kB / 0.5819 GB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001007/0.7165, allocations: 356.9 kB / 0.5823 GB, free: 2.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.7165, allocations: 6.812 kB / 0.5823 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.7166, allocations: 7.984 kB / 0.5823 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.7166, allocations: 4 kB / 0.5823 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.7171, allocations: 63.41 kB / 0.5823 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.7171, allocations: 11.98 kB / 0.5824 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.7174, allocations: 34.69 kB / 0.5824 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.7175, allocations: 19.2 kB / 0.5824 GB, free: 2.289 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0003178/0.7178, allocations: 176.5 kB / 0.5826 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.7179, allocations: 31.7 kB / 0.5826 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.7191, allocations: 395.5 kB / 0.583 GB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.7191, allocations: 4 kB / 0.583 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7192, allocations: 0 / 0.583 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7192, allocations: 3.984 kB / 0.583 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.721, allocations: 0.8504 MB / 0.5838 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.721, allocations: 0 / 0.5838 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.7215, allocations: 59.91 kB / 0.5839 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.7215, allocations: 3.938 kB / 0.5839 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7215, allocations: 11.38 kB / 0.5839 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.7215, allocations: 4 kB / 0.5839 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7216, allocations: 7.969 kB / 0.5839 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.7227, allocations: 487.8 kB / 0.5844 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.7228, allocations: 122.8 kB / 0.5845 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.723, allocations: 14.33 kB / 0.5845 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.7232, allocations: 10.92 kB / 0.5845 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.7233, allocations: 31.39 kB / 0.5845 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.7234, allocations: 11.25 kB / 0.5845 GB, free: 428 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004304/0.7238, allocations: 241.8 kB / 0.5848 GB, free: 240 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7238, allocations: 0 / 0.5848 GB, free: 240 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.7245, allocations: 99.08 kB / 0.5849 GB, free: 152 kB / 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) * 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.001396/0.7259, allocations: 481.2 kB / 0.5853 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.7269, allocations: 277.3 kB / 0.5856 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.7269, allocations: 4.125 kB / 0.5856 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.7273, allocations: 149.1 kB / 0.5857 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.7279, allocations: 51.47 kB / 0.5858 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.7296, allocations: 0.7768 MB / 0.5865 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.7301, allocations: 0.8079 MB / 0.5873 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.7304, allocations: 38.86 kB / 0.5874 GB, free: 13.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7304, allocations: 0 / 0.5874 GB, free: 13.83 MB / 394.7 MB Notification: Performance of Templates: time 0.01177/0.7421, allocations: 4.639 MB / 0.5919 GB, free: 9.223 MB / 394.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)