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.001469/0.001469, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001477/0.001477, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 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.46/1.46, allocations: 225.6 MB / 252.5 MB, free: 13 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.1781/0.1781, allocations: 38.54 MB / 346.3 MB, free: 2.129 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.00207/0.00207, allocations: 71.86 kB / 484.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.00359/0.4488, allocations: 2.203 MB / 0.5352 GB, free: 4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.4519, allocations: 2.07 MB / 0.5372 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.4519, allocations: 0 / 0.5372 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.4521, allocations: 14.66 kB / 0.5372 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.4522, allocations: 25.34 kB / 0.5373 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.4547, allocations: 0.999 MB / 0.5382 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.4549, allocations: 70.89 kB / 0.5383 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.4549, allocations: 6.391 kB / 0.5383 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.455, allocations: 31.28 kB / 0.5383 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.4551, allocations: 43.02 kB / 0.5384 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4551, allocations: 1.969 kB / 0.5384 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.4582, allocations: 2.219 MB / 0.5405 GB, free: 256 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.4582, allocations: 26.12 kB / 0.5406 GB, free: 240 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.4583, allocations: 27.5 kB / 0.5406 GB, free: 220 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.4604, allocations: 1.367 MB / 0.5419 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4604, allocations: 0 / 0.5419 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4604, allocations: 0 / 0.5419 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4604, allocations: 0 / 0.5419 GB, free: 15.39 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008133/0.4612, allocations: 461.9 kB / 0.5424 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4613, allocations: 12.92 kB / 0.5424 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.4613, allocations: 8.734 kB / 0.5424 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.4616, allocations: 139.6 kB / 0.5425 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4616, allocations: 4 kB / 0.5425 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.4616, allocations: 1.312 kB / 0.5425 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4618, allocations: 72.86 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4618, allocations: 0 / 0.5426 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4618, allocations: 0 / 0.5426 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4618, allocations: 1.344 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.4619, allocations: 29.98 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.4621, allocations: 144 kB / 0.5428 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4622, allocations: 49.56 kB / 0.5428 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.4623, allocations: 39.67 kB / 0.5429 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.4623, allocations: 1.062 kB / 0.5429 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4623, allocations: 35.56 kB / 0.5429 GB, free: 14.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.4623, allocations: 224 / 0.5429 GB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004114/0.4627, allocations: 196.7 kB / 0.5431 GB, free: 14.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.4628, allocations: 88.59 kB / 0.5432 GB, free: 14.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4629, allocations: 139.4 kB / 0.5433 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.463, allocations: 26.77 kB / 0.5433 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.463, allocations: 90.52 kB / 0.5434 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.4631, allocations: 40.22 kB / 0.5434 GB, free: 14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.4632, allocations: 21.89 kB / 0.5435 GB, free: 13.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4633, allocations: 326.1 kB / 0.5438 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.4634, allocations: 30.48 kB / 0.5438 GB, free: 13.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.4634, allocations: 35.05 kB / 0.5438 GB, free: 13.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4636, allocations: 167.3 kB / 0.544 GB, free: 13.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4636, allocations: 0 / 0.544 GB, free: 13.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001978/0.4638, allocations: 155.8 kB / 0.5441 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.4639, allocations: 47.97 kB / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.4639, allocations: 5.484 kB / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4639, allocations: 0 / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.4639, allocations: 0 / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4639, allocations: 1.594 kB / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.464, allocations: 2.656 kB / 0.5442 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.464, allocations: 8 kB / 0.5442 GB, free: 13.39 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.0001467/0.4641, allocations: 169.7 kB / 0.5444 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.4642, allocations: 9.797 kB / 0.5444 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.4642, allocations: 8.703 kB / 0.5444 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4642, allocations: 1.656 kB / 0.5444 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4642, allocations: 3.938 kB / 0.5444 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4642, allocations: 0 / 0.5444 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4644, allocations: 162.3 kB / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4644, allocations: 0 / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.4644, allocations: 3.031 kB / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4644, allocations: 0 / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4644, allocations: 7.25 kB / 0.5446 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4644, allocations: 3.938 kB / 0.5446 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4644, allocations: 0 / 0.5446 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4648, allocations: 288.9 kB / 0.5448 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.4648, allocations: 7.359 kB / 0.5448 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4648, allocations: 6.141 kB / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.4648, allocations: 2.188 kB / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4649, allocations: 6.344 kB / 0.5449 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4649, allocations: 7.438 kB / 0.5449 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.917e-05/0.4649, allocations: 101.2 kB / 0.545 GB, free: 12.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4649, allocations: 1.125 kB / 0.545 GB, free: 12.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001249/0.4662, allocations: 327.7 kB / 0.5453 GB, free: 12.68 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.001078/0.4673, allocations: 379.9 kB / 0.5456 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.4677, allocations: 234.2 kB / 0.5459 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4677, allocations: 1.312 kB / 0.5459 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.4679, allocations: 159.2 kB / 0.546 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4681, allocations: 9.531 kB / 0.546 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.4688, allocations: 310.9 kB / 0.5463 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4692, allocations: 0.7068 MB / 0.547 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.644e-05/0.4692, allocations: 4.984 kB / 0.547 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.4692, allocations: 8.531 kB / 0.547 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4692, allocations: 0 / 0.547 GB, free: 11.34 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.2077990360558033] Failed to read output from testmodel.py, exit status != 0: 0.4907669872045517 0.505585203 0.041799765 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f10019f97b0>