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.001188/0.001188, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.00105/0.00105, allocations: 187 kB / 18.67 MB, free: 4.41 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1812/0.1812, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001424/0.001424, allocations: 63.45 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09623, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004548/0.1008, allocations: 3.443 MB / 491.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.1029, allocations: 1.563 MB / 492.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1031, allocations: 4 kB / 492.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.1039, allocations: 270.9 kB / 493 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000577/0.1045, allocations: 271 kB / 493.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1048, allocations: 131.6 kB / 493.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.1052, allocations: 331.1 kB / 493.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.1055, allocations: 141.8 kB / 493.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1057, allocations: 155.3 kB / 494.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1059, allocations: 143.5 kB / 494.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.106, allocations: 12 kB / 494.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.1065, allocations: 335.1 kB / 494.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1066, allocations: 99.75 kB / 494.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1067, allocations: 107.5 kB / 494.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1072, allocations: 359 kB / 495.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1072, allocations: 0 / 495.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1072, allocations: 0 / 495.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1072, allocations: 3.938 kB / 495.1 MB, free: 0.9844 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.0006566/0.1079, allocations: 0.5025 MB / 495.6 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1079, allocations: 15.89 kB / 495.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.1089, allocations: 104.5 kB / 495.7 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1092, allocations: 276.3 kB / 496 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.1092, allocations: 12.42 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1093, allocations: 20.12 kB / 496 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.1098, allocations: 330.2 kB / 496.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1098, allocations: 0 / 496.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.1098, allocations: 12 kB / 496.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.1098, allocations: 15.98 kB / 496.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.1103, allocations: 303.7 kB / 496.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1119, allocations: 1.281 MB / 497.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1122, allocations: 202.5 kB / 498.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.1123, allocations: 41.7 kB / 498.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1124, allocations: 4 kB / 498.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1124, allocations: 42.48 kB / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1124, allocations: 0 / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002747/0.1127, allocations: 137.4 kB / 498.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1127, allocations: 81.05 kB / 498.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1129, allocations: 215.7 kB / 498.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.113, allocations: 25.7 kB / 498.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1131, allocations: 175.5 kB / 498.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1131, allocations: 31.55 kB / 498.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.1132, allocations: 45.7 kB / 498.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1133, allocations: 327 kB / 499.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1134, allocations: 35.98 kB / 499.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1135, allocations: 136.7 kB / 499.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1137, allocations: 200.9 kB / 499.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1137, allocations: 3.938 kB / 499.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000283/0.114, allocations: 205.1 kB / 499.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.114, allocations: 8 kB / 499.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1141, allocations: 4 kB / 499.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1141, allocations: 4.438 kB / 499.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1143, allocations: 47.92 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1143, allocations: 15.91 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1144, allocations: 23.75 kB / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1145, allocations: 8 kB / 499.9 MB, free: 11.74 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.0001328/0.1146, allocations: 161.6 kB / 0.4884 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1146, allocations: 19.8 kB / 0.4884 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.1148, allocations: 115.1 kB / 0.4885 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1149, allocations: 4 kB / 0.4885 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1149, allocations: 8 kB / 0.4885 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1149, allocations: 4 kB / 0.4885 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.1156, allocations: 0.576 MB / 0.4891 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1156, allocations: 0 / 0.4891 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.1157, allocations: 19.94 kB / 0.4891 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1157, allocations: 4 kB / 0.4891 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1157, allocations: 11.92 kB / 0.4891 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1157, allocations: 4 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1157, allocations: 3.938 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.116, allocations: 288 kB / 0.4894 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.1161, allocations: 96.86 kB / 0.4895 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1161, allocations: 11.94 kB / 0.4895 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1163, allocations: 7.984 kB / 0.4895 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1163, allocations: 8.219 kB / 0.4895 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1163, allocations: 12 kB / 0.4895 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1164, allocations: 157.5 kB / 0.4897 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1165, allocations: 0 / 0.4897 GB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1168, allocations: 48 kB / 0.4897 GB, free: 10.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001118/0.1169, allocations: 99.12 kB / 0.4898 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1172, allocations: 124.3 kB / 0.4899 GB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1172, allocations: 4.25 kB / 0.4899 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.1172, allocations: 43.86 kB / 0.49 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1177, allocations: 31.92 kB / 0.49 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.1184, allocations: 493.5 kB / 0.4905 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1188, allocations: 0.7554 MB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1189, allocations: 19.44 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1189, allocations: 0 / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of Templates: time 0.004409/0.1233, allocations: 2.234 MB / 0.4934 GB, free: 6.145 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)