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.001984/0.001984, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002506/0.002506, allocations: 161.7 kB / 24.27 MB, free: 172 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.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3148/0.3148, allocations: 29.42 MB / 290.5 MB, free: 2.43 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_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.492e-06/1.492e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.564e-05, allocations: 6.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003646/0.003671, allocations: 2.203 MB / 371.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.007116, allocations: 1.891 MB / 373 MB, free: 7.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.00717, allocations: 3.938 kB / 373 MB, free: 7.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.007297, allocations: 15.91 kB / 373 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.007385, allocations: 27.78 kB / 373.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.01003, allocations: 0.9662 MB / 374 MB, free: 6.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.0102, allocations: 83.61 kB / 374.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.01024, allocations: 4.125 kB / 374.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.01041, allocations: 47.83 kB / 374.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.0105, allocations: 39.88 kB / 374.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.01051, allocations: 8 kB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.01391, allocations: 1.894 MB / 376.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.01397, allocations: 15.92 kB / 376.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.01401, allocations: 11.94 kB / 376.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.01621, allocations: 1.492 MB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01621, allocations: 0 / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01621, allocations: 0 / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.01622, allocations: 4 kB / 377.6 MB, free: 2.551 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007502/0.01697, allocations: 466.3 kB / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.017, allocations: 8.031 kB / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.01707, allocations: 8.891 kB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.01726, allocations: 133.6 kB / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.01728, allocations: 3.938 kB / 378.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.01729, allocations: 3.938 kB / 378.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.0175, allocations: 115.4 kB / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.01751, allocations: 0 / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.01752, allocations: 0 / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.01752, allocations: 0 / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.01763, allocations: 81.67 kB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.01779, allocations: 117.2 kB / 378.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.01793, allocations: 100.2 kB / 378.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.01806, allocations: 89.89 kB / 378.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.01807, allocations: 4 kB / 378.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.01811, allocations: 30.56 kB / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.01811, allocations: 0 / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004636/0.01857, allocations: 298.6 kB / 379 MB, free: 0.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.01864, allocations: 89.09 kB / 379.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.01878, allocations: 132.5 kB / 379.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.01881, allocations: 29.73 kB / 379.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.01887, allocations: 92.14 kB / 379.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.01894, allocations: 35.69 kB / 379.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.01899, allocations: 25.7 kB / 379.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.01917, allocations: 318.8 kB / 379.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01927, allocations: 81.61 kB / 379.8 MB, free: 116 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.01938, allocations: 85.83 kB / 379.9 MB, free: 24 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01962, allocations: 176.2 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.01962, allocations: 3.938 kB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002926/0.01991, allocations: 216.9 kB / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.01997, allocations: 41.75 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01998, allocations: 4 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.02, allocations: 4 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.02, allocations: 0 / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.02, allocations: 3.984 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.02005, allocations: 11.94 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02007, allocations: 3.938 kB / 380.4 MB, free: 15.53 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.0001629/0.02024, allocations: 167.5 kB / 380.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.02026, allocations: 11.95 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.02029, allocations: 12.78 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02029, allocations: 4 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.0203, allocations: 7.984 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.0203, allocations: 0 / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.02043, allocations: 121.2 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02043, allocations: 3.938 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.02044, allocations: 0 / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-06/0.02044, allocations: 0 / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.02045, allocations: 4 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.02045, allocations: 0 / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.02045, allocations: 0 / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.0209, allocations: 331.9 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.02092, allocations: 11.83 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.02094, allocations: 8.031 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.02097, allocations: 4 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.021, allocations: 11.91 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02101, allocations: 4 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.0211, allocations: 103.3 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0211, allocations: 0 / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009098/0.02201, allocations: 323.4 kB / 381.5 MB, free: 14.35 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.001058/0.02307, allocations: 410.3 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004532/0.02352, allocations: 306.7 kB / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02352, allocations: 0 / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.02375, allocations: 189 kB / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.02405, allocations: 15.94 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.02466, allocations: 342 kB / 382.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.02477, allocations: 95.34 kB / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.02478, allocations: 4 kB / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.0248, allocations: 12.44 kB / 382.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02481, allocations: 0 / 382.8 MB, free: 12.9 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.5662203510291874]