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.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.001987/0.001987, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00266/0.00266, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.608/1.608, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1882/0.1882, allocations: 38.55 MB / 352.5 MB, free: 12.31 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_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: 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.003869/0.003869, allocations: 71.89 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3825, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003802/0.3863, allocations: 2.191 MB / 0.5446 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.3897, allocations: 1.886 MB / 0.5464 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3898, allocations: 4.875 kB / 0.5464 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.3899, allocations: 14 kB / 0.5464 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.39, allocations: 31.59 kB / 0.5465 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.3925, allocations: 0.9729 MB / 0.5474 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3927, allocations: 72.23 kB / 0.5475 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.3927, allocations: 10.22 kB / 0.5475 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3929, allocations: 38.06 kB / 0.5475 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.393, allocations: 59.05 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.393, allocations: 6.531 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.3962, allocations: 1.89 MB / 0.5494 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.3963, allocations: 46.98 kB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.3963, allocations: 44.67 kB / 0.5495 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.3982, allocations: 1.393 MB / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3982, allocations: 1.156 kB / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3982, allocations: 0 / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3982, allocations: 0 / 0.5509 GB, free: 10.41 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007777/0.399, allocations: 0.544 MB / 0.5514 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.399, allocations: 13.92 kB / 0.5514 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.3991, allocations: 18.7 kB / 0.5515 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3993, allocations: 154.1 kB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3993, allocations: 0 / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3993, allocations: 1.469 kB / 0.5516 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.3998, allocations: 235.6 kB / 0.5518 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3998, allocations: 3.938 kB / 0.5518 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3998, allocations: 1.094 kB / 0.5518 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3998, allocations: 0 / 0.5518 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.4001, allocations: 207.9 kB / 0.552 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.4003, allocations: 137.1 kB / 0.5522 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.4006, allocations: 216.3 kB / 0.5524 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.4009, allocations: 208.3 kB / 0.5526 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.401, allocations: 1.031 kB / 0.5526 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.401, allocations: 31.69 kB / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.313e-06/0.401, allocations: 0 / 0.5526 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001298/0.4023, allocations: 0.7308 MB / 0.5533 GB, free: 8.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.4024, allocations: 108.5 kB / 0.5534 GB, free: 8.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4026, allocations: 169.5 kB / 0.5536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4026, allocations: 29.73 kB / 0.5536 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.4027, allocations: 106.3 kB / 0.5537 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.4029, allocations: 138 kB / 0.5538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.403, allocations: 37.3 kB / 0.5539 GB, free: 8.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.4032, allocations: 335.6 kB / 0.5542 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4035, allocations: 200 kB / 0.5544 GB, free: 7.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.4038, allocations: 201.6 kB / 0.5546 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.4043, allocations: 461.2 kB / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4043, allocations: 0 / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005598/0.4049, allocations: 488.7 kB / 0.5555 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.405, allocations: 89.62 kB / 0.5556 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.405, allocations: 4.062 kB / 0.5556 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.405, allocations: 0 / 0.5556 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.405, allocations: 0 / 0.5556 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.405, allocations: 3.938 kB / 0.5556 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.4051, allocations: 15.89 kB / 0.5556 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4051, allocations: 8 kB / 0.5556 GB, free: 6.445 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.0002425/0.4054, allocations: 235.4 kB / 0.5558 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4054, allocations: 27.86 kB / 0.5558 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.4054, allocations: 18.64 kB / 0.5559 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4054, allocations: 0 / 0.5559 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4054, allocations: 4 kB / 0.5559 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4054, allocations: 0 / 0.5559 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4056, allocations: 157 kB / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4056, allocations: 0 / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.4056, allocations: 0 / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4056, allocations: 0 / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4056, allocations: 12 kB / 0.556 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4056, allocations: 3.984 kB / 0.556 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4056, allocations: 3.938 kB / 0.556 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4067, allocations: 0.8006 MB / 0.5568 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.4068, allocations: 27.78 kB / 0.5568 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.4068, allocations: 12.03 kB / 0.5569 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.4069, allocations: 4 kB / 0.5569 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.4069, allocations: 4 kB / 0.5569 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4069, allocations: 8 kB / 0.5569 GB, free: 5.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.407, allocations: 132.2 kB / 0.557 GB, free: 4.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.407, allocations: 0 / 0.557 GB, free: 4.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00122/0.4082, allocations: 363.3 kB / 0.5573 GB, free: 4.578 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.001031/0.4093, allocations: 374.4 kB / 0.5577 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4103, allocations: 0.7641 MB / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4103, allocations: 0 / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.4108, allocations: 452.8 kB / 0.5589 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.4111, allocations: 18 kB / 0.5589 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4124, allocations: 0.7774 MB / 0.5597 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4126, allocations: 148.2 kB / 0.5598 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.53e-05/0.4126, allocations: 0 / 0.5598 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.4126, allocations: 7.438 kB / 0.5598 GB, free: 1.949 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4126, allocations: 0 / 0.5598 GB, free: 1.949 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.3667063172906637] Failed to read output from testmodel.py, exit status != 0: 0.4398911278694868 0.45133766799999997 0.05002555 Calling exit ...