Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001465/0.001465, 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.001651/0.001651, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1881/0.1881, allocations: 38.56 MB / 352.5 MB, free: 12.28 MB / 286.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/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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [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.002117/0.002117, allocations: 71.91 kB / 493 MB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 62.46 MB / 0.5424 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004373/0.4223, allocations: 2.189 MB / 0.5446 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.426, allocations: 1.895 MB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.4261, allocations: 3.938 kB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.4263, allocations: 19.12 kB / 0.5464 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4264, allocations: 22.38 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.4296, allocations: 0.9699 MB / 0.5474 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.4298, allocations: 72.23 kB / 0.5475 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.4298, allocations: 6.297 kB / 0.5475 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.43, allocations: 46.89 kB / 0.5475 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4301, allocations: 46.53 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4301, allocations: 1.062 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.4336, allocations: 1.89 MB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.4336, allocations: 18.36 kB / 0.5494 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.4337, allocations: 18.06 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.4357, allocations: 1.318 MB / 0.5507 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4357, allocations: 1.25 kB / 0.5508 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4357, allocations: 0 / 0.5508 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4357, allocations: 0 / 0.5508 GB, free: 10.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007373/0.4365, allocations: 444 kB / 0.5512 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4365, allocations: 13.17 kB / 0.5512 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.4366, allocations: 8.578 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.4368, allocations: 129.7 kB / 0.5513 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4368, allocations: 5.156 kB / 0.5513 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4368, allocations: 1.156 kB / 0.5513 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.437, allocations: 96.36 kB / 0.5514 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.437, allocations: 3.938 kB / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4371, allocations: 1.5 kB / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4371, allocations: 0 / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.4372, allocations: 62.47 kB / 0.5515 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.4373, allocations: 112.7 kB / 0.5516 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4375, allocations: 86 kB / 0.5517 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.4375, allocations: 68.02 kB / 0.5517 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.4376, allocations: 5.406 kB / 0.5517 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4376, allocations: 31.91 kB / 0.5518 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.4376, allocations: 0 / 0.5518 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004241/0.438, allocations: 247.9 kB / 0.552 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.4381, allocations: 92.22 kB / 0.5521 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4383, allocations: 119.4 kB / 0.5522 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4383, allocations: 25.7 kB / 0.5522 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.4383, allocations: 95.62 kB / 0.5523 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.4384, allocations: 27.16 kB / 0.5524 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.4384, allocations: 20.08 kB / 0.5524 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4386, allocations: 321 kB / 0.5527 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.4387, allocations: 67.95 kB / 0.5527 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.4388, allocations: 63.34 kB / 0.5528 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.439, allocations: 145.9 kB / 0.5529 GB, free: 8.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.439, allocations: 1.125 kB / 0.5529 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002482/0.4392, allocations: 170.1 kB / 0.5531 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.4393, allocations: 41.62 kB / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4393, allocations: 1.094 kB / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4393, allocations: 0 / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.4393, allocations: 0 / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4393, allocations: 1.156 kB / 0.5531 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.4394, allocations: 18.14 kB / 0.5532 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4394, allocations: 7.266 kB / 0.5532 GB, free: 8.242 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.000169/0.4396, allocations: 158.5 kB / 0.5533 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.4396, allocations: 4.375 kB / 0.5533 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.4396, allocations: 10.58 kB / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4396, allocations: 0 / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4396, allocations: 1.062 kB / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4397, allocations: 0 / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.4398, allocations: 118.6 kB / 0.5534 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.4398, allocations: 0 / 0.5534 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.4398, allocations: 0 / 0.5534 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4398, allocations: 9.109 kB / 0.5535 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4398, allocations: 5.656 kB / 0.5535 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4398, allocations: 5.219 kB / 0.5535 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4398, allocations: 0 / 0.5535 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.4402, allocations: 263.4 kB / 0.5537 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.4402, allocations: 14.62 kB / 0.5537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.4403, allocations: 2.5 kB / 0.5537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.4403, allocations: 1.344 kB / 0.5537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4403, allocations: 6.625 kB / 0.5537 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4403, allocations: 2.406 kB / 0.5537 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.47e-05/0.4404, allocations: 99.36 kB / 0.5538 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4404, allocations: 0 / 0.5538 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001645/0.4421, allocations: 323.2 kB / 0.5541 GB, free: 7.574 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.001242/0.4433, allocations: 362 kB / 0.5545 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.4437, allocations: 250.4 kB / 0.5547 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4437, allocations: 0 / 0.5547 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.4439, allocations: 161.1 kB / 0.5549 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4442, allocations: 15.88 kB / 0.5549 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.4448, allocations: 278.4 kB / 0.5552 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.4449, allocations: 83.27 kB / 0.5552 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.4449, allocations: 3.984 kB / 0.5553 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.4449, allocations: 7.438 kB / 0.5553 GB, free: 6.559 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4449, allocations: 4.062 kB / 0.5553 GB, free: 6.555 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.1503890808671713] Failed to read output from testmodel.py, exit status != 0: 0.46648501977324486 0.48194260200000005 0.042934811 Calling exit ...