Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 216.6 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.632/1.632, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1879/0.1879, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004232/0.3604, allocations: 2.24 MB / 0.5446 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3623, allocations: 1.02 MB / 0.5456 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3624, allocations: 1.375 kB / 0.5456 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3625, allocations: 17.28 kB / 0.5456 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3627, allocations: 53.17 kB / 0.5457 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3638, allocations: 333 kB / 0.546 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3639, allocations: 116 kB / 0.5461 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.364, allocations: 6.297 kB / 0.5461 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3642, allocations: 59.88 kB / 0.5462 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3643, allocations: 72.5 kB / 0.5463 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3643, allocations: 2 kB / 0.5463 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.3653, allocations: 0.5598 MB / 0.5468 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.3654, allocations: 34.2 kB / 0.5468 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.3654, allocations: 38.81 kB / 0.5469 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.3661, allocations: 0.5284 MB / 0.5474 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3661, allocations: 0 / 0.5474 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3661, allocations: 0 / 0.5474 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3662, allocations: 3.938 kB / 0.5474 GB, free: 12.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005827/0.3667, allocations: 404.9 kB / 0.5478 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3668, allocations: 9.406 kB / 0.5478 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.3668, allocations: 10.2 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.367, allocations: 133.6 kB / 0.5479 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3671, allocations: 1.438 kB / 0.5479 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3671, allocations: 10.12 kB / 0.5479 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3673, allocations: 152.6 kB / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3673, allocations: 1.094 kB / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3673, allocations: 1.094 kB / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3673, allocations: 0 / 0.5481 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3675, allocations: 117.1 kB / 0.5482 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.3677, allocations: 123.3 kB / 0.5483 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3678, allocations: 131.5 kB / 0.5484 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.368, allocations: 126.1 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.368, allocations: 0 / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.368, allocations: 35.81 kB / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.368, allocations: 4 kB / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006761/0.3687, allocations: 423.5 kB / 0.549 GB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.3688, allocations: 92.75 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3689, allocations: 132.9 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3689, allocations: 27.11 kB / 0.5492 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.369, allocations: 91.19 kB / 0.5493 GB, free: 11.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/0.3691, allocations: 70.56 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3692, allocations: 29.3 kB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3693, allocations: 322.6 kB / 0.5497 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3695, allocations: 116.8 kB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3696, allocations: 123.7 kB / 0.55 GB, free: 10.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.3699, allocations: 259.6 kB / 0.5502 GB, free: 10.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3699, allocations: 1.5 kB / 0.5502 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003733/0.3703, allocations: 297.9 kB / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.3704, allocations: 51.98 kB / 0.5505 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3704, allocations: 1.156 kB / 0.5505 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3704, allocations: 0 / 0.5505 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3704, allocations: 0 / 0.5505 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3704, allocations: 5.266 kB / 0.5505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.3705, allocations: 17.27 kB / 0.5506 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.3705, allocations: 5.281 kB / 0.5506 GB, free: 10.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001658/0.3707, allocations: 184.5 kB / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3707, allocations: 20.72 kB / 0.5508 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.3707, allocations: 11.38 kB / 0.5508 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3707, allocations: 3.984 kB / 0.5508 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3707, allocations: 5.188 kB / 0.5508 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3707, allocations: 0 / 0.5508 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3709, allocations: 127.2 kB / 0.5509 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3709, allocations: 5.078 kB / 0.5509 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3709, allocations: 0 / 0.5509 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3709, allocations: 5.156 kB / 0.5509 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3709, allocations: 8.406 kB / 0.5509 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3709, allocations: 0 / 0.5509 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3709, allocations: 1.062 kB / 0.5509 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.3715, allocations: 456.7 kB / 0.5514 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3715, allocations: 19.19 kB / 0.5514 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3716, allocations: 4.5 kB / 0.5514 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.3716, allocations: 3.938 kB / 0.5514 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3716, allocations: 6.219 kB / 0.5514 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3717, allocations: 9.531 kB / 0.5514 GB, free: 9.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.105e-05/0.3717, allocations: 105.7 kB / 0.5515 GB, free: 9.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3717, allocations: 0 / 0.5515 GB, free: 9.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.3723, allocations: 135.8 kB / 0.5516 GB, free: 9.477 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004769/0.3728, allocations: 189.7 kB / 0.5518 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.3734, allocations: 438.9 kB / 0.5522 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3734, allocations: 0 / 0.5522 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.3737, allocations: 259.4 kB / 0.5525 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3739, allocations: 18.17 kB / 0.5525 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.3746, allocations: 471.4 kB / 0.5529 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3747, allocations: 100.1 kB / 0.553 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.3748, allocations: 1.312 kB / 0.553 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.3748, allocations: 12.81 kB / 0.5531 GB, free: 8.523 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3748, allocations: 0 / 0.5531 GB, free: 8.523 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.271557930856943] Failed to read output from testmodel.py, exit status != 0: 0.3929100017994642 0.40774624600000003 0.038288024000000004 Calling exit ...