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.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.002316/0.002316, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002887/0.002887, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.636/1.636, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2027/0.2027, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.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: 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.002157/0.002157, allocations: 66.38 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3834, allocations: 62.48 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003729/0.3871, allocations: 2.223 MB / 0.5446 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.3905, allocations: 1.903 MB / 0.5465 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3906, allocations: 13.06 kB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3907, allocations: 8.891 kB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3909, allocations: 38.17 kB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.394, allocations: 0.9508 MB / 0.5475 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3942, allocations: 98.38 kB / 0.5476 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3942, allocations: 6.141 kB / 0.5476 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3944, allocations: 50.69 kB / 0.5476 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3945, allocations: 66.97 kB / 0.5477 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3945, allocations: 2.906 kB / 0.5477 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.398, allocations: 1.842 MB / 0.5495 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.3981, allocations: 32.17 kB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.3982, allocations: 33.2 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.4002, allocations: 1.327 MB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4002, allocations: 9.156 kB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4002, allocations: 0 / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4002, allocations: 0 / 0.5508 GB, free: 10.46 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008263/0.401, allocations: 480.9 kB / 0.5513 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.401, allocations: 17.09 kB / 0.5513 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.4011, allocations: 13.47 kB / 0.5513 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4013, allocations: 137.1 kB / 0.5515 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4013, allocations: 5.219 kB / 0.5515 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4013, allocations: 1.188 kB / 0.5515 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.4015, allocations: 123.8 kB / 0.5516 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4016, allocations: 3.938 kB / 0.5516 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4016, allocations: 4 kB / 0.5516 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.4016, allocations: 1.406 kB / 0.5516 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.4017, allocations: 88.5 kB / 0.5517 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.4019, allocations: 120.5 kB / 0.5518 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.402, allocations: 104.5 kB / 0.5519 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.4021, allocations: 97.58 kB / 0.552 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.4021, allocations: 1.062 kB / 0.552 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.4022, allocations: 31.66 kB / 0.552 GB, free: 9.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.4022, allocations: 0 / 0.552 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004725/0.4027, allocations: 338.2 kB / 0.5523 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4027, allocations: 90.42 kB / 0.5524 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4029, allocations: 146.8 kB / 0.5526 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4029, allocations: 26.86 kB / 0.5526 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.403, allocations: 100.8 kB / 0.5527 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.403, allocations: 52.41 kB / 0.5527 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.4031, allocations: 22.75 kB / 0.5528 GB, free: 8.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4032, allocations: 330.2 kB / 0.5531 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.4033, allocations: 82.02 kB / 0.5532 GB, free: 8.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4034, allocations: 92.81 kB / 0.5532 GB, free: 8.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4037, allocations: 201.5 kB / 0.5534 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4037, allocations: 32 / 0.5534 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002785/0.404, allocations: 240.5 kB / 0.5537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.404, allocations: 52.73 kB / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.404, allocations: 0 / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.404, allocations: 1.344 kB / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.404, allocations: 0 / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.404, allocations: 0 / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.4041, allocations: 7.391 kB / 0.5537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.4041, allocations: 5.812 kB / 0.5537 GB, free: 8.004 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.000154/0.4043, allocations: 168.8 kB / 0.5539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4043, allocations: 15.64 kB / 0.5539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.4043, allocations: 15.91 kB / 0.5539 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4043, allocations: 1.062 kB / 0.5539 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4043, allocations: 4 kB / 0.5539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4043, allocations: 1.156 kB / 0.5539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4045, allocations: 127.1 kB / 0.554 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4045, allocations: 0 / 0.554 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-06/0.4045, allocations: 5.062 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4045, allocations: 3.984 kB / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4045, allocations: 12.41 kB / 0.5541 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4045, allocations: 0 / 0.5541 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4045, allocations: 4 kB / 0.5541 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.4049, allocations: 338 kB / 0.5544 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.4049, allocations: 19.77 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.405, allocations: 2.406 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.405, allocations: 3.188 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.405, allocations: 2.219 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.405, allocations: 4.688 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.248e-05/0.4051, allocations: 115.2 kB / 0.5545 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 0.5545 GB, free: 7.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4061, allocations: 340.5 kB / 0.5549 GB, free: 7.145 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.0009229/0.4071, allocations: 369.8 kB / 0.5552 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4075, allocations: 326.6 kB / 0.5555 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4075, allocations: 0 / 0.5555 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.4077, allocations: 197 kB / 0.5557 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.408, allocations: 23.48 kB / 0.5557 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4087, allocations: 407.5 kB / 0.5561 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4088, allocations: 108.1 kB / 0.5562 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.4088, allocations: 0 / 0.5562 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.4088, allocations: 11.44 kB / 0.5562 GB, free: 5.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4089, allocations: 0 / 0.5562 GB, free: 5.637 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.3650863245129585] Failed to read output from testmodel.py, exit status != 0: 0.43034010194242 0.445064472 0.04169076699999994 Calling exit ...