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.001418/0.001418, allocations: 114.8 kB / 17.69 MB, free: 5.312 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.001397/0.001397, allocations: 191 kB / 18.63 MB, free: 4.379 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.657/1.657, 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.1895/0.1895, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.0016/0.0016, allocations: 67.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3562, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.007488/0.3638, allocations: 4.22 MB / 436.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.366, allocations: 0.9714 MB / 437.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.3663, allocations: 11.94 kB / 437.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3666, allocations: 51.5 kB / 437.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.3674, allocations: 202.9 kB / 437.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3677, allocations: 95.8 kB / 437.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.3683, allocations: 482.3 kB / 438 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.3686, allocations: 155.6 kB / 438.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.3689, allocations: 215.1 kB / 438.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.3693, allocations: 247.1 kB / 438.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.3694, allocations: 24 kB / 438.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.3695, allocations: 28 kB / 438.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3696, allocations: 123.7 kB / 438.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3698, allocations: 175.1 kB / 439 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.3702, allocations: 374.6 kB / 439.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3703, allocations: 7.984 kB / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3703, allocations: 0 / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3703, allocations: 0 / 439.4 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.001418/0.3717, allocations: 0.6945 MB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3718, allocations: 11.89 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.3719, allocations: 40.47 kB / 440.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.3726, allocations: 403.1 kB / 440.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3727, allocations: 20.56 kB / 440.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.3727, allocations: 28 kB / 440.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.3733, allocations: 360.7 kB / 440.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3733, allocations: 7.984 kB / 440.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3734, allocations: 8 kB / 440.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3734, allocations: 15.94 kB / 440.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3739, allocations: 258 kB / 441.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3758, allocations: 1.438 MB / 442.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3761, allocations: 157 kB / 442.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3763, allocations: 81.73 kB / 442.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3763, allocations: 0 / 442.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.3764, allocations: 38.5 kB / 442.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.3764, allocations: 3.938 kB / 442.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001492/0.3779, allocations: 0.6782 MB / 443.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.378, allocations: 81.11 kB / 443.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3783, allocations: 300.5 kB / 443.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3784, allocations: 25.7 kB / 444 MB, free: 7.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3786, allocations: 223.5 kB / 444.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.3786, allocations: 55.2 kB / 444.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3787, allocations: 49.83 kB / 444.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3789, allocations: 338.8 kB / 444.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.379, allocations: 67.94 kB / 444.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3792, allocations: 168.8 kB / 444.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3796, allocations: 256.6 kB / 445.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3796, allocations: 8 kB / 445.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004896/0.3801, allocations: 292.8 kB / 445.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3801, allocations: 4 kB / 445.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3801, allocations: 7.938 kB / 445.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3802, allocations: 4.438 kB / 445.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3805, allocations: 63.91 kB / 445.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.3805, allocations: 15.92 kB / 445.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3807, allocations: 11.98 kB / 445.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.3808, 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.0001608/0.3809, allocations: 165.7 kB / 445.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.381, allocations: 31.64 kB / 445.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.3815, allocations: 231.5 kB / 445.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3815, allocations: 4 kB / 445.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3815, allocations: 4 kB / 445.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3815, allocations: 0 / 445.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.3823, allocations: 0.6279 MB / 446.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3824, allocations: 0 / 446.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.3826, allocations: 39.91 kB / 446.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3826, allocations: 4 kB / 446.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3827, allocations: 4 kB / 446.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3827, allocations: 0 / 446.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3827, allocations: 8.031 kB / 446.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.3832, allocations: 420.8 kB / 447 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.3833, allocations: 112.7 kB / 447.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.3834, allocations: 3.984 kB / 447.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3836, allocations: 8 kB / 447.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3837, allocations: 16.05 kB / 447.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.3837, allocations: 11.98 kB / 447.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3839, allocations: 211 kB / 447.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3839, allocations: 0 / 447.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.3844, allocations: 60 kB / 447.4 MB, free: 3.484 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 0.000114/0.3846, allocations: 95.25 kB / 447.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3849, allocations: 192.2 kB / 447.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.385, allocations: 0 / 447.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3851, allocations: 95.73 kB / 447.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.3858, allocations: 67.88 kB / 447.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3869, allocations: 0.6455 MB / 448.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3872, allocations: 0.8065 MB / 449.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.3874, allocations: 58.88 kB / 449.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.3875, allocations: 27.42 kB / 449.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3875, allocations: 0 / 449.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Templates: time 0.008006/0.3956, allocations: 2.97 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)