Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.00149/0.00149, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001506/0.001506, allocations: 161.7 kB / 24.26 MB, free: 176 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.481/1.481, allocations: 177.2 MB / 204.6 MB, free: 5.578 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.305/0.305, allocations: 29.41 MB / 290.5 MB, free: 2.445 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.79e-05/3.949e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003931/0.00397, allocations: 2.245 MB / 371.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.007564, allocations: 1.906 MB / 373.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.007624, allocations: 4 kB / 373.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.007768, allocations: 11.86 kB / 373.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.0079, allocations: 43.69 kB / 373.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.01104, allocations: 0.9467 MB / 374.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.01124, allocations: 99.55 kB / 374.2 MB, free: 6 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.01128, allocations: 4 kB / 374.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.01146, allocations: 55.81 kB / 374.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.01157, allocations: 59.8 kB / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.01159, allocations: 0 / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.01501, allocations: 1.847 MB / 376.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.01509, allocations: 35.91 kB / 376.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.01516, allocations: 23.92 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.01842, allocations: 1.492 MB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.01843, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01843, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.01844, allocations: 0 / 377.7 MB, free: 2.477 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008919/0.01933, allocations: 478.2 kB / 378.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.01938, allocations: 15.98 kB / 378.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.01944, allocations: 12.84 kB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.01965, allocations: 141.6 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.01966, allocations: 384 / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.01967, allocations: 4.375 kB / 378.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.01991, allocations: 134.4 kB / 378.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.01992, allocations: 4 kB / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.01993, allocations: 0 / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.01994, allocations: 0 / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.02006, allocations: 89.66 kB / 378.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.02023, allocations: 125.2 kB / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.02038, allocations: 100.2 kB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.0205, allocations: 90.55 kB / 378.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.02051, allocations: 0 / 378.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.02054, allocations: 34.5 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 6.81e-07/0.02054, allocations: 0 / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005174/0.02106, allocations: 334.8 kB / 379.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.02114, allocations: 89.09 kB / 379.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.0213, allocations: 152.5 kB / 379.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.02132, allocations: 25.7 kB / 379.5 MB, free: 496 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.02139, allocations: 96.38 kB / 379.6 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.02146, allocations: 43.59 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.02151, allocations: 25.7 kB / 379.6 MB, free: 320 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.02172, allocations: 322.8 kB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.02184, allocations: 89.66 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.02194, allocations: 81.67 kB / 380.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.02218, allocations: 196.1 kB / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.02219, allocations: 4.062 kB / 380.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003123/0.0225, allocations: 236.3 kB / 380.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.02256, allocations: 57.56 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02257, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.02259, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.02259, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.02259, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.02266, allocations: 7.938 kB / 380.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.02268, allocations: 7.984 kB / 380.6 MB, free: 15.27 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.0001647/0.02285, allocations: 167.5 kB / 380.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.02288, allocations: 23.94 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.02291, allocations: 16.7 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.02291, allocations: 4 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02291, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.02292, allocations: 3.938 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.02305, allocations: 125.2 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.02305, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.02305, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.02305, allocations: 4 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.02307, allocations: 4 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02307, allocations: 3.938 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02307, allocations: 4 kB / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.02379, allocations: 344.3 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.02382, allocations: 15.84 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.02384, allocations: 4 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.02388, allocations: 7.938 kB / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.02391, allocations: 0 / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.02392, allocations: 4 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.02403, allocations: 126.1 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02403, allocations: 0 / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009711/0.025, allocations: 323.4 kB / 381.8 MB, free: 14.05 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.001123/0.02612, allocations: 429.7 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.02661, allocations: 318.6 kB / 382.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02661, allocations: 0 / 382.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.02685, allocations: 193 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.02715, allocations: 23.25 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.02786, allocations: 401.8 kB / 383.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.02798, allocations: 100.2 kB / 383.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.028, allocations: 4 kB / 383.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.02802, allocations: 8.5 kB / 383.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02802, allocations: 0 / 383.2 MB, free: 12.5 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.5126017429865897]