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.0009175/0.0009175, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.002121, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009151/0.0009151, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002118, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.933/0.933, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0788/1.012, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1415/0.1415, allocations: 29.43 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.142/0.2835, allocations: 9.519 MB / 282.9 MB, free: 12.84 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 1.322e-06/1.322e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.514e-05, allocations: 4.047 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003473/0.003489, allocations: 3.82 MB / 288 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.005219, allocations: 1.653 MB / 289.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.005349, allocations: 9.375 kB / 289.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.005856, allocations: 278.8 kB / 290 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.006254, allocations: 316.8 kB / 290.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.006518, allocations: 178.7 kB / 290.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.006869, allocations: 467.3 kB / 290.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.007083, allocations: 154.5 kB / 291.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.007466, allocations: 306.5 kB / 291.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.007657, allocations: 172.3 kB / 291.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.007691, allocations: 29.91 kB / 291.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.008072, allocations: 327.5 kB / 291.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.008163, allocations: 114.9 kB / 292 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.008247, allocations: 87.5 kB / 292.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.008697, allocations: 447.8 kB / 292.5 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.008711, allocations: 0 / 292.5 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008711, allocations: 0 / 292.5 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.008727, allocations: 0 / 292.5 MB, free: 5.984 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.0007903/0.009517, allocations: 0.638 MB / 293.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.009545, allocations: 8.562 kB / 293.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.009972, allocations: 200.3 kB / 293.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.01025, allocations: 264.1 kB / 293.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01027, allocations: 12.53 kB / 293.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.01029, allocations: 20.33 kB / 293.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.01056, allocations: 276.6 kB / 293.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01057, allocations: 3.938 kB / 293.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.01059, allocations: 10.17 kB / 293.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.01061, allocations: 12.78 kB / 293.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.0108, allocations: 180 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.0116, allocations: 1.027 MB / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.01189, allocations: 249.4 kB / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.01194, allocations: 45.7 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.01195, allocations: 11.98 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.0121, allocations: 147.5 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.0121, allocations: 0 / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002162/0.01232, allocations: 152.3 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.01236, allocations: 110.8 kB / 295.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01252, allocations: 276.6 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01255, allocations: 37.7 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.01261, allocations: 161 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.01265, allocations: 83.36 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.0127, allocations: 57.84 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003223/0.01303, allocations: 342.7 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.01307, allocations: 35.38 kB / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.01315, allocations: 145 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.0133, allocations: 160.4 kB / 297.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01331, allocations: 4 kB / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001713/0.01348, allocations: 179.4 kB / 297.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01349, allocations: 12.03 kB / 297.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01349, allocations: 0 / 297.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.0135, allocations: 4 kB / 297.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.0137, allocations: 75.89 kB / 297.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01371, allocations: 11.88 kB / 297.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.01378, allocations: 31.81 kB / 297.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01379, allocations: 8 kB / 297.4 MB, free: 1.195 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 7.773e-05/0.01387, allocations: 132.6 kB / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.0139, allocations: 27.97 kB / 297.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.01411, allocations: 192.1 kB / 297.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01412, allocations: 8 kB / 297.8 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01412, allocations: 3.938 kB / 297.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01413, allocations: 0 / 297.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.0145, allocations: 474.7 kB / 298.2 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01451, allocations: 0 / 298.2 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01465, allocations: 79.88 kB / 298.3 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01468, allocations: 27.75 kB / 298.4 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01468, allocations: 7.938 kB / 298.4 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01469, allocations: 12 kB / 298.4 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.0147, allocations: 3.984 kB / 298.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0147, allocations: 0 / 298.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.01489, allocations: 319 kB / 298.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.01493, allocations: 19.92 kB / 298.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.01499, allocations: 8 kB / 298.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.01503, allocations: 19.95 kB / 298.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01504, allocations: 12 kB / 298.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.01512, allocations: 107.4 kB / 298.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01512, allocations: 4 kB / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.01535, allocations: 103.8 kB / 299 MB, free: 15.59 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 (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 (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.001328/0.01668, allocations: 0.7119 MB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01685, allocations: 129.2 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.01686, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.01694, allocations: 85.28 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01718, allocations: 93 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.02091, allocations: 0.5892 MB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.02097, allocations: 114 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.02108, allocations: 50.94 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.02122, allocations: 111.3 kB / 300.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02122, allocations: 0 / 300.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of Templates: time 0.006404/0.02762, allocations: 5.026 MB / 305.9 MB, free: 9.121 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.7180663645267487]