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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006811/0.0006811, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.000769/0.000769, allocations: 182.1 kB / 17.21 MB, free: 6.336 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.355/1.355, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1625/0.1625, allocations: 38.05 MB / 309.7 MB, free: 6.035 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.0005009/0.000501, allocations: 16 kB / 376.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 56.33 MB / 432.8 MB, free: 18.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.0033/0.2474, allocations: 3.207 MB / 436 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2491, allocations: 1.514 MB / 437.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.2494, allocations: 11.94 kB / 437.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.2496, allocations: 35.7 kB / 437.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.2503, allocations: 223.1 kB / 437.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.2506, allocations: 95.75 kB / 437.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.251, allocations: 450.7 kB / 438.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.2516, allocations: 311.1 kB / 438.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.2519, allocations: 123.4 kB / 438.8 MB, free: 13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2521, allocations: 155.5 kB / 438.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2521, allocations: 8 kB / 438.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.2525, allocations: 175.5 kB / 439.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.2526, allocations: 91.75 kB / 439.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.2526, allocations: 61.64 kB / 439.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2529, allocations: 251.4 kB / 439.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2529, allocations: 7.938 kB / 439.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2529, allocations: 0 / 439.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2529, allocations: 0 / 439.5 MB, free: 12.26 MB / 318.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.0005093/0.2534, allocations: 490.5 kB / 440 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2535, allocations: 8.031 kB / 440 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.2543, allocations: 107.5 kB / 440.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2545, allocations: 258.6 kB / 440.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2546, allocations: 8 kB / 440.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.2546, allocations: 16 kB / 440.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.255, allocations: 333.6 kB / 440.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.255, allocations: 0 / 440.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.2551, allocations: 8 kB / 440.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.2551, allocations: 19.98 kB / 440.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.2555, allocations: 315.6 kB / 441 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2567, allocations: 1.264 MB / 442.3 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2569, allocations: 165 kB / 442.5 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.257, allocations: 110 kB / 442.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2571, allocations: 7.922 kB / 442.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2571, allocations: 34.56 kB / 442.6 MB, free: 8.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.2571, allocations: 4 kB / 442.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001213/0.2583, allocations: 0.6584 MB / 443.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2584, allocations: 92.95 kB / 443.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2585, allocations: 186.3 kB / 443.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2585, allocations: 33.7 kB / 443.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.2586, allocations: 152 kB / 443.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.2586, allocations: 63.09 kB / 443.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.2587, allocations: 8 kB / 443.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.2587, allocations: 330.8 kB / 444.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/0.2588, allocations: 75.95 kB / 444.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2589, allocations: 152.5 kB / 444.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2591, allocations: 91.97 kB / 444.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2591, allocations: 11.92 kB / 444.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004691/0.2595, allocations: 353.1 kB / 444.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2596, allocations: 8 kB / 444.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2596, allocations: 3.984 kB / 444.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.2599, allocations: 96.98 kB / 444.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.26, allocations: 43.92 kB / 444.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.2618, allocations: 1.939 MB / 446.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2619, allocations: 15.98 kB / 446.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.262, allocations: 12 kB / 446.9 MB, free: 4.367 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.2621, allocations: 153.8 kB / 447.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2621, allocations: 23.67 kB / 447.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.2626, allocations: 316.6 kB / 447.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2626, allocations: 4 kB / 447.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.2626, allocations: 0 / 447.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2627, allocations: 3.953 kB / 447.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.2635, allocations: 0.7387 MB / 448.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2635, allocations: 7.984 kB / 448.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.2636, allocations: 31.92 kB / 448.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.2639, allocations: 72.78 kB / 448.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2639, allocations: 8 kB / 448.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.2652, allocations: 1.83 MB / 450.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2652, allocations: 0 / 450.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.2656, allocations: 410.7 kB / 450.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.2657, allocations: 96.91 kB / 450.6 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2657, allocations: 4 kB / 450.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2658, allocations: 4 kB / 450.6 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.2658, allocations: 23.92 kB / 450.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2659, allocations: 4 kB / 450.6 MB, free: 400 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.113e-05/0.266, allocations: 148.1 kB / 450.8 MB, free: 252 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.266, allocations: 4 kB / 450.8 MB, free: 248 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.2664, allocations: 64 kB / 450.8 MB, free: 184 kB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 8.954e-05/0.2665, allocations: 103.2 kB / 450.9 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.2671, allocations: 378.6 kB / 451.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2671, allocations: 0 / 451.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.2675, allocations: 256 kB / 451.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2679, allocations: 34.67 kB / 451.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.2687, allocations: 0.5571 MB / 452.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.269, allocations: 0.7717 MB / 452.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.2691, allocations: 37.52 kB / 453 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.2691, allocations: 23.42 kB / 453 MB, free: 13.96 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2692, allocations: 0 / 453 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Templates: time 0.005533/0.2747, allocations: 2.631 MB / 455.6 MB, free: 11.33 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: