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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001601/0.001601, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001822/0.001822, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1741/0.1741, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09084, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005095/0.09597, allocations: 3.616 MB / 491.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.09937, allocations: 1.723 MB / 493.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.09961, allocations: 7.938 kB / 493.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.1006, allocations: 246.3 kB / 493.4 MB, free: 2.719 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007915/0.1014, allocations: 255 kB / 493.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1019, allocations: 187.4 kB / 493.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.1024, allocations: 431 kB / 494.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.1029, allocations: 185.6 kB / 494.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.1033, allocations: 191.2 kB / 494.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1036, allocations: 179.4 kB / 494.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.1037, allocations: 28 kB / 494.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1043, allocations: 319.3 kB / 495.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.1044, allocations: 119.6 kB / 495.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1046, allocations: 143.3 kB / 495.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.1054, allocations: 0.518 MB / 495.9 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1054, allocations: 0 / 495.9 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1054, allocations: 0 / 495.9 MB, free: 204 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1054, allocations: 0 / 495.9 MB, free: 204 kB / 366.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.001075/0.1065, allocations: 0.6278 MB / 496.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1065, allocations: 11.89 kB / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.1074, allocations: 84.48 kB / 496.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.108, allocations: 391.6 kB / 497 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.108, allocations: 12.75 kB / 497 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.1081, allocations: 28.06 kB / 497 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.1087, allocations: 352.6 kB / 497.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1087, allocations: 0 / 497.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.1087, allocations: 16 kB / 497.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.1088, allocations: 12.38 kB / 497.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.1094, allocations: 388.8 kB / 497.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.1113, allocations: 1.539 MB / 499.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.1119, allocations: 325.1 kB / 499.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1121, allocations: 105.7 kB / 499.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1121, allocations: 4 kB / 499.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.1125, allocations: 205.5 kB / 499.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.1125, allocations: 4 kB / 499.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007278/0.1132, allocations: 381.1 kB / 0.4886 GB, free: 11.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.1133, allocations: 128.5 kB / 0.4887 GB, free: 11.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.1136, allocations: 298.9 kB / 0.489 GB, free: 11.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1136, allocations: 37.64 kB / 0.489 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1138, allocations: 180.2 kB / 0.4892 GB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1138, allocations: 82.84 kB / 0.4893 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1139, allocations: 62.23 kB / 0.4893 GB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1141, allocations: 334.8 kB / 0.4897 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.1143, allocations: 96.52 kB / 0.4898 GB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1145, allocations: 179.3 kB / 0.4899 GB, free: 10.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.115, allocations: 310 kB / 0.4902 GB, free: 9.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.115, allocations: 0 / 0.4902 GB, free: 9.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000576/0.1156, allocations: 365.1 kB / 0.4906 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1156, allocations: 8 kB / 0.4906 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1156, allocations: 3.984 kB / 0.4906 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1156, allocations: 4 kB / 0.4906 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1159, allocations: 63.91 kB / 0.4906 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.1159, allocations: 11.94 kB / 0.4907 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1161, allocations: 23.78 kB / 0.4907 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1161, allocations: 12 kB / 0.4907 GB, free: 9.191 MB / 382.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.0001794/0.1163, allocations: 189.7 kB / 0.4909 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.1164, allocations: 31.62 kB / 0.4909 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.117, allocations: 311.7 kB / 0.4912 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.117, allocations: 0 / 0.4912 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.117, allocations: 4 kB / 0.4912 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.1171, allocations: 112.6 kB / 0.4913 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.1171, allocations: 8 kB / 0.4913 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1172, allocations: 8 kB / 0.4913 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.1173, allocations: 23.91 kB / 0.4914 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006122/0.1179, allocations: 0.5344 MB / 0.4919 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006012/0.1185, allocations: 0.6102 MB / 0.4925 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001725/0.1187, allocations: 115.9 kB / 0.4926 GB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1189, allocations: 209.9 kB / 0.4928 GB, free: 6.992 MB / 382.1 MB Notification: Performance of Backend: time 9.62e-07/0.1189, allocations: 4 kB / 0.4928 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.1211, allocations: 0.7566 MB / 0.4935 GB, free: 6.223 MB / 382.1 MB Notification: Performance of SimCode: time 0.001155/0.1222, allocations: 0.9882 MB / 0.4945 GB, free: 5.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01141/0.1337, allocations: 4.934 MB / 0.4993 GB, free: 244 kB / 382.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)