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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 194.9 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 251.4 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1803/0.1803, allocations: 38.51 MB / 345 MB, free: 2.625 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 482.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 61.24 MB / 0.5309 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004543/0.3107, allocations: 3.683 MB / 0.5345 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3129, allocations: 1.822 MB / 0.5363 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.313, allocations: 9.438 kB / 0.5363 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.3137, allocations: 241.1 kB / 0.5365 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.3142, allocations: 266.4 kB / 0.5368 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.3146, allocations: 210.1 kB / 0.537 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.315, allocations: 440.5 kB / 0.5374 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.3153, allocations: 153.4 kB / 0.5376 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.3156, allocations: 190 kB / 0.5377 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.3158, allocations: 192.3 kB / 0.5379 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.3158, allocations: 26.72 kB / 0.538 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.3163, allocations: 328.8 kB / 0.5383 GB, free: 444 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.3164, allocations: 123.5 kB / 0.5384 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3165, allocations: 148.5 kB / 0.5385 GB, free: 252 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.317, allocations: 0.5165 MB / 0.539 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3171, allocations: 0 / 0.539 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3171, allocations: 0 / 0.539 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3171, allocations: 3.938 kB / 0.539 GB, free: 15.91 MB / 398.1 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.0009514/0.318, allocations: 0.638 MB / 0.5397 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.318, allocations: 18.14 kB / 0.5397 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.3188, allocations: 89.41 kB / 0.5398 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.3194, allocations: 370.2 kB / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3194, allocations: 12.66 kB / 0.5401 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.3194, allocations: 27.47 kB / 0.5402 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.32, allocations: 357.1 kB / 0.5405 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.32, allocations: 3.938 kB / 0.5405 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3201, allocations: 10.25 kB / 0.5405 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.3201, allocations: 17.59 kB / 0.5405 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.3207, allocations: 390.2 kB / 0.5409 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3226, allocations: 1.546 MB / 0.5424 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.3233, allocations: 298.5 kB / 0.5427 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.3234, allocations: 96.64 kB / 0.5428 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3235, allocations: 13.91 kB / 0.5428 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.3238, allocations: 199.4 kB / 0.543 GB, free: 12.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3238, allocations: 0 / 0.543 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007634/0.3246, allocations: 380.3 kB / 0.5434 GB, free: 12.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3247, allocations: 141 kB / 0.5435 GB, free: 12.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.325, allocations: 288 kB / 0.5438 GB, free: 12.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.325, allocations: 36.33 kB / 0.5438 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3252, allocations: 180.6 kB / 0.544 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.3253, allocations: 88.58 kB / 0.5441 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.3254, allocations: 60.61 kB / 0.5441 GB, free: 11.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3255, allocations: 342 kB / 0.5444 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.3257, allocations: 97.36 kB / 0.5445 GB, free: 11.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.326, allocations: 186.6 kB / 0.5447 GB, free: 11.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.3264, allocations: 305.8 kB / 0.545 GB, free: 11.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3264, allocations: 0 / 0.545 GB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006078/0.327, allocations: 354.1 kB / 0.5453 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.327, allocations: 6.125 kB / 0.5453 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3271, allocations: 6.453 kB / 0.5453 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3271, allocations: 4.531 kB / 0.5454 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.3273, allocations: 73.17 kB / 0.5454 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3273, allocations: 3.625 kB / 0.5454 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3275, allocations: 28.06 kB / 0.5455 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3275, allocations: 10.56 kB / 0.5455 GB, free: 10.84 MB / 398.1 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.0002012/0.3277, allocations: 182.6 kB / 0.5456 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.3278, allocations: 29.81 kB / 0.5457 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.3284, allocations: 342.1 kB / 0.546 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3284, allocations: 7.406 kB / 0.546 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3284, allocations: 1.312 kB / 0.546 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3284, allocations: 3.938 kB / 0.546 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3295, allocations: 0.7392 MB / 0.5467 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3295, allocations: 4 kB / 0.5467 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3296, allocations: 42.03 kB / 0.5468 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3296, allocations: 6.125 kB / 0.5468 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3297, allocations: 7.219 kB / 0.5468 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3297, allocations: 1.969 kB / 0.5468 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3297, allocations: 4.844 kB / 0.5468 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.3302, allocations: 414.2 kB / 0.5472 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.3303, allocations: 100.8 kB / 0.5473 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.3304, allocations: 20.55 kB / 0.5473 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3305, allocations: 3.469 kB / 0.5473 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.3306, allocations: 25.12 kB / 0.5473 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3306, allocations: 7.812 kB / 0.5473 GB, free: 9.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.3308, allocations: 218.5 kB / 0.5475 GB, free: 9.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3309, allocations: 3.938 kB / 0.5475 GB, free: 9.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.3313, allocations: 73.17 kB / 0.5476 GB, free: 9.309 MB / 398.1 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 (25): * Single equations (assignments): 22 * 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.001613/0.3329, allocations: 461.7 kB / 0.5481 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.3333, allocations: 237.4 kB / 0.5483 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3333, allocations: 4 kB / 0.5483 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3335, allocations: 109.9 kB / 0.5484 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.334, allocations: 67.31 kB / 0.5485 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3351, allocations: 0.6432 MB / 0.5491 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3355, allocations: 0.7915 MB / 0.5499 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3356, allocations: 41.08 kB / 0.5499 GB, free: 7.676 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3356, allocations: 0 / 0.5499 GB, free: 7.676 MB / 398.1 MB Notification: Performance of Templates: time 0.00764/0.3433, allocations: 4.55 MB / 0.5543 GB, free: 4.336 MB / 398.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480]