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.001026/0.001026, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001177/0.001177, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2404/0.2404, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 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.753e-06/1.753e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.637e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.006179/0.006205, allocations: 2.277 MB / 371.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005673/0.01188, allocations: 1.965 MB / 373.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.01194, allocations: 0 / 373.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.01208, allocations: 7.922 kB / 373.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.01218, allocations: 39.7 kB / 373.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.01745, allocations: 0.974 MB / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.01759, allocations: 75.64 kB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.01763, allocations: 8.172 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.01777, allocations: 39.89 kB / 375 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.01785, allocations: 43.88 kB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.01787, allocations: 4 kB / 375.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.02326, allocations: 1.902 MB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.02332, allocations: 31.86 kB / 377 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.02337, allocations: 23.92 kB / 377 MB, free: 3.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.02498, allocations: 1.512 MB / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.02498, allocations: 0 / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.02499, allocations: 0 / 378.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.02499, allocations: 0 / 378.5 MB, free: 2.047 MB / 346.7 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.0005719/0.02556, allocations: 0.5902 MB / 379.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.02561, allocations: 15.98 kB / 379.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.02566, allocations: 12.84 kB / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.0258, allocations: 144.4 kB / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.02581, allocations: 4.375 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.02582, allocations: 11.92 kB / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.02596, allocations: 94.22 kB / 379.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.02597, allocations: 4 kB / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.02598, allocations: 0 / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.02598, allocations: 0 / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.02604, allocations: 69.48 kB / 379.5 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.02615, allocations: 136.5 kB / 379.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.02622, allocations: 88.75 kB / 379.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.02627, allocations: 69.41 kB / 379.8 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.02628, allocations: 7.938 kB / 379.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.0263, allocations: 33.39 kB / 379.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 8.22e-07/0.0263, allocations: 0 / 379.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002797/0.02658, allocations: 299 kB / 380.1 MB, free: 312 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.02662, allocations: 93.09 kB / 380.2 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.02674, allocations: 212.6 kB / 380.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.02675, allocations: 25.7 kB / 380.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.0268, allocations: 147.3 kB / 380.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.02686, allocations: 91.22 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.0269, allocations: 35.38 kB / 380.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.02702, allocations: 0.5079 MB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.02707, allocations: 61.69 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.0271, allocations: 61.69 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.02721, allocations: 149.1 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02721, allocations: 4 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001601/0.02737, allocations: 218.3 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.02742, allocations: 61.66 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.02742, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.02744, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-06/0.02744, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.02745, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.02749, allocations: 19.95 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.02751, allocations: 4 kB / 381.8 MB, free: 14.52 MB / 362.7 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 9.759e-05/0.02761, allocations: 222.2 kB / 382 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.02763, allocations: 31.83 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.02765, allocations: 9.281 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02765, allocations: 7.984 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.02766, allocations: 0 / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02766, allocations: 0 / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.02775, allocations: 148.5 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02775, allocations: 0 / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.02775, allocations: 4 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.02776, allocations: 3.938 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.02777, allocations: 8 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.02777, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.02777, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.02803, allocations: 335.3 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.02805, allocations: 11.91 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.02806, allocations: 7.938 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.02809, allocations: 4 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.02811, allocations: 8 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.02812, allocations: 8 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.02817, allocations: 155.2 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02817, allocations: 3.938 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.02877, allocations: 339.3 kB / 383 MB, free: 13.15 MB / 362.7 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.0006923/0.02946, allocations: 413.1 kB / 383.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.02971, allocations: 286.3 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02971, allocations: 0 / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.02983, allocations: 196.8 kB / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.02999, allocations: 12 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.03065, allocations: 400.1 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.03069, allocations: 79.31 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.03071, allocations: 4 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.03073, allocations: 16.5 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03073, allocations: 3.938 kB / 384.4 MB, free: 11.66 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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: 1.9335362380370498]