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.001573/0.001573, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001704/0.001704, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.172/0.172, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.238e-05, allocations: 2.281 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003235/0.003257, allocations: 2.188 MB / 432.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.006445, allocations: 1.906 MB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.006504, allocations: 3.938 kB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.006637, allocations: 23.91 kB / 434.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.006729, allocations: 23.84 kB / 434.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.009473, allocations: 0.9662 MB / 435.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.00962, allocations: 83.58 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.009668, allocations: 12.16 kB / 435.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.009833, allocations: 43.89 kB / 436 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.009936, allocations: 39.89 kB / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.009956, allocations: 7.984 kB / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.0132, allocations: 1.902 MB / 437.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.01327, allocations: 43.86 kB / 438 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.01333, allocations: 31.84 kB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.01548, allocations: 1.524 MB / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.01548, allocations: 8 kB / 439.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01548, allocations: 0 / 439.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01549, allocations: 4 kB / 439.5 MB, free: 9.066 MB / 366.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.0008222/0.01631, allocations: 0.5368 MB / 440.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01634, allocations: 15.92 kB / 440.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.01639, allocations: 20.8 kB / 440.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.01659, allocations: 153.4 kB / 440.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.0166, allocations: 384 / 440.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.01662, allocations: 11.92 kB / 440.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.01692, allocations: 228.3 kB / 440.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.01693, allocations: 4 kB / 440.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01694, allocations: 0 / 440.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01695, allocations: 0 / 440.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.01716, allocations: 197.9 kB / 440.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.01731, allocations: 137.8 kB / 440.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.01755, allocations: 212.5 kB / 441 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.01776, allocations: 198.8 kB / 441.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.01777, allocations: 3.938 kB / 441.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.0178, allocations: 30.56 kB / 441.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.303e-06/0.0178, allocations: 4 kB / 441.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008334/0.01863, allocations: 0.6936 MB / 442 MB, free: 6.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.01871, allocations: 113.1 kB / 442.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01887, allocations: 174.8 kB / 442.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01889, allocations: 29.64 kB / 442.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.01896, allocations: 104.8 kB / 442.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.01907, allocations: 130.8 kB / 442.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01913, allocations: 41.69 kB / 442.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01928, allocations: 330.8 kB / 442.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.01948, allocations: 189.6 kB / 443 MB, free: 5.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.01967, allocations: 189.6 kB / 443.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.02012, allocations: 445.2 kB / 443.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02012, allocations: 8.031 kB / 443.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005195/0.02064, allocations: 464.7 kB / 444.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/0.02074, allocations: 85.64 kB / 444.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.02074, allocations: 0 / 444.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.02075, allocations: 0 / 444.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-06/0.02075, allocations: 3.938 kB / 444.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.02076, allocations: 3.984 kB / 444.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.02084, allocations: 19.84 kB / 444.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.02087, allocations: 8 kB / 444.2 MB, free: 4.082 MB / 366.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.0002247/0.02109, allocations: 235.4 kB / 444.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.02113, allocations: 39.77 kB / 444.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.02115, allocations: 10.66 kB / 444.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.02115, allocations: 0 / 444.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02116, allocations: 0 / 444.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.02116, allocations: 0 / 444.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.0213, allocations: 153.1 kB / 444.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.0213, allocations: 0 / 444.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.0213, allocations: 0 / 444.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.0213, allocations: 7.922 kB / 444.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.02132, allocations: 8 kB / 444.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.02132, allocations: 0 / 444.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02133, allocations: 4 kB / 444.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.02226, allocations: 0.7694 MB / 445.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.02228, allocations: 19.8 kB / 445.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.02232, allocations: 27.8 kB / 445.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.02238, allocations: 4 kB / 445.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.02241, allocations: 8 kB / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.02243, allocations: 8 kB / 445.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.02253, allocations: 128.2 kB / 445.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02253, allocations: 0 / 445.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009132/0.02344, allocations: 359.3 kB / 446 MB, free: 2.242 MB / 366.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.0009717/0.02442, allocations: 417.2 kB / 446.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009139/0.02533, allocations: 0.7484 MB / 447.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02533, allocations: 4 kB / 447.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.02581, allocations: 436.9 kB / 447.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.02602, allocations: 19.27 kB / 447.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.155/0.181, allocations: 0.7493 MB / 448.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1811, allocations: 146.8 kB / 448.5 MB, free: 29.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.826e-05/0.1811, allocations: 3.719 kB / 448.5 MB, free: 29.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1811, allocations: 10.59 kB / 448.5 MB, free: 29.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.243e-06/0.1811, allocations: 0 / 448.5 MB, free: 29.8 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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: 2.5631241761147976] Failed to read output from testmodel.py, exit status != 0: 0.20227693393826485 0.21280292299999995 0.19496632699999994 Calling exit ...