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.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.001421/0.001421, allocations: 83.38 kB / 20.68 MB, free: 1.023 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.001424/0.001424, allocations: 164.7 kB / 23.95 MB, free: 4.156 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.387/1.387, 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.1702/0.1702, allocations: 29.43 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_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 1.412e-06/1.412e-06, allocations: 0 / 430.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.789e-05, allocations: 2.281 kB / 430.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003309/0.003337, allocations: 2.187 MB / 432.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.006645, allocations: 1.902 MB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.006703, allocations: 4 kB / 434.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.00684, allocations: 15.91 kB / 434.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.006944, allocations: 27.84 kB / 434.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.009846, allocations: 0.9739 MB / 435.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.009997, allocations: 71.7 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.01004, allocations: 8.188 kB / 435.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.0102, allocations: 43.88 kB / 436 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.01029, allocations: 43.83 kB / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.01031, allocations: 4 kB / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.01371, allocations: 1.894 MB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.01377, allocations: 23.92 kB / 437.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.01382, allocations: 15.92 kB / 437.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.01623, allocations: 1.496 MB / 439.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01623, allocations: 0 / 439.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01623, allocations: 0 / 439.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.01624, allocations: 0 / 439.4 MB, free: 9.152 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008466/0.01708, allocations: 462.3 kB / 439.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.01712, allocations: 8.031 kB / 439.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.01717, allocations: 12.83 kB / 439.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01734, allocations: 121.7 kB / 440 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.01736, allocations: 7.938 kB / 440 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.01737, allocations: 0 / 440 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.01757, allocations: 115.4 kB / 440.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.01757, allocations: 0 / 440.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.01758, allocations: 0 / 440.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.01759, allocations: 3.938 kB / 440.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.01769, allocations: 85.66 kB / 440.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.01784, allocations: 117.2 kB / 440.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.01797, allocations: 100.2 kB / 440.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.01807, allocations: 82.56 kB / 440.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.01808, allocations: 0 / 440.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.01811, allocations: 30.56 kB / 440.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.01811, allocations: 0 / 440.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004391/0.01855, allocations: 306.8 kB / 440.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.01862, allocations: 89.11 kB / 440.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01875, allocations: 132.3 kB / 441.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01876, allocations: 25.7 kB / 441.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.01883, allocations: 99.98 kB / 441.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.01888, allocations: 35.66 kB / 441.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.01892, allocations: 21.7 kB / 441.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01907, allocations: 322.8 kB / 441.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.01917, allocations: 81.67 kB / 441.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.01925, allocations: 77.67 kB / 441.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01945, allocations: 184.6 kB / 441.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.01945, allocations: 7.938 kB / 441.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002528/0.0197, allocations: 212.9 kB / 442.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.01976, allocations: 49.67 kB / 442.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01976, allocations: 4 kB / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01978, allocations: 0 / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.01978, allocations: 0 / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01978, allocations: 0 / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.01983, allocations: 7.953 kB / 442.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01985, allocations: 4 kB / 442.2 MB, free: 6.133 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.0001525/0.02, allocations: 171.5 kB / 442.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.02002, allocations: 7.953 kB / 442.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.02004, allocations: 12.77 kB / 442.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.02004, allocations: 0 / 442.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.02004, allocations: 0 / 442.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.02005, allocations: 0 / 442.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.02017, allocations: 121.2 kB / 442.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.02017, allocations: 7.875 kB / 442.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.02017, allocations: 7.984 kB / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.02018, allocations: 0 / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.02019, allocations: 8 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.02019, allocations: 7.938 kB / 442.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.0202, allocations: 4 kB / 442.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.02061, allocations: 320.3 kB / 442.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.02062, allocations: 11.89 kB / 442.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.02064, allocations: 0 / 442.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.02068, allocations: 4 kB / 442.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.0207, allocations: 7.984 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.02071, allocations: 4 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.02079, allocations: 103.2 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02079, allocations: 0 / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009438/0.02173, allocations: 323.3 kB / 443.3 MB, free: 4.957 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.001308/0.02304, allocations: 417 kB / 443.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.02346, allocations: 314.6 kB / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02346, allocations: 0 / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.02365, allocations: 193 kB / 444.2 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.02385, allocations: 11.2 kB / 444.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.02442, allocations: 331 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.02451, allocations: 91.58 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.52e-05/0.02452, allocations: 7.938 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.02454, allocations: 8.5 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.02454, allocations: 0 / 444.6 MB, free: 3.512 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.563938044011593] Failed to read output from testmodel.py, exit status != 0: 0.19844769313931465 0.20919152799999996 0.19052664999999994 Calling exit ...