Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006964/0.0006964, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009547/0.001651, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007077/0.0007077, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009565/0.001664, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9763/0.9763, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0846/1.061, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1152/0.1152, allocations: 29.44 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1056/0.2208, allocations: 9.52 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 1.406 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.45e-05, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005864/0.005888, allocations: 3.849 MB / 288.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.008686, allocations: 1.646 MB / 289.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.008866, allocations: 10.81 kB / 289.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008132/0.00968, allocations: 285.3 kB / 290.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007246/0.0104, allocations: 316.2 kB / 290.5 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.01088, allocations: 182.4 kB / 290.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.0115, allocations: 463.7 kB / 291.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.01185, allocations: 159.4 kB / 291.3 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.01242, allocations: 310.2 kB / 291.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.01276, allocations: 179 kB / 291.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.01281, allocations: 30.25 kB / 291.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.01345, allocations: 328.2 kB / 292.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01359, allocations: 111.3 kB / 292.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01371, allocations: 83.72 kB / 292.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.01447, allocations: 443.4 kB / 292.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.01448, allocations: 1.094 kB / 292.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01448, allocations: 0 / 292.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.0145, allocations: 0 / 292.7 MB, free: 5.895 MB / 282.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.001115/0.01561, allocations: 0.6374 MB / 293.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01565, allocations: 12.47 kB / 293.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.01641, allocations: 203.8 kB / 293.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.01683, allocations: 261.3 kB / 293.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.01686, allocations: 16.02 kB / 293.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.0169, allocations: 16.62 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.01733, allocations: 278.8 kB / 294.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01735, allocations: 7.875 kB / 294.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01737, allocations: 7.281 kB / 294.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.01741, allocations: 14.98 kB / 294.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.01772, allocations: 168.6 kB / 294.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.01902, allocations: 1.038 MB / 295.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.01946, allocations: 250.6 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.01954, allocations: 41.7 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.01955, allocations: 4 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.01977, allocations: 154.9 kB / 295.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.01978, allocations: 0 / 295.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003332/0.02011, allocations: 153.1 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.02016, allocations: 115.1 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.02043, allocations: 272.6 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.02046, allocations: 33.7 kB / 296.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.02056, allocations: 160.7 kB / 296.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.02063, allocations: 83.3 kB / 296.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.02072, allocations: 57.89 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.02084, allocations: 346.7 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.02092, allocations: 35.38 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.02105, allocations: 137.7 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.02127, allocations: 179.4 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02127, allocations: 0 / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002923/0.02157, allocations: 184.1 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.02159, allocations: 9.562 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02159, allocations: 0 / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.02161, allocations: 4 kB / 297.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.02191, allocations: 71.89 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.02192, allocations: 11.88 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.02205, allocations: 27.83 kB / 297.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.02208, allocations: 12.3 kB / 297.7 MB, free: 1.047 MB / 282.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 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.02219, allocations: 135.2 kB / 297.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.02225, allocations: 31.95 kB / 297.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.02259, allocations: 192.1 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.02259, allocations: 8 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0226, allocations: 3.938 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.02261, allocations: 3.984 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.02286, allocations: 193.5 kB / 298.2 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02286, allocations: 0 / 298.2 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.0231, allocations: 75.91 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.02314, allocations: 31.73 kB / 298.3 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.02314, allocations: 4 kB / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.02317, allocations: 8 kB / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.02317, allocations: 0 / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.02317, allocations: 3.938 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.02344, allocations: 206 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.02349, allocations: 8 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.02358, allocations: 11.98 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.02363, allocations: 23.91 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.02366, allocations: 23.92 kB / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.02379, allocations: 107.5 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02379, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.02419, allocations: 103.8 kB / 298.8 MB, free: 15.83 MB / 298.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 ($whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled,system.initime) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002028/0.02622, allocations: 0.7061 MB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.02649, allocations: 141.4 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.0265, allocations: 8 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.02668, allocations: 109.8 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.02712, allocations: 376.7 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.03196, allocations: 0.5782 MB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.588e-05/0.03202, allocations: 114 kB / 300.8 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.03213, allocations: 58.92 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.03228, allocations: 111.3 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03228, allocations: 0 / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Templates: time 0.006804/0.03909, allocations: 5.031 MB / 306 MB, free: 8.984 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7981374179944396]