Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.00151/0.00151, allocations: 113 kB / 19.04 MB, free: 3.254 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.001544/0.001544, allocations: 197.9 kB / 22.22 MB, free: 72 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.422/1.422, 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.1739/0.1739, allocations: 38.53 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.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 61.25 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003296/0.3629, allocations: 2.173 MB / 0.5327 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3656, allocations: 2.064 MB / 0.5347 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.3657, allocations: 1.656 kB / 0.5347 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.3658, allocations: 11.09 kB / 0.5347 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.3659, allocations: 27.88 kB / 0.5348 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.3681, allocations: 0.8459 MB / 0.5356 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3682, allocations: 63.52 kB / 0.5356 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3683, allocations: 6.938 kB / 0.5356 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.3684, allocations: 38.89 kB / 0.5357 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.3684, allocations: 43.14 kB / 0.5357 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3684, allocations: 5.312 kB / 0.5357 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.3704, allocations: 1.606 MB / 0.5373 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3705, allocations: 21.53 kB / 0.5373 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.3705, allocations: 28.05 kB / 0.5373 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.3719, allocations: 1.328 MB / 0.5386 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3719, allocations: 0 / 0.5386 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3719, allocations: 5.031 kB / 0.5386 GB, free: 284 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3719, allocations: 0 / 0.5386 GB, free: 284 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006611/0.3726, allocations: 0.5276 MB / 0.5392 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3726, allocations: 16.98 kB / 0.5392 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3726, allocations: 8.859 kB / 0.5392 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3729, allocations: 187.3 kB / 0.5394 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3729, allocations: 5.156 kB / 0.5394 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3729, allocations: 0.9688 kB / 0.5394 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.373, allocations: 68.58 kB / 0.5394 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3731, allocations: 4 kB / 0.5394 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3731, allocations: 1.344 kB / 0.5394 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3731, allocations: 0 / 0.5394 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.3731, allocations: 39.16 kB / 0.5395 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.3733, allocations: 168.1 kB / 0.5396 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.3734, allocations: 50.53 kB / 0.5397 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.3734, allocations: 35.03 kB / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3735, allocations: 224 / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3735, allocations: 36.03 kB / 0.5398 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.3735, allocations: 3.938 kB / 0.5398 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003576/0.3738, allocations: 204.4 kB / 0.54 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3739, allocations: 85.2 kB / 0.54 GB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.374, allocations: 131.5 kB / 0.5402 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.374, allocations: 25.7 kB / 0.5402 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3741, allocations: 96.34 kB / 0.5403 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.3742, allocations: 39.84 kB / 0.5403 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3742, allocations: 25.19 kB / 0.5403 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3743, allocations: 326.5 kB / 0.5407 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.3744, allocations: 31.39 kB / 0.5407 GB, free: 14.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.3744, allocations: 29.73 kB / 0.5407 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3746, allocations: 163.1 kB / 0.5409 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3746, allocations: 0 / 0.5409 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000201/0.3748, allocations: 160.7 kB / 0.541 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.3749, allocations: 48.17 kB / 0.5411 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3749, allocations: 4.062 kB / 0.5411 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3749, allocations: 1.25 kB / 0.5411 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3749, allocations: 0 / 0.5411 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3749, allocations: 5.328 kB / 0.5411 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.375, allocations: 2.531 kB / 0.5411 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.375, allocations: 7.125 kB / 0.5411 GB, free: 14.07 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.0001477/0.3751, allocations: 168.5 kB / 0.5412 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3752, allocations: 10.48 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3752, allocations: 10.72 kB / 0.5413 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3752, allocations: 4 kB / 0.5413 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3752, allocations: 1.094 kB / 0.5413 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3752, allocations: 0 / 0.5413 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3754, allocations: 190.4 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3754, allocations: 1.281 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3754, allocations: 0 / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3754, allocations: 3.984 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3754, allocations: 3.562 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3754, allocations: 1.031 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3754, allocations: 3.938 kB / 0.5415 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.3757, allocations: 300.5 kB / 0.5418 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3758, allocations: 84.19 kB / 0.5418 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3758, allocations: 6.125 kB / 0.5418 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.789e-05/0.3759, allocations: 3.125 kB / 0.5418 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3759, allocations: 1.156 kB / 0.5418 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3759, allocations: 4.781 kB / 0.5418 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.376, allocations: 109.1 kB / 0.542 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 0.542 GB, free: 13.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001004/0.377, allocations: 325.2 kB / 0.5423 GB, free: 13.23 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.0009605/0.3779, allocations: 378.2 kB / 0.5426 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.3783, allocations: 231 kB / 0.5428 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3783, allocations: 0 / 0.5428 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3785, allocations: 167.6 kB / 0.543 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3787, allocations: 10.66 kB / 0.543 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.3793, allocations: 306.4 kB / 0.5433 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3796, allocations: 0.7035 MB / 0.544 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.556e-05/0.3796, allocations: 3.953 kB / 0.544 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.3797, allocations: 9.75 kB / 0.544 GB, free: 11.9 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3797, allocations: 4 kB / 0.544 GB, free: 11.9 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: 3.055258059874177]