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.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.0009967/0.0009967, 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.0009802/0.0009802, 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 0.9788/0.9788, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2326/0.2326, allocations: 29.41 MB / 290.9 MB, free: 2.453 MB / 266.7 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.687e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003239/0.003266, allocations: 2.269 MB / 371.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.005999, allocations: 1.961 MB / 373.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.006071, allocations: 3.938 kB / 373.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.006223, allocations: 15.91 kB / 373.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.006321, allocations: 31.78 kB / 373.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.008676, allocations: 0.9778 MB / 374.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.008815, allocations: 79.62 kB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.008851, allocations: 192 / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.008994, allocations: 43.89 kB / 375 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.009073, allocations: 43.88 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.009086, allocations: 4 kB / 375.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.01191, allocations: 1.902 MB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.01198, allocations: 31.86 kB / 377 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.01203, allocations: 19.92 kB / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.01433, allocations: 1.515 MB / 378.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01433, allocations: 0 / 378.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01434, allocations: 0 / 378.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.01434, allocations: 4 kB / 378.5 MB, free: 2.031 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.0008063/0.01515, allocations: 0.5902 MB / 379.1 MB, free: 1.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01519, allocations: 11.98 kB / 379.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.01524, allocations: 16.84 kB / 379.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.0154, allocations: 148.4 kB / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.01541, allocations: 384 / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.01543, allocations: 3.938 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.01557, allocations: 95.38 kB / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01558, allocations: 0 / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.01559, allocations: 0 / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.0156, allocations: 0 / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.01566, allocations: 68.39 kB / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.01578, allocations: 148.5 kB / 379.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.01587, allocations: 88.73 kB / 379.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.01593, allocations: 69.41 kB / 379.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.01593, allocations: 7.938 kB / 379.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.01596, allocations: 33.39 kB / 379.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.031e-06/0.01596, allocations: 0 / 379.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003441/0.01631, allocations: 295 kB / 380.1 MB, free: 300 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.01635, allocations: 93.09 kB / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.01649, allocations: 212.6 kB / 380.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01651, allocations: 29.7 kB / 380.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.01657, allocations: 147.4 kB / 380.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.01664, allocations: 91.22 kB / 380.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.01668, allocations: 39.36 kB / 380.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01683, allocations: 0.4962 MB / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.01688, allocations: 61.69 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.01693, allocations: 65.69 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.01706, allocations: 148.7 kB / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01706, allocations: 3.938 kB / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002183/0.01728, allocations: 222.3 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.01734, allocations: 61.66 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01734, allocations: 64 / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01736, allocations: 4 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/0.01737, allocations: 0 / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01737, allocations: 0 / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.01742, allocations: 11.89 kB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.01744, allocations: 12 kB / 381.8 MB, free: 14.5 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 0.0001231/0.01757, allocations: 218.2 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.0176, allocations: 27.84 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.01762, allocations: 13.27 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01763, allocations: 0 / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01763, allocations: 0 / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01763, allocations: 4 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.01774, allocations: 152.5 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01774, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.01774, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01774, allocations: 3.938 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01776, allocations: 4 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01776, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01776, allocations: 7.984 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.01809, allocations: 331.3 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.01811, allocations: 15.84 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01814, allocations: 7.938 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.01816, allocations: 8.031 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.01819, allocations: 8 kB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.0182, allocations: 7.984 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.01827, allocations: 147.2 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01827, allocations: 0 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009315/0.0192, allocations: 339.4 kB / 383 MB, free: 13.14 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.0008876/0.02009, allocations: 417 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.02039, allocations: 282.4 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02039, allocations: 4 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.02054, allocations: 196.7 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.02073, allocations: 12 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.02151, allocations: 404.2 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.02156, allocations: 79.33 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.02158, allocations: 0 / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.0216, allocations: 12.5 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0216, allocations: 0 / 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.8617386962287128]