Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001722/0.001722, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.54/1.54, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1786/0.1786, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.00154/0.001541, allocations: 63.89 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00468/0.2542, allocations: 4.206 MB / 436.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2555, allocations: 0.9714 MB / 437.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2556, allocations: 19.88 kB / 437.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.2558, allocations: 55.44 kB / 437.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2564, allocations: 202.9 kB / 437.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2565, allocations: 95.8 kB / 437.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.257, allocations: 478.4 kB / 438 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.2572, allocations: 155.5 kB / 438.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.2575, allocations: 219.1 kB / 438.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.2578, allocations: 235.1 kB / 438.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2579, allocations: 28 kB / 438.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.2579, allocations: 28 kB / 438.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.258, allocations: 127.7 kB / 438.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.2582, allocations: 175 kB / 439 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.2585, allocations: 376.5 kB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2585, allocations: 4 kB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2585, allocations: 4 kB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2585, allocations: 0 / 439.3 MB, free: 12.14 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001115/0.2597, allocations: 0.6984 MB / 440 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2597, allocations: 11.89 kB / 440.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.2598, allocations: 44.47 kB / 440.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.2603, allocations: 399.1 kB / 440.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2604, allocations: 20.56 kB / 440.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2604, allocations: 27.98 kB / 440.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.2608, allocations: 360.6 kB / 440.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2609, allocations: 8 kB / 440.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2609, allocations: 8 kB / 440.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2609, allocations: 8 kB / 440.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.2612, allocations: 261.9 kB / 441.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2627, allocations: 1.442 MB / 442.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.2629, allocations: 157 kB / 442.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.263, allocations: 81.73 kB / 442.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.263, allocations: 0 / 442.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2631, allocations: 38.5 kB / 442.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.2631, allocations: 4 kB / 442.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000975/0.264, allocations: 0.6741 MB / 443.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2641, allocations: 81.11 kB / 443.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.2644, allocations: 300.5 kB / 443.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2644, allocations: 25.7 kB / 444 MB, free: 7.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2645, allocations: 223.7 kB / 444.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.2645, allocations: 59.2 kB / 444.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/0.2646, allocations: 53.69 kB / 444.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.2647, allocations: 334.8 kB / 444.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.2648, allocations: 63.95 kB / 444.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2649, allocations: 164.8 kB / 444.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.2651, allocations: 268.6 kB / 445.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2651, allocations: 4 kB / 445.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003139/0.2655, allocations: 289.2 kB / 445.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2655, allocations: 8.031 kB / 445.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2655, allocations: 4 kB / 445.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2655, allocations: 4 kB / 445.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2657, allocations: 63.89 kB / 445.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2658, allocations: 4 kB / 445.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.2659, allocations: 15.98 kB / 445.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.266, allocations: 12 kB / 445.5 MB, free: 5.535 MB / 318.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 (29): * Single equations (assignments): 29 * 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.0001247/0.2661, allocations: 165.7 kB / 445.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2661, allocations: 27.66 kB / 445.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.2665, allocations: 243.4 kB / 445.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2665, allocations: 4 kB / 445.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2665, allocations: 4 kB / 445.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2665, allocations: 0 / 445.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.2671, allocations: 0.624 MB / 446.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2671, allocations: 3.938 kB / 446.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.2673, allocations: 31.98 kB / 446.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2673, allocations: 0 / 446.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2673, allocations: 12.03 kB / 446.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2673, allocations: 3.938 kB / 446.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2673, allocations: 11.92 kB / 446.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.2677, allocations: 416.9 kB / 447 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.2678, allocations: 108.8 kB / 447.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.2678, allocations: 64 / 447.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.268, allocations: 15.98 kB / 447.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.268, allocations: 11.98 kB / 447.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.268, allocations: 11.98 kB / 447.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2682, allocations: 215 kB / 447.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2682, allocations: 0 / 447.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.2685, allocations: 60 kB / 447.4 MB, free: 3.477 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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 9.441e-05/0.2686, allocations: 99.19 kB / 447.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.2689, allocations: 191.7 kB / 447.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2689, allocations: 0 / 447.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.269, allocations: 91.8 kB / 447.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.2695, allocations: 74.27 kB / 447.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.2703, allocations: 0.6411 MB / 448.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2705, allocations: 0.8065 MB / 449.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.2707, allocations: 50.94 kB / 449.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.2707, allocations: 23.44 kB / 449.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2707, allocations: 0 / 449.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Templates: time 0.005994/0.2767, allocations: 2.976 MB / 452.4 MB, free: 14.48 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)