Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1817/0.1817, allocations: 38.54 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003691/0.3541, allocations: 2.225 MB / 0.5328 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.3572, allocations: 2.073 MB / 0.5348 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3573, allocations: 0.875 kB / 0.5348 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.3574, allocations: 15.67 kB / 0.5348 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3576, allocations: 38.06 kB / 0.5348 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3599, allocations: 0.8226 MB / 0.5356 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3601, allocations: 93.77 kB / 0.5357 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.3601, allocations: 10.42 kB / 0.5357 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3602, allocations: 44.08 kB / 0.5358 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.3603, allocations: 61.7 kB / 0.5358 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3604, allocations: 2.75 kB / 0.5358 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.3624, allocations: 1.568 MB / 0.5374 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.3624, allocations: 35.59 kB / 0.5374 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.3625, allocations: 38.52 kB / 0.5374 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.364, allocations: 1.337 MB / 0.5387 GB, free: 216 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.364, allocations: 0 / 0.5387 GB, free: 216 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.364, allocations: 0 / 0.5387 GB, free: 216 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.364, allocations: 1.031 kB / 0.5387 GB, free: 216 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007528/0.3648, allocations: 0.5455 MB / 0.5393 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3648, allocations: 14.3 kB / 0.5393 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.3649, allocations: 16.58 kB / 0.5393 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3651, allocations: 195.4 kB / 0.5395 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3651, allocations: 5.656 kB / 0.5395 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3651, allocations: 5.312 kB / 0.5395 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3653, allocations: 82.78 kB / 0.5396 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3653, allocations: 0 / 0.5396 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3653, allocations: 1.75 kB / 0.5396 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3653, allocations: 0 / 0.5396 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.3654, allocations: 38.19 kB / 0.5396 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.3656, allocations: 174.4 kB / 0.5398 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3657, allocations: 65.25 kB / 0.5399 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.3658, allocations: 52.27 kB / 0.5399 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.3658, allocations: 0 / 0.5399 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3658, allocations: 35.62 kB / 0.5399 GB, free: 15.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 7.71e-07/0.3658, allocations: 0 / 0.5399 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003977/0.3662, allocations: 217.9 kB / 0.5401 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.3663, allocations: 92.28 kB / 0.5402 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3664, allocations: 149.8 kB / 0.5404 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3664, allocations: 30.64 kB / 0.5404 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.3665, allocations: 101 kB / 0.5405 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.3666, allocations: 48.69 kB / 0.5405 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3666, allocations: 26.02 kB / 0.5406 GB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3668, allocations: 322.9 kB / 0.5409 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.3668, allocations: 46.44 kB / 0.5409 GB, free: 14.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.3669, allocations: 34.48 kB / 0.541 GB, free: 14.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3671, allocations: 176.3 kB / 0.5411 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3671, allocations: 3.938 kB / 0.5411 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002286/0.3673, allocations: 182.7 kB / 0.5413 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.3674, allocations: 48.59 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3674, allocations: 4 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3674, allocations: 0 / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.3674, allocations: 1.219 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3674, allocations: 0 / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3675, allocations: 7.859 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3675, allocations: 3.75 kB / 0.5414 GB, free: 13.91 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.00015/0.3676, allocations: 173.9 kB / 0.5415 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3677, allocations: 18.38 kB / 0.5415 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.3677, allocations: 16.95 kB / 0.5416 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3677, allocations: 0 / 0.5416 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3677, allocations: 1.406 kB / 0.5416 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3677, allocations: 0 / 0.5416 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3679, allocations: 197.6 kB / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3679, allocations: 0 / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3679, allocations: 1.438 kB / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3679, allocations: 0 / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3679, allocations: 4.094 kB / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3679, allocations: 0 / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3679, allocations: 4 kB / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.3683, allocations: 299.1 kB / 0.542 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.3683, allocations: 88.58 kB / 0.5421 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3683, allocations: 3.375 kB / 0.5421 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.3684, allocations: 2.219 kB / 0.5421 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.3684, allocations: 2.312 kB / 0.5421 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3684, allocations: 8.422 kB / 0.5421 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.453e-05/0.3685, allocations: 124 kB / 0.5423 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 1.312 kB / 0.5423 GB, free: 13.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000989/0.3695, allocations: 328.3 kB / 0.5426 GB, free: 13.05 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.0009274/0.3704, allocations: 381.5 kB / 0.5429 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.3708, allocations: 245.1 kB / 0.5432 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3708, allocations: 4.062 kB / 0.5432 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.371, allocations: 157.2 kB / 0.5433 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3713, allocations: 21.98 kB / 0.5434 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.3719, allocations: 349.3 kB / 0.5437 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3722, allocations: 0.7157 MB / 0.5444 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.3722, allocations: 1.156 kB / 0.5444 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.3723, allocations: 8.781 kB / 0.5444 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3723, allocations: 1.094 kB / 0.5444 GB, free: 11.66 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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: 2.9546197559684515]