Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001298/0.001298, 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.001338/0.001338, allocations: 184 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.478/1.478, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1926/0.1926, allocations: 38.54 MB / 346.3 MB, free: 2.133 MB / 270.1 MB " [Timeout remaining time 179] 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003592/0.3898, allocations: 2.203 MB / 0.5352 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.3926, allocations: 2.079 MB / 0.5372 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3927, allocations: 1.312 kB / 0.5372 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.3928, allocations: 10.58 kB / 0.5372 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.3929, allocations: 33.67 kB / 0.5373 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3952, allocations: 0.9802 MB / 0.5382 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3954, allocations: 71.5 kB / 0.5383 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.3954, allocations: 6.875 kB / 0.5383 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.3955, allocations: 36.34 kB / 0.5383 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.3956, allocations: 52.38 kB / 0.5384 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3956, allocations: 2.75 kB / 0.5384 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.3982, allocations: 2.224 MB / 0.5406 GB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.3983, allocations: 28.03 kB / 0.5406 GB, free: 232 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.3983, allocations: 46.14 kB / 0.5406 GB, free: 196 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4001, allocations: 1.39 MB / 0.542 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4001, allocations: 1.219 kB / 0.542 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4001, allocations: 0 / 0.542 GB, free: 15.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4001, allocations: 0 / 0.542 GB, free: 15.36 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007523/0.4009, allocations: 0.4937 MB / 0.5425 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4009, allocations: 9 kB / 0.5425 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.401, allocations: 18.34 kB / 0.5425 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.4011, allocations: 142 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4012, allocations: 3.938 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4012, allocations: 1.375 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.4014, allocations: 99.17 kB / 0.5427 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4014, allocations: 5.312 kB / 0.5427 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4014, allocations: 0 / 0.5427 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4014, allocations: 0 / 0.5427 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.4015, allocations: 65.75 kB / 0.5428 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.4017, allocations: 165.1 kB / 0.543 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.4018, allocations: 84.78 kB / 0.543 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4019, allocations: 68.5 kB / 0.5431 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.4019, allocations: 0 / 0.5431 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.4019, allocations: 31.91 kB / 0.5431 GB, free: 14.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.02e-07/0.4019, allocations: 0 / 0.5431 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005846/0.4025, allocations: 320.4 kB / 0.5434 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.4026, allocations: 99.33 kB / 0.5435 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4027, allocations: 151.3 kB / 0.5437 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4028, allocations: 25.7 kB / 0.5437 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.4028, allocations: 101 kB / 0.5438 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4029, allocations: 84.7 kB / 0.5439 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.403, allocations: 33.2 kB / 0.5439 GB, free: 13.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4031, allocations: 332.8 kB / 0.5442 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.4032, allocations: 58.41 kB / 0.5443 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.4033, allocations: 63.62 kB / 0.5443 GB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.4036, allocations: 253.2 kB / 0.5446 GB, free: 13.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4036, allocations: 0 / 0.5446 GB, free: 13.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002977/0.4039, allocations: 237.3 kB / 0.5448 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.4039, allocations: 64.25 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4039, allocations: 1.094 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.404, allocations: 0 / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.404, allocations: 1.188 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.404, allocations: 0 / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.404, allocations: 21.08 kB / 0.5449 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4041, allocations: 9.969 kB / 0.5449 GB, free: 13.07 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.0001733/0.4042, allocations: 198.6 kB / 0.5451 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.4043, allocations: 16.91 kB / 0.5451 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.4043, allocations: 13.7 kB / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4043, allocations: 0 / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4043, allocations: 0 / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4043, allocations: 1.125 kB / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.4045, allocations: 178.2 kB / 0.5453 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4045, allocations: 0 / 0.5453 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.4045, allocations: 5.219 kB / 0.5453 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4045, allocations: 3.938 kB / 0.5453 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.4045, allocations: 9.031 kB / 0.5453 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4045, allocations: 5.109 kB / 0.5453 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4045, allocations: 3.938 kB / 0.5453 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.4051, allocations: 0.5129 MB / 0.5458 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.4051, allocations: 16.47 kB / 0.5458 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.4052, allocations: 8.703 kB / 0.5459 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.4052, allocations: 7.375 kB / 0.5459 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.4053, allocations: 10.16 kB / 0.5459 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.4053, allocations: 5.781 kB / 0.5459 GB, free: 12.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.4054, allocations: 115.6 kB / 0.546 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0.9688 kB / 0.546 GB, free: 12.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001135/0.4065, allocations: 335.2 kB / 0.5463 GB, free: 12.26 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.001072/0.4076, allocations: 374.2 kB / 0.5467 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.4083, allocations: 458.7 kB / 0.5471 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4083, allocations: 0 / 0.5471 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.4087, allocations: 319.3 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4089, allocations: 16.05 kB / 0.5474 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.4097, allocations: 477.5 kB / 0.5479 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4101, allocations: 0.7263 MB / 0.5486 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.399e-05/0.4101, allocations: 0 / 0.5486 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.4101, allocations: 9.594 kB / 0.5486 GB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4101, allocations: 0 / 0.5486 GB, free: 10.73 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.24491458106786] Failed to read output from testmodel.py, exit status != 0: 0.4334551002830267 0.44770815999999997 0.04450402499999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9fafdd57b0>