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.0008144/0.0008145, allocations: 88.25 kB / 16.65 MB, free: 6.59 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.0009536/0.0009535, allocations: 185.7 kB / 17.57 MB, free: 6.199 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.489/1.489, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.169/0.169, allocations: 38.05 MB / 310.1 MB, free: 5.902 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.0005075/0.0005076, allocations: 20 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003348/0.2666, allocations: 3.342 MB / 436.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2682, allocations: 1.61 MB / 438.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2684, allocations: 11.94 kB / 438.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.2685, allocations: 31.77 kB / 438.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.269, allocations: 271.1 kB / 438.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.2693, allocations: 107.8 kB / 438.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2697, allocations: 0.5767 MB / 439.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005284/0.2702, allocations: 326.8 kB / 439.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2704, allocations: 119.4 kB / 439.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.2706, allocations: 163.5 kB / 440 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2707, allocations: 8 kB / 440 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.2713, allocations: 391.1 kB / 440.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2714, allocations: 99.69 kB / 440.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2715, allocations: 121.2 kB / 440.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.2719, allocations: 374.8 kB / 441 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2719, allocations: 4 kB / 441 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2719, allocations: 0 / 441 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2719, allocations: 0 / 441 MB, free: 11.11 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.0005812/0.2725, allocations: 486.7 kB / 441.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2725, allocations: 8.031 kB / 441.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/0.2734, allocations: 104.5 kB / 441.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2737, allocations: 263.8 kB / 441.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2737, allocations: 16.31 kB / 441.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.2738, allocations: 16.38 kB / 441.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.2742, allocations: 333.8 kB / 442.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2742, allocations: 0 / 442.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2742, allocations: 7.938 kB / 442.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.2743, allocations: 27.88 kB / 442.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.2747, allocations: 307.7 kB / 442.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2759, allocations: 1.26 MB / 443.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.2761, allocations: 172.9 kB / 444 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2763, allocations: 105.7 kB / 444.1 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2763, allocations: 4 kB / 444.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2763, allocations: 34.56 kB / 444.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.2763, allocations: 0 / 444.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001319/0.2777, allocations: 0.6665 MB / 444.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2777, allocations: 88.98 kB / 444.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2778, allocations: 194.2 kB / 445.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2779, allocations: 29.7 kB / 445.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2779, allocations: 156 kB / 445.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.278, allocations: 67.08 kB / 445.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.278, allocations: 21.72 kB / 445.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.2781, allocations: 334.8 kB / 445.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.2782, allocations: 75.95 kB / 445.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2783, allocations: 152.5 kB / 445.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.2786, allocations: 252.4 kB / 446.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2786, allocations: 0 / 446.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004829/0.2791, allocations: 360.7 kB / 446.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2791, allocations: 7.938 kB / 446.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2791, allocations: 7.984 kB / 446.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.2794, allocations: 92.77 kB / 446.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2796, allocations: 39.92 kB / 446.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2813, allocations: 1.939 MB / 448.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2814, allocations: 11.98 kB / 448.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2814, allocations: 12.06 kB / 448.6 MB, free: 3.004 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 (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.0001057/0.2816, allocations: 165.6 kB / 448.7 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2816, allocations: 19.72 kB / 448.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.2821, allocations: 320.6 kB / 449.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2821, allocations: 0 / 449.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2821, allocations: 11.98 kB / 449.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2821, allocations: 0 / 449.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.283, allocations: 0.7309 MB / 449.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.283, allocations: 4 kB / 449.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.2831, allocations: 32.11 kB / 449.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.2833, allocations: 80.78 kB / 449.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2834, allocations: 4 kB / 449.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.2848, allocations: 1.822 MB / 451.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2848, allocations: 0 / 451.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.2853, allocations: 416.2 kB / 452.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.2854, allocations: 96.86 kB / 452.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.2854, allocations: 0 / 452.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2855, allocations: 15.98 kB / 452.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2856, allocations: 19.92 kB / 452.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2856, allocations: 4 kB / 452.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.2857, allocations: 144.1 kB / 452.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2857, allocations: 4 kB / 452.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000419/0.2862, allocations: 68 kB / 452.5 MB, free: 14.8 MB / 334.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 (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 0.0001014/0.2863, allocations: 107.2 kB / 452.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.2869, allocations: 374.2 kB / 453 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2869, allocations: 0 / 453 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.2873, allocations: 263.1 kB / 453.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.2877, allocations: 37.06 kB / 453.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.2885, allocations: 0.5917 MB / 453.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2888, allocations: 0.7638 MB / 454.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2889, allocations: 41.52 kB / 454.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.289, allocations: 27.38 kB / 454.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.114e-06/0.289, allocations: 0 / 454.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005356/0.2944, allocations: 2.689 MB / 457.4 MB, free: 9.855 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: