Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001883/0.001883, 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.002322/0.002322, 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.544/1.544, 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.1899/0.1899, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_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.00219/0.00219, allocations: 64.09 kB / 493 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4307, allocations: 62.47 MB / 0.5424 GB, free: 384 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004192/0.4349, allocations: 2.179 MB / 0.5446 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.4387, allocations: 1.9 MB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.4388, allocations: 3.938 kB / 0.5464 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.439, allocations: 15.36 kB / 0.5464 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4391, allocations: 29.73 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.4423, allocations: 0.9627 MB / 0.5474 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.4425, allocations: 71.91 kB / 0.5475 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.4425, allocations: 10.39 kB / 0.5475 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.4427, allocations: 42.91 kB / 0.5475 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.4428, allocations: 47.22 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4428, allocations: 5.156 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.4464, allocations: 1.892 MB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.4465, allocations: 14.98 kB / 0.5494 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.4465, allocations: 14.25 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.4487, allocations: 1.321 MB / 0.5507 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4488, allocations: 1.469 kB / 0.5508 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4488, allocations: 0 / 0.5508 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4488, allocations: 4 kB / 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000785/0.4495, allocations: 443.9 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4496, allocations: 13.83 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.4497, allocations: 7.547 kB / 0.5512 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.4498, allocations: 129.5 kB / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4499, allocations: 5.125 kB / 0.5513 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.4499, allocations: 1.094 kB / 0.5513 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4501, allocations: 92.25 kB / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4501, allocations: 1.375 kB / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4501, allocations: 0 / 0.5514 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4501, allocations: 3.938 kB / 0.5514 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.4502, allocations: 75.61 kB / 0.5515 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.4503, allocations: 111.7 kB / 0.5516 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.4504, allocations: 74.83 kB / 0.5517 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.4505, allocations: 72.59 kB / 0.5517 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.4505, allocations: 0 / 0.5517 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4506, allocations: 31.75 kB / 0.5518 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.4506, allocations: 1.062 kB / 0.5518 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000396/0.451, allocations: 244.5 kB / 0.552 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.451, allocations: 86.8 kB / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4512, allocations: 124.5 kB / 0.5522 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4512, allocations: 29.73 kB / 0.5522 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.4512, allocations: 90.58 kB / 0.5523 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.4513, allocations: 31.2 kB / 0.5524 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.4513, allocations: 20.47 kB / 0.5524 GB, free: 8.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4515, allocations: 326.1 kB / 0.5527 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.4516, allocations: 58.19 kB / 0.5527 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.4516, allocations: 68.14 kB / 0.5528 GB, free: 8.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.4518, allocations: 142.1 kB / 0.5529 GB, free: 8.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4518, allocations: 0.9375 kB / 0.5529 GB, free: 8.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002408/0.4521, allocations: 179.3 kB / 0.5531 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.4521, allocations: 44.94 kB / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4521, allocations: 1.281 kB / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4522, allocations: 0 / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.4522, allocations: 0 / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4522, allocations: 1.469 kB / 0.5532 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.4522, allocations: 8.984 kB / 0.5532 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4522, allocations: 3.594 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.0001529/0.4524, allocations: 162.7 kB / 0.5533 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.4524, allocations: 4.531 kB / 0.5533 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.4524, allocations: 6.562 kB / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4524, allocations: 0 / 0.5533 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4524, allocations: 5.25 kB / 0.5533 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4524, allocations: 0 / 0.5533 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.4526, allocations: 117.9 kB / 0.5535 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.4526, allocations: 0 / 0.5535 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-06/0.4526, allocations: 3.984 kB / 0.5535 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.4526, allocations: 1.062 kB / 0.5535 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.4526, allocations: 10.14 kB / 0.5535 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4526, allocations: 5.062 kB / 0.5535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4526, allocations: 0 / 0.5535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.453, allocations: 259.3 kB / 0.5537 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.453, allocations: 15.89 kB / 0.5537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.453, allocations: 9.344 kB / 0.5537 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.453, allocations: 1.219 kB / 0.5537 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.4531, allocations: 2.156 kB / 0.5537 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.4531, allocations: 7.266 kB / 0.5538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.4532, allocations: 94.86 kB / 0.5538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4532, allocations: 0 / 0.5538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00152/0.4547, allocations: 323.8 kB / 0.5542 GB, free: 7.57 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.001125/0.4558, allocations: 365.9 kB / 0.5545 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.4562, allocations: 253.1 kB / 0.5547 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.4562, allocations: 0 / 0.5547 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4564, allocations: 153.1 kB / 0.5549 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4567, allocations: 13.94 kB / 0.5549 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.4572, allocations: 286.3 kB / 0.5552 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.4573, allocations: 79.45 kB / 0.5552 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.151e-05/0.4573, allocations: 0 / 0.5552 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.4574, allocations: 15.38 kB / 0.5553 GB, free: 6.562 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4574, allocations: 0 / 0.5553 GB, free: 6.562 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.2583013847470284] Failed to read output from testmodel.py, exit status != 0: 0.4812450520694256 0.496018203 0.044167453 Calling exit ...