Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 106.5 kB / 17.74 MB, free: 5.316 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.001794/0.001794, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.357/1.357, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1728/0.1728, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001504/0.001504, allocations: 71.02 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09259, allocations: 55.24 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004986/0.09762, allocations: 3.446 MB / 491.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.09986, allocations: 1.563 MB / 492.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1001, allocations: 4 kB / 492.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.1009, allocations: 266.9 kB / 493.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.1016, allocations: 275 kB / 493.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.102, allocations: 127.7 kB / 493.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1024, allocations: 335 kB / 493.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1027, allocations: 129.9 kB / 493.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.103, allocations: 163.3 kB / 494.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1033, allocations: 143.5 kB / 494.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1033, allocations: 16 kB / 494.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.1039, allocations: 339.1 kB / 494.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.104, allocations: 91.77 kB / 494.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1042, allocations: 111.5 kB / 494.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.1048, allocations: 347 kB / 495.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1048, allocations: 4 kB / 495.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1048, allocations: 7.938 kB / 495.1 MB, free: 1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1048, allocations: 0 / 495.1 MB, free: 1 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007361/0.1055, allocations: 0.5103 MB / 495.6 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1056, allocations: 11.89 kB / 495.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.1066, allocations: 104.5 kB / 495.7 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1069, allocations: 268.4 kB / 496 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.107, allocations: 20.31 kB / 496 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.107, allocations: 20.2 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.1076, allocations: 326.2 kB / 496.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1076, allocations: 4 kB / 496.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1076, allocations: 8 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.1077, allocations: 19.92 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.1081, allocations: 299.8 kB / 496.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1099, allocations: 1.277 MB / 497.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1103, allocations: 206.2 kB / 498.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.1103, allocations: 41.77 kB / 498.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1104, allocations: 4 kB / 498.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1104, allocations: 42.62 kB / 498.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1104, allocations: 0 / 498.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002969/0.1107, allocations: 133.4 kB / 498.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.1108, allocations: 85.22 kB / 498.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.111, allocations: 211.7 kB / 498.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.111, allocations: 29.7 kB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1112, allocations: 175.5 kB / 498.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1112, allocations: 31.55 kB / 498.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.1113, allocations: 41.7 kB / 498.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1114, allocations: 330.8 kB / 499.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.1115, allocations: 35.98 kB / 499.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1116, allocations: 136.7 kB / 499.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1119, allocations: 197 kB / 499.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1119, allocations: 8.062 kB / 499.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003011/0.1122, allocations: 209 kB / 499.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1122, allocations: 8 kB / 499.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1122, allocations: 0 / 499.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1122, allocations: 8 kB / 499.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1124, allocations: 51.91 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1124, allocations: 4.438 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1126, allocations: 23.75 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1126, allocations: 12 kB / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001351/0.1127, allocations: 161.6 kB / 0.4884 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1128, allocations: 15.81 kB / 0.4884 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.113, allocations: 119 kB / 0.4885 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.113, allocations: 4 kB / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.113, allocations: 0 / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1131, allocations: 88.92 kB / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1131, allocations: 12 kB / 0.4886 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.1132, allocations: 3.984 kB / 0.4886 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1133, allocations: 7.938 kB / 0.4886 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002757/0.1135, allocations: 276.1 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002435/0.1138, allocations: 366.1 kB / 0.4892 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.343e-05/0.1139, allocations: 43.86 kB / 0.4893 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.114, allocations: 153.5 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of Backend: time 5.41e-07/0.114, allocations: 0 / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009164/0.1149, allocations: 318.4 kB / 0.4897 GB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009122/0.1159, allocations: 0.8321 MB / 0.4905 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Templates: time 0.006227/0.1221, allocations: 2.678 MB / 0.4931 GB, free: 6.594 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)