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 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.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.001466/0.001466, allocations: 102.8 kB / 16.92 MB, free: 6.191 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.001795/0.001795, allocations: 191.3 kB / 17.85 MB, free: 5.301 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.503/1.503, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1773/0.1773, allocations: 38.03 MB / 329.7 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 65.77 kB / 398.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 58.07 MB / 456.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.006202/0.1177, allocations: 3.433 MB / 460.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.12, allocations: 1.52 MB / 461.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1201, allocations: 11.94 kB / 461.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.121, allocations: 255 kB / 462.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.1216, allocations: 282.9 kB / 462.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.122, allocations: 119.7 kB / 462.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1223, allocations: 343 kB / 462.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.1227, allocations: 125.9 kB / 462.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1229, allocations: 147.3 kB / 463.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1231, allocations: 155.5 kB / 463.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.1232, allocations: 15.98 kB / 463.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.1237, allocations: 339.2 kB / 463.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1238, allocations: 95.77 kB / 463.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1239, allocations: 103.4 kB / 463.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.1243, allocations: 347 kB / 464.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1243, allocations: 0 / 464.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1243, allocations: 0 / 464.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1244, allocations: 0 / 464.1 MB, free: 0.7773 MB / 334.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.000664/0.125, allocations: 0.5181 MB / 464.6 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1251, allocations: 11.89 kB / 464.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.126, allocations: 108.5 kB / 464.7 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1264, allocations: 258.8 kB / 465 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1264, allocations: 12.33 kB / 465 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.1264, allocations: 24.11 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.1269, allocations: 322.3 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1269, allocations: 4 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.127, allocations: 4 kB / 465.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.127, allocations: 19.94 kB / 465.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.1275, allocations: 299.7 kB / 465.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.1292, allocations: 1.301 MB / 467 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1295, allocations: 202.4 kB / 467.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.1296, allocations: 53.69 kB / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1297, allocations: 0 / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1297, allocations: 34.56 kB / 467.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.51e-07/0.1297, allocations: 0 / 467.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002851/0.13, allocations: 141.3 kB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1302, allocations: 77.11 kB / 467.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1304, allocations: 219.9 kB / 467.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1304, allocations: 25.7 kB / 467.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1305, allocations: 167.5 kB / 467.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1305, allocations: 31.55 kB / 467.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.1306, allocations: 45.7 kB / 467.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.1308, allocations: 322.8 kB / 468.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.1309, allocations: 39.97 kB / 468.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.1312, allocations: 136.8 kB / 468.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1314, allocations: 196.7 kB / 468.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1314, allocations: 3.938 kB / 468.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002863/0.1317, allocations: 209.5 kB / 468.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1317, allocations: 11.94 kB / 468.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.1317, allocations: 4 kB / 468.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1317, allocations: 4 kB / 468.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1319, allocations: 43.97 kB / 468.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.1319, allocations: 7.938 kB / 468.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1321, allocations: 27.69 kB / 468.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1321, allocations: 8.406 kB / 468.9 MB, free: 11.52 MB / 350.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.0001257/0.1322, allocations: 161.7 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1323, allocations: 15.81 kB / 469.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.1325, allocations: 119 kB / 469.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1325, allocations: 0 / 469.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1325, allocations: 0 / 469.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1325, allocations: 7.984 kB / 469.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.1333, allocations: 0.5758 MB / 469.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1333, allocations: 4 kB / 469.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1334, allocations: 20.3 kB / 469.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1334, allocations: 8 kB / 469.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1334, allocations: 12 kB / 469.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.1334, allocations: 7.938 kB / 469.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1334, allocations: 3.938 kB / 469.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1339, allocations: 279.9 kB / 470.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.134, allocations: 92.92 kB / 470.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.134, allocations: 11.92 kB / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1341, allocations: 12 kB / 470.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1342, allocations: 4 kB / 470.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1342, allocations: 11.98 kB / 470.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1343, allocations: 157.4 kB / 470.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 470.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1347, allocations: 51.94 kB / 470.5 MB, free: 9.824 MB / 350.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.0001388/0.1349, allocations: 95.25 kB / 470.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.1353, allocations: 131.6 kB / 470.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1353, allocations: 4.312 kB / 470.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.1354, allocations: 45.3 kB / 470.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1358, allocations: 46.55 kB / 470.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.1366, allocations: 443.3 kB / 471.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.137, allocations: 0.7515 MB / 472 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1371, allocations: 45.53 kB / 472 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.1372, allocations: 15.44 kB / 472 MB, free: 8.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1372, allocations: 0 / 472 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003883/0.1411, allocations: 1.21 MB / 473.2 MB, free: 6.973 MB / 350.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)