Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001212/0.001212, 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.001433/0.001433, 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.403/1.403, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.1841/0.1841, allocations: 38.53 MB / 344.5 MB, free: 2.613 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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.88 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 61.24 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003149/0.3426, allocations: 2.181 MB / 0.5327 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.3454, allocations: 2.065 MB / 0.5347 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.3455, allocations: 1.062 kB / 0.5347 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3456, allocations: 11.58 kB / 0.5347 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3457, allocations: 33.25 kB / 0.5348 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3482, allocations: 0.8381 MB / 0.5356 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3484, allocations: 75.44 kB / 0.5357 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.3484, allocations: 2.938 kB / 0.5357 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.3485, allocations: 34.97 kB / 0.5357 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.3486, allocations: 61.73 kB / 0.5358 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3486, allocations: 2.75 kB / 0.5358 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3505, allocations: 1.599 MB / 0.5373 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.3506, allocations: 47.7 kB / 0.5374 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.3507, allocations: 52.75 kB / 0.5374 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3521, allocations: 1.386 MB / 0.5388 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3521, allocations: 0 / 0.5388 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3521, allocations: 5.719 kB / 0.5388 GB, free: 196 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.485e-06/0.3521, allocations: 0 / 0.5388 GB, free: 196 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000813/0.353, allocations: 0.6201 MB / 0.5394 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.353, allocations: 13.8 kB / 0.5394 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3531, allocations: 17.7 kB / 0.5394 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3533, allocations: 218 kB / 0.5396 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3533, allocations: 1.094 kB / 0.5396 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3533, allocations: 1.031 kB / 0.5396 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3535, allocations: 139.2 kB / 0.5398 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3535, allocations: 4 kB / 0.5398 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3535, allocations: 1.438 kB / 0.5398 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3535, allocations: 0 / 0.5398 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3537, allocations: 99.78 kB / 0.5399 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.3539, allocations: 210.1 kB / 0.5401 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3541, allocations: 110.9 kB / 0.5402 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3542, allocations: 109.1 kB / 0.5403 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3542, allocations: 4 kB / 0.5403 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3542, allocations: 32.03 kB / 0.5403 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.173e-06/0.3542, allocations: 0 / 0.5403 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006833/0.3549, allocations: 0.4959 MB / 0.5408 GB, free: 14.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.355, allocations: 104.5 kB / 0.5409 GB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3551, allocations: 168.7 kB / 0.541 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3552, allocations: 29.7 kB / 0.5411 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3552, allocations: 102.7 kB / 0.5412 GB, free: 14.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3554, allocations: 146.2 kB / 0.5413 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.3554, allocations: 32.8 kB / 0.5413 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3556, allocations: 342.8 kB / 0.5417 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3557, allocations: 91.72 kB / 0.5418 GB, free: 13.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3558, allocations: 100.5 kB / 0.5419 GB, free: 13.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3561, allocations: 380 kB / 0.5422 GB, free: 13.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3561, allocations: 0 / 0.5422 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003928/0.3565, allocations: 348 kB / 0.5425 GB, free: 13.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.3566, allocations: 86.88 kB / 0.5426 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3566, allocations: 4.062 kB / 0.5426 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3566, allocations: 5.328 kB / 0.5426 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.3566, allocations: 0 / 0.5426 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3566, allocations: 0 / 0.5426 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.3567, allocations: 21.22 kB / 0.5427 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3567, allocations: 11.94 kB / 0.5427 GB, free: 13.34 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.000271/0.357, allocations: 234.8 kB / 0.5429 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.3571, allocations: 24.92 kB / 0.5429 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.3571, allocations: 10.5 kB / 0.5429 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3571, allocations: 5.375 kB / 0.5429 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3571, allocations: 3.984 kB / 0.5429 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3571, allocations: 0 / 0.5429 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.3573, allocations: 241.9 kB / 0.5432 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3573, allocations: 3.984 kB / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.3573, allocations: 1.094 kB / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.3573, allocations: 0 / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3573, allocations: 7.688 kB / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3573, allocations: 0 / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3573, allocations: 3.938 kB / 0.5432 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3584, allocations: 0.9224 MB / 0.5441 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.3584, allocations: 98.38 kB / 0.5442 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3585, allocations: 10.7 kB / 0.5442 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.3585, allocations: 5.625 kB / 0.5442 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.3585, allocations: 7.281 kB / 0.5442 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3586, allocations: 8.188 kB / 0.5442 GB, free: 12.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3587, allocations: 127.7 kB / 0.5443 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3587, allocations: 0 / 0.5443 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009956/0.3597, allocations: 361.9 kB / 0.5447 GB, free: 12.21 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.0008703/0.3605, allocations: 370 kB / 0.545 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009009/0.3614, allocations: 0.8348 MB / 0.5458 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3614, allocations: 3.938 kB / 0.5458 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.362, allocations: 0.6025 MB / 0.5464 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3622, allocations: 20.36 kB / 0.5465 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.3632, allocations: 0.6789 MB / 0.5471 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3636, allocations: 0.7532 MB / 0.5479 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.135e-05/0.3636, allocations: 1.281 kB / 0.5479 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3636, allocations: 8.5 kB / 0.5479 GB, free: 10.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3636, allocations: 4 kB / 0.5479 GB, free: 10.36 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.947027417831123]