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.001629/0.00163, allocations: 111.8 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.001967/0.001967, allocations: 197.6 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.41/1.41, 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.1753/0.1753, allocations: 37.97 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.001464/0.001464, allocations: 72.45 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, 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.005155/0.1129, allocations: 3.442 MB / 491.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1153, allocations: 1.567 MB / 492.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1156, allocations: 11.94 kB / 492.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009063/0.1165, allocations: 255 kB / 493 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.1172, allocations: 278.9 kB / 493.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1176, allocations: 123.7 kB / 493.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1182, allocations: 339 kB / 493.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.1185, allocations: 133.9 kB / 493.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1188, allocations: 155.3 kB / 494 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.1191, allocations: 143.5 kB / 494.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1192, allocations: 16 kB / 494.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.1198, allocations: 339.2 kB / 494.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1199, allocations: 99.75 kB / 494.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.12, allocations: 107.4 kB / 494.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.1207, allocations: 351 kB / 495.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1207, allocations: 0 / 495.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1207, allocations: 0 / 495.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1207, allocations: 4 kB / 495.1 MB, free: 1.004 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.0008197/0.1216, allocations: 0.5103 MB / 495.6 MB, free: 456 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1216, allocations: 11.89 kB / 495.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.1226, allocations: 116.5 kB / 495.7 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.123, allocations: 264.4 kB / 496 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.123, allocations: 12.38 kB / 496 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.1231, allocations: 24.16 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.1237, allocations: 330.2 kB / 496.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1237, allocations: 0 / 496.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.1237, allocations: 11.98 kB / 496.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.1238, allocations: 12 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1242, allocations: 307.7 kB / 496.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.126, allocations: 1.277 MB / 497.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.1264, allocations: 206.3 kB / 498.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.1264, allocations: 37.7 kB / 498.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1265, allocations: 3.938 kB / 498.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.1265, allocations: 46.55 kB / 498.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1265, allocations: 0 / 498.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003262/0.1269, allocations: 137.5 kB / 498.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.1269, allocations: 77.11 kB / 498.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1272, allocations: 211.7 kB / 498.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1272, allocations: 29.7 kB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1273, allocations: 171.5 kB / 498.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1274, allocations: 35.55 kB / 498.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.1274, allocations: 45.83 kB / 498.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1276, allocations: 326.8 kB / 499.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.1276, allocations: 35.97 kB / 499.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1278, allocations: 140.7 kB / 499.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.128, allocations: 193 kB / 499.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.128, allocations: 7.938 kB / 499.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002985/0.1283, allocations: 205.1 kB / 499.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1284, allocations: 8 kB / 499.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1284, allocations: 8.438 kB / 499.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1284, allocations: 8 kB / 499.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1286, allocations: 43.92 kB / 499.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1286, allocations: 7.984 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1287, allocations: 23.75 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1288, allocations: 12.05 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.0001358/0.1289, allocations: 165.6 kB / 0.4884 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1289, allocations: 15.81 kB / 0.4884 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1292, allocations: 123 kB / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1292, allocations: 0 / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1292, allocations: 0 / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1292, allocations: 0 / 0.4885 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.1299, allocations: 0.5797 MB / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.13, allocations: 4 kB / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.13, allocations: 19.98 kB / 0.4891 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1301, allocations: 4 kB / 0.4891 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1301, allocations: 7.938 kB / 0.4891 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1301, allocations: 3.938 kB / 0.4891 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1301, allocations: 4 kB / 0.4891 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1304, allocations: 292 kB / 0.4894 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1305, allocations: 96.86 kB / 0.4895 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1305, allocations: 11.94 kB / 0.4895 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1306, allocations: 7.984 kB / 0.4895 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1307, allocations: 11.94 kB / 0.4895 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1307, allocations: 8 kB / 0.4895 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1308, allocations: 153.5 kB / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1308, allocations: 192 / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1312, allocations: 44 kB / 0.4897 GB, free: 10.05 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.0001156/0.1313, allocations: 103.1 kB / 0.4898 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1316, allocations: 128.2 kB / 0.4899 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.1316, allocations: 4 kB / 0.4899 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.1317, allocations: 47.8 kB / 0.49 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1321, allocations: 36.42 kB / 0.49 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.1328, allocations: 481.8 kB / 0.4905 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1332, allocations: 0.7593 MB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1333, allocations: 19.44 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1333, allocations: 0 / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of Templates: time 0.00445/0.1377, allocations: 2.211 MB / 0.4934 GB, free: 6.184 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)