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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 106.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 189.3 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 75.88 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 58.05 MB / 0.5048 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.00414/0.2932, allocations: 3.597 MB / 0.5083 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2953, allocations: 1.811 MB / 0.51 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2955, allocations: 9.719 kB / 0.5101 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.2962, allocations: 231.5 kB / 0.5103 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.2967, allocations: 258 kB / 0.5105 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.2972, allocations: 218.7 kB / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.2976, allocations: 444 kB / 0.5112 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.2979, allocations: 184.9 kB / 0.5113 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2983, allocations: 200.3 kB / 0.5115 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.2985, allocations: 180.6 kB / 0.5117 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.2985, allocations: 27.09 kB / 0.5117 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.299, allocations: 316 kB / 0.512 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2991, allocations: 114 kB / 0.5121 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2993, allocations: 164.9 kB / 0.5123 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.2999, allocations: 0.5076 MB / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2999, allocations: 1.156 kB / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3, allocations: 0 / 0.5128 GB, free: 2.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3, allocations: 0 / 0.5128 GB, free: 2.676 MB / 382.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.000771/0.3007, allocations: 0.6324 MB / 0.5134 GB, free: 2.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3008, allocations: 13.27 kB / 0.5134 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.3015, allocations: 91.25 kB / 0.5135 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.302, allocations: 389.6 kB / 0.5139 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.302, allocations: 17.16 kB / 0.5139 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.302, allocations: 20.09 kB / 0.5139 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.3026, allocations: 361.1 kB / 0.5142 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3026, allocations: 1.188 kB / 0.5142 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.3026, allocations: 6.875 kB / 0.5143 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.3027, allocations: 19.03 kB / 0.5143 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.3033, allocations: 383.6 kB / 0.5146 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3048, allocations: 1.545 MB / 0.5161 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.3054, allocations: 315.1 kB / 0.5164 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3056, allocations: 105.5 kB / 0.5165 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.3056, allocations: 11.47 kB / 0.5166 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3059, allocations: 202.4 kB / 0.5168 GB, free: 15.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.3059, allocations: 0 / 0.5168 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000849/0.3068, allocations: 385 kB / 0.5171 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.3069, allocations: 132.4 kB / 0.5172 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.3073, allocations: 290.4 kB / 0.5175 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3073, allocations: 38.06 kB / 0.5176 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3074, allocations: 178.5 kB / 0.5177 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3075, allocations: 92.89 kB / 0.5178 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.3076, allocations: 57.78 kB / 0.5179 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3077, allocations: 339.6 kB / 0.5182 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.308, allocations: 104.8 kB / 0.5183 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3083, allocations: 183 kB / 0.5185 GB, free: 14.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.3088, allocations: 298.8 kB / 0.5188 GB, free: 14.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3088, allocations: 1.281 kB / 0.5188 GB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005897/0.3094, allocations: 360 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3094, allocations: 6.844 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3094, allocations: 2.906 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3095, allocations: 4.469 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3097, allocations: 66.44 kB / 0.5192 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3097, allocations: 8.219 kB / 0.5192 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3099, allocations: 31.75 kB / 0.5192 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.3099, allocations: 15.34 kB / 0.5192 GB, free: 14.28 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.0001727/0.3101, allocations: 186.6 kB / 0.5194 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.3102, allocations: 31.48 kB / 0.5194 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.3107, allocations: 314.1 kB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3108, allocations: 6.172 kB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3108, allocations: 2.094 kB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.3108, allocations: 113.7 kB / 0.5199 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3109, allocations: 12.91 kB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.311, allocations: 9.125 kB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.3111, allocations: 19 kB / 0.5199 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006463/0.3117, allocations: 0.5295 MB / 0.5204 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006464/0.3124, allocations: 0.6247 MB / 0.521 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001989/0.3126, allocations: 105 kB / 0.5211 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.3128, allocations: 218.7 kB / 0.5213 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Backend: time 3.7e-07/0.3129, allocations: 0 / 0.5213 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.315, allocations: 0.7563 MB / 0.5221 GB, free: 12.61 MB / 398.1 MB Notification: Performance of SimCode: time 0.001106/0.3161, allocations: 0.9939 MB / 0.523 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Templates: time 0.01001/0.3262, allocations: 4.944 MB / 0.5279 GB, free: 10.89 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (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)