Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001811/0.001811, 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.00209/0.00209, 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.538/1.538, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1825/0.1825, allocations: 29.43 MB / 290.1 MB, free: 3.266 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/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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.713e-05, allocations: 9.172 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004289/0.004316, allocations: 2.188 MB / 432.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.007973, allocations: 1.91 MB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.00805, allocations: 4 kB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.008206, allocations: 7.922 kB / 434.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.008336, allocations: 31.83 kB / 434.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.01151, allocations: 0.9661 MB / 435.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.01168, allocations: 83.62 kB / 435.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.01173, allocations: 4.188 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.0119, allocations: 47.88 kB / 436 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.012, allocations: 35.89 kB / 436 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.01202, allocations: 4 kB / 436 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.01547, allocations: 1.913 MB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.01554, allocations: 31.86 kB / 438 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.01559, allocations: 15.92 kB / 438 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.01778, allocations: 1.508 MB / 439.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.01779, allocations: 0 / 439.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.01779, allocations: 0 / 439.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.0178, allocations: 0 / 439.5 MB, free: 9.129 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008645/0.01866, allocations: 0.4975 MB / 440 MB, free: 8.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.01871, allocations: 11.98 kB / 440 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.01877, allocations: 20.8 kB / 440 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.019, allocations: 145.5 kB / 440.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.01901, allocations: 384 / 440.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01903, allocations: 7.938 kB / 440.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.01931, allocations: 167.3 kB / 440.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01932, allocations: 7.922 kB / 440.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.01934, allocations: 0 / 440.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01934, allocations: 0 / 440.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.0195, allocations: 125.6 kB / 440.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.01966, allocations: 125.2 kB / 440.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.01987, allocations: 144.2 kB / 440.7 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.02003, allocations: 141 kB / 440.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.02004, allocations: 3.938 kB / 440.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.02008, allocations: 34.56 kB / 440.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.02008, allocations: 0 / 440.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006697/0.02075, allocations: 466.8 kB / 441.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.02082, allocations: 101.1 kB / 441.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.02097, allocations: 149.2 kB / 441.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.02099, allocations: 29.64 kB / 441.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.02106, allocations: 100.6 kB / 441.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.02116, allocations: 75.34 kB / 441.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.02121, allocations: 33.73 kB / 441.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.02138, allocations: 326.8 kB / 442.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.02153, allocations: 125.6 kB / 442.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.02166, allocations: 129.7 kB / 442.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.02202, allocations: 294.2 kB / 442.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.02202, allocations: 0 / 442.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003862/0.02241, allocations: 316.8 kB / 443 MB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.02249, allocations: 65.66 kB / 443.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.02249, allocations: 0 / 443.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.02251, allocations: 3.938 kB / 443.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-06/0.02252, allocations: 7.938 kB / 443.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.02253, allocations: 8.047 kB / 443.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.02262, allocations: 15.89 kB / 443.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.02266, allocations: 4 kB / 443.1 MB, free: 5.25 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.0002122/0.02287, allocations: 195.4 kB / 443.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.02291, allocations: 23.84 kB / 443.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.02293, allocations: 9.281 kB / 443.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02293, allocations: 3.984 kB / 443.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02294, allocations: 0 / 443.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.02294, allocations: 0 / 443.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.02307, allocations: 137.1 kB / 443.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.02307, allocations: 4 kB / 443.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.02307, allocations: 0 / 443.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02308, allocations: 7.938 kB / 443.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.02309, allocations: 4 kB / 443.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.02309, allocations: 0 / 443.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02309, allocations: 3.938 kB / 443.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.02374, allocations: 0.5134 MB / 444 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.02376, allocations: 19.84 kB / 444 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.0238, allocations: 15.88 kB / 444 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.283e-05/0.02384, allocations: 4 kB / 444 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.02387, allocations: 4 kB / 444 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.02389, allocations: 8.031 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.02398, allocations: 122.1 kB / 444.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02398, allocations: 0 / 444.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001006/0.02499, allocations: 339.3 kB / 444.5 MB, free: 3.781 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.00105/0.02604, allocations: 405.8 kB / 444.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.02668, allocations: 0.4986 MB / 445.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02668, allocations: 4.062 kB / 445.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.02701, allocations: 296.8 kB / 445.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.02722, allocations: 12 kB / 445.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.028, allocations: 0.5152 MB / 446.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.02812, allocations: 114 kB / 446.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.02813, allocations: 4 kB / 446.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.02814, allocations: 12.56 kB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02814, allocations: 0 / 446.3 MB, free: 1.832 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.7712032087147236] Failed to read output from testmodel.py, exit status != 0: 0.2426905445754528 0.25547410800000003 0.235064767 Calling exit ...