Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001357/0.001357, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.219/1.219, allocations: 194.2 MB / 212.2 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001691/0.001691, allocations: 115.5 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1626/0.1626, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 75.88 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07474, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003694/0.07847, allocations: 3.696 MB / 457.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.08019, allocations: 1.63 MB / 459.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.08034, allocations: 11.94 kB / 459.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007156/0.08106, allocations: 247.2 kB / 459.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.08146, allocations: 267.1 kB / 459.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.08169, allocations: 111.7 kB / 459.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.08205, allocations: 0.569 MB / 460.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.08231, allocations: 130.1 kB / 460.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.0825, allocations: 139.3 kB / 460.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.0827, allocations: 167.4 kB / 460.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.08273, allocations: 12 kB / 460.9 MB, free: 9.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.08317, allocations: 395 kB / 461.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.08327, allocations: 99.73 kB / 461.4 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.08336, allocations: 99.48 kB / 461.5 MB, free: 9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.08373, allocations: 386.8 kB / 461.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.08374, allocations: 0 / 461.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.08375, allocations: 4 kB / 461.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.08376, allocations: 0 / 461.9 MB, free: 8.617 MB / 314.7 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.0005399/0.08431, allocations: 0.5142 MB / 462.4 MB, free: 8.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.08435, allocations: 12.03 kB / 462.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008375/0.08519, allocations: 100.5 kB / 462.5 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.08545, allocations: 275.6 kB / 462.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.08547, allocations: 12.38 kB / 462.8 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.08551, allocations: 20.36 kB / 462.8 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.08587, allocations: 329.6 kB / 463.2 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.08589, allocations: 0 / 463.2 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.08592, allocations: 4 kB / 463.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.08595, allocations: 23.98 kB / 463.2 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.08631, allocations: 311.7 kB / 463.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.08756, allocations: 1.256 MB / 464.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.08776, allocations: 157 kB / 464.9 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.08788, allocations: 109.7 kB / 465 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.08792, allocations: 11.98 kB / 465 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.08794, allocations: 38.44 kB / 465 MB, free: 5.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.08795, allocations: 4 kB / 465.1 MB, free: 5.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001331/0.08929, allocations: 0.6621 MB / 465.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.08934, allocations: 85.05 kB / 465.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.08948, allocations: 194.2 kB / 466 MB, free: 4.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.0895, allocations: 33.83 kB / 466 MB, free: 4.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.08956, allocations: 151.9 kB / 466.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.0896, allocations: 63.09 kB / 466.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.08966, allocations: 49.7 kB / 466.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.08971, allocations: 330.8 kB / 466.6 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.08981, allocations: 75.95 kB / 466.7 MB, free: 3.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.08994, allocations: 159.5 kB / 466.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.09018, allocations: 252.5 kB / 467.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.09019, allocations: 0 / 467.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004841/0.09067, allocations: 357.8 kB / 467.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.0907, allocations: 4 kB / 467.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.09071, allocations: 4 kB / 467.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.09105, allocations: 100.8 kB / 467.5 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.09119, allocations: 35.92 kB / 467.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.09299, allocations: 1.955 MB / 469.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.09313, allocations: 11.98 kB / 469.5 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.09315, allocations: 8 kB / 469.5 MB, free: 460 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.09327, allocations: 161.7 kB / 469.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.09331, allocations: 15.81 kB / 469.7 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.09385, allocations: 320.2 kB / 470 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.09386, allocations: 3.938 kB / 470 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.09387, allocations: 0 / 470 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.09388, allocations: 7.984 kB / 470 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.09498, allocations: 0.7424 MB / 470.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.095, allocations: 8.125 kB / 470.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.09511, allocations: 23.98 kB / 470.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.09537, allocations: 76.78 kB / 470.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.0954, allocations: 4 kB / 470.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.09738, allocations: 1.83 MB / 472.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.0974, allocations: 0 / 472.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.09837, allocations: 1.083 MB / 473.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.09847, allocations: 96.84 kB / 473.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.0985, allocations: 4 kB / 473.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.09863, allocations: 15.92 kB / 473.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.09868, allocations: 15.98 kB / 473.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.0987, allocations: 4 kB / 473.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.09882, allocations: 143.2 kB / 474.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09882, allocations: 0 / 474.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.09936, allocations: 68 kB / 474.1 MB, free: 11.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.924e-05/0.09947, allocations: 103.2 kB / 474.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.1001, allocations: 374.7 kB / 474.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1001, allocations: 0 / 474.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.1005, allocations: 259.1 kB / 474.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1009, allocations: 40.05 kB / 474.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.1018, allocations: 0.7474 MB / 475.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1021, allocations: 0.7638 MB / 476.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1022, allocations: 41.52 kB / 476.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1022, allocations: 19.42 kB / 476.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1022, allocations: 4 kB / 476.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of Templates: time 0.005324/0.1076, allocations: 2.899 MB / 479.4 MB, free: 6.191 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)