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.0017/0.0017, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.00196/0.00196, allocations: 182.9 kB / 23.71 MB, free: 4.695 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.558/1.558, 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.1889/0.1889, allocations: 38.55 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_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.002092/0.002092, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002968/0.3744, allocations: 2.197 MB / 0.5352 GB, free: 4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.377, allocations: 2.071 MB / 0.5372 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.377, allocations: 1.375 kB / 0.5372 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3771, allocations: 13.3 kB / 0.5372 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.3772, allocations: 36.08 kB / 0.5373 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.3793, allocations: 0.9798 MB / 0.5382 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3794, allocations: 76.03 kB / 0.5383 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.3795, allocations: 2.344 kB / 0.5383 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.3795, allocations: 39.98 kB / 0.5383 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.3796, allocations: 54.25 kB / 0.5384 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3796, allocations: 2.531 kB / 0.5384 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3823, allocations: 2.221 MB / 0.5406 GB, free: 236 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.3823, allocations: 43.34 kB / 0.5406 GB, free: 216 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.3824, allocations: 60.91 kB / 0.5407 GB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.3842, allocations: 1.42 MB / 0.542 GB, free: 15.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3842, allocations: 0 / 0.542 GB, free: 15.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3842, allocations: 3.938 kB / 0.542 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3842, allocations: 0 / 0.542 GB, free: 15.3 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.0007416/0.385, allocations: 0.5478 MB / 0.5426 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.385, allocations: 8.906 kB / 0.5426 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.385, allocations: 19.02 kB / 0.5426 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3852, allocations: 153.1 kB / 0.5428 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.3853, allocations: 1.469 kB / 0.5428 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3853, allocations: 1.469 kB / 0.5428 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3855, allocations: 134.8 kB / 0.5429 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3855, allocations: 3.938 kB / 0.5429 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3855, allocations: 0 / 0.5429 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3855, allocations: 5.344 kB / 0.5429 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3856, allocations: 95.3 kB / 0.543 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.3858, allocations: 185.5 kB / 0.5432 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.386, allocations: 114.7 kB / 0.5433 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3861, allocations: 105.5 kB / 0.5434 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3861, allocations: 3.938 kB / 0.5434 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3862, allocations: 39.97 kB / 0.5434 GB, free: 14.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 8.72e-07/0.3862, allocations: 0 / 0.5434 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006888/0.3868, allocations: 500 kB / 0.5439 GB, free: 13.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.3869, allocations: 112.1 kB / 0.544 GB, free: 13.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3871, allocations: 164.4 kB / 0.5442 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3871, allocations: 26.98 kB / 0.5442 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.3872, allocations: 106.4 kB / 0.5443 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3873, allocations: 137.8 kB / 0.5444 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.3874, allocations: 36.66 kB / 0.5444 GB, free: 13.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3876, allocations: 339 kB / 0.5448 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3877, allocations: 99.89 kB / 0.5449 GB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3878, allocations: 95.11 kB / 0.545 GB, free: 13.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.3882, allocations: 385.5 kB / 0.5453 GB, free: 12.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3882, allocations: 0 / 0.5453 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003927/0.3886, allocations: 339.2 kB / 0.5456 GB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3887, allocations: 82.86 kB / 0.5457 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3887, allocations: 1.562 kB / 0.5457 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3887, allocations: 3.984 kB / 0.5457 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-07/0.3887, allocations: 4.062 kB / 0.5457 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3887, allocations: 5.297 kB / 0.5457 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.3888, allocations: 19.75 kB / 0.5458 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.3888, allocations: 7.938 kB / 0.5458 GB, free: 12.66 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.0002217/0.389, allocations: 238.8 kB / 0.546 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.3891, allocations: 25.05 kB / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.3891, allocations: 11.19 kB / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3891, allocations: 5 kB / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3891, allocations: 0 / 0.546 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3891, allocations: 4 kB / 0.546 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3893, allocations: 221.2 kB / 0.5462 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3893, allocations: 0 / 0.5462 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.3893, allocations: 1.094 kB / 0.5463 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.3893, allocations: 0 / 0.5463 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3893, allocations: 16.05 kB / 0.5463 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3893, allocations: 0 / 0.5463 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3893, allocations: 0 / 0.5463 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3905, allocations: 0.9254 MB / 0.5472 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.3905, allocations: 23.11 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3905, allocations: 5.875 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.3906, allocations: 5.625 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3906, allocations: 7.016 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3906, allocations: 8.656 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3907, allocations: 127.8 kB / 0.5473 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3907, allocations: 0 / 0.5473 GB, free: 11.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3918, allocations: 361.5 kB / 0.5477 GB, free: 11.65 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.0009356/0.3927, allocations: 373.6 kB / 0.548 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3937, allocations: 0.8302 MB / 0.5489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3937, allocations: 1.094 kB / 0.5489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.3943, allocations: 0.6051 MB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3946, allocations: 20.66 kB / 0.5495 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3956, allocations: 0.6797 MB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.396, allocations: 0.7587 MB / 0.5509 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.042e-05/0.396, allocations: 3.938 kB / 0.5509 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.396, allocations: 7.438 kB / 0.5509 GB, free: 9.457 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.396, allocations: 0 / 0.5509 GB, free: 9.457 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.28770515229553] Failed to read output from testmodel.py, exit status != 0: 0.4191534724086523 0.43366615799999997 0.046473048 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6485c697b0>