Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 112.4 kB / 17.68 MB, free: 5.355 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.001255/0.001256, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1756/0.1756, allocations: 37.97 MB / 309.8 MB, free: 5.977 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.00164/0.001641, allocations: 59.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 55.25 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004747/0.2532, allocations: 4.422 MB / 436.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.255, allocations: 1.473 MB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.2551, allocations: 11.94 kB / 437.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.2561, allocations: 390.3 kB / 438.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.2565, allocations: 246.8 kB / 438.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.2569, allocations: 239.4 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.2574, allocations: 0.5651 MB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2578, allocations: 281 kB / 439.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.258, allocations: 251 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.2584, allocations: 358.9 kB / 440.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.2584, allocations: 40 kB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.2588, allocations: 231.6 kB / 440.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.2589, allocations: 235.5 kB / 440.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2591, allocations: 258.7 kB / 441 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2597, allocations: 0.6698 MB / 441.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2597, allocations: 0 / 441.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2597, allocations: 0 / 441.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2597, allocations: 0 / 441.6 MB, free: 9.848 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001234/0.261, allocations: 0.7716 MB / 442.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.261, allocations: 19.89 kB / 442.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.2616, allocations: 84.31 kB / 442.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.2622, allocations: 431.2 kB / 442.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2623, allocations: 29.38 kB / 443 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2624, allocations: 52.02 kB / 443 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/0.2632, allocations: 0.6803 MB / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2632, allocations: 0 / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.2632, allocations: 16 kB / 443.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.2634, allocations: 56.95 kB / 443.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.2643, allocations: 0.6635 MB / 444.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.2672, allocations: 2.421 MB / 446.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.2677, allocations: 361.7 kB / 447.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.2679, allocations: 257.9 kB / 447.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.268, allocations: 4.281 kB / 447.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.268, allocations: 42.78 kB / 447.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.268, allocations: 0 / 447.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001836/0.2699, allocations: 1.479 MB / 449 MB, free: 2.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2699, allocations: 88.97 kB / 449.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2701, allocations: 282.9 kB / 449.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2702, allocations: 33.7 kB / 449.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.2703, allocations: 251.6 kB / 449.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.2703, allocations: 157.7 kB / 449.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2705, allocations: 94.16 kB / 449.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.2706, allocations: 342.8 kB / 450.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2708, allocations: 225 kB / 450.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.2711, allocations: 361.7 kB / 450.8 MB, free: 276 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.2719, allocations: 0.6279 MB / 451.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2719, allocations: 4 kB / 451.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001249/0.2732, allocations: 0.7159 MB / 452.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2732, allocations: 11.94 kB / 452.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008278/0.2741, allocations: 0.5147 MB / 452.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.2744, allocations: 85.12 kB / 452.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2748, allocations: 107.8 kB / 452.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.2766, allocations: 1.722 MB / 454.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.2769, allocations: 31.97 kB / 454.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.277, allocations: 23.98 kB / 454.6 MB, free: 12.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002638/0.2772, allocations: 213.5 kB / 454.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.2773, allocations: 43.55 kB / 454.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.2782, allocations: 0.5591 MB / 455.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.2783, allocations: 15.98 kB / 455.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2783, allocations: 0 / 455.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2783, allocations: 144 / 455.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2803, allocations: 1.196 MB / 456.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2804, allocations: 8.094 kB / 456.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.2808, allocations: 79.88 kB / 456.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2808, allocations: 4 kB / 456.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.2808, allocations: 15.98 kB / 456.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2808, allocations: 7.938 kB / 456.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2808, allocations: 0 / 456.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2821, allocations: 0.9198 MB / 457.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.2822, allocations: 112.7 kB / 457.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.2823, allocations: 12 kB / 457.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2825, allocations: 15.98 kB / 457.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.2826, allocations: 27.84 kB / 457.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.2826, allocations: 15.98 kB / 457.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.2828, allocations: 202 kB / 458 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2829, allocations: 3.938 kB / 458 MB, free: 8.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.2834, allocations: 120 kB / 458.2 MB, free: 8.527 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0002698/0.2837, allocations: 139.1 kB / 458.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.2848, allocations: 0.669 MB / 459 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2848, allocations: 0 / 459 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.2851, allocations: 259.4 kB / 459.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.2856, allocations: 80.19 kB / 459.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2875, allocations: 1.151 MB / 460.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.2881, allocations: 0.8858 MB / 461.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.2885, allocations: 131.1 kB / 461.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2886, allocations: 35.44 kB / 461.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2886, allocations: 0 / 461.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of Templates: time 0.009727/0.2983, allocations: 4.494 MB / 466 MB, free: 0.625 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)