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.001114/0.001114, allocations: 77.88 kB / 21.42 MB, free: 3.082 MB / 18.57 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.001045/0.001045, allocations: 170.5 kB / 24.82 MB, free: 8.957 MB / 18.57 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.9762/0.9762, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.2375/0.2375, allocations: 29.42 MB / 291.2 MB, free: 2.457 MB / 266.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.413e-06/1.413e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.537e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003392/0.003407, allocations: 3.735 MB / 373.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.005153, allocations: 1.585 MB / 375.4 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.005275, allocations: 15.88 kB / 375.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.005806, allocations: 242.9 kB / 375.7 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.006203, allocations: 298.5 kB / 376 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.006435, allocations: 183.2 kB / 376.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.006767, allocations: 458.8 kB / 376.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.00699, allocations: 161.9 kB / 376.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.007599, allocations: 271.2 kB / 377 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.007794, allocations: 171.5 kB / 377.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.007827, allocations: 32 kB / 377.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.008136, allocations: 331.1 kB / 377.5 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.008226, allocations: 135.6 kB / 377.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.008299, allocations: 99.75 kB / 377.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.008718, allocations: 466.5 kB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008719, allocations: 0 / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00872, allocations: 0 / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.008724, allocations: 0 / 378.2 MB, free: 2.594 MB / 346.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.0005326/0.009256, allocations: 0.6942 MB / 378.9 MB, free: 1.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.009286, allocations: 11.98 kB / 378.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.009673, allocations: 128.5 kB / 379.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.009919, allocations: 275.5 kB / 379.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.009932, allocations: 12.75 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.009956, allocations: 20.38 kB / 379.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01021, allocations: 287.8 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.01022, allocations: 3.938 kB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01023, allocations: 8 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.01025, allocations: 24.36 kB / 379.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.01044, allocations: 180.3 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.01134, allocations: 1.421 MB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.01163, allocations: 234.2 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.01169, allocations: 58.47 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.0117, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01184, allocations: 156 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.01184, allocations: 0 / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002933/0.01214, allocations: 237.2 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.01218, allocations: 136.5 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.01236, allocations: 330.4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01238, allocations: 37.7 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01248, allocations: 239 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.01252, allocations: 83.34 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.0126, allocations: 67.58 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01271, allocations: 0.5156 MB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.01276, allocations: 32.53 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.01286, allocations: 186.9 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.01301, allocations: 207.5 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01302, allocations: 3.984 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000407/0.01342, allocations: 253.1 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01343, allocations: 10.66 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01344, allocations: 4 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.01345, allocations: 4 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01359, allocations: 67.89 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.0136, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.01366, allocations: 23.84 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01368, allocations: 8 kB / 384.1 MB, free: 12.27 MB / 362.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 8.736e-05/0.01376, allocations: 188.5 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.0138, allocations: 35.86 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.01408, allocations: 279.9 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01408, allocations: 4 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01408, allocations: 0 / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01409, allocations: 7.984 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.01455, allocations: 0.5957 MB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01455, allocations: 0 / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.01465, allocations: 51.97 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01466, allocations: 4 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01467, allocations: 12 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01467, allocations: 3.938 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.01467, allocations: 7.984 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.01494, allocations: 413.5 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01496, allocations: 35.7 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.01499, allocations: 16 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.01506, allocations: 7.984 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.01509, allocations: 23.95 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01511, allocations: 12 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.0152, allocations: 222.9 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0152, allocations: 4 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01545, allocations: 99.81 kB / 386.1 MB, free: 10.19 MB / 362.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.0008673/0.01632, allocations: 497 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.0165, allocations: 164.1 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01651, allocations: 0 / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.01659, allocations: 87.5 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01684, allocations: 68.98 kB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.01764, allocations: 0.577 MB / 387.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.01771, allocations: 118 kB / 387.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.115e-05/0.0178, allocations: 62.92 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01793, allocations: 134.2 kB / 387.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01793, allocations: 0 / 387.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of Templates: time 0.005936/0.02387, allocations: 4.848 MB / 392.6 MB, free: 3.832 MB / 362.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: 3.030052233953029]