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.002549/0.002549, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003148/0.003148, allocations: 165.3 kB / 24.28 MB, free: 152 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.2904/0.2904, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.473e-06/1.473e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.02e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004025/0.004055, allocations: 2.276 MB / 371.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.007861, allocations: 1.961 MB / 373.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.007925, allocations: 0 / 373.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.008075, allocations: 15.91 kB / 373.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.008195, allocations: 43.69 kB / 373.2 MB, free: 7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.01092, allocations: 0.9583 MB / 374.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.01109, allocations: 99.53 kB / 374.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.01112, allocations: 8 kB / 374.3 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.01131, allocations: 55.88 kB / 374.3 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.01143, allocations: 47.81 kB / 374.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.01145, allocations: 4 kB / 374.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.01522, allocations: 1.855 MB / 376.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.0153, allocations: 31.92 kB / 376.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.01536, allocations: 19.92 kB / 376.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.01809, allocations: 1.488 MB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.0181, allocations: 0 / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.0181, allocations: 0 / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.01811, allocations: 0 / 377.8 MB, free: 2.426 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.0009786/0.01909, allocations: 0.5743 MB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.01914, allocations: 11.98 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.0192, allocations: 12.84 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.01971, allocations: 144.4 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01972, allocations: 4.375 kB / 378.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.01974, allocations: 384 / 378.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.01992, allocations: 87.5 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.01993, allocations: 4 kB / 378.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.01994, allocations: 0 / 378.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.01994, allocations: 0 / 378.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.02002, allocations: 49.69 kB / 378.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.0202, allocations: 136.5 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.02035, allocations: 80.69 kB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.02043, allocations: 57.41 kB / 378.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.02044, allocations: 4 kB / 378.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.02048, allocations: 33.39 kB / 378.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 8.11e-07/0.02049, allocations: 0 / 378.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004146/0.0209, allocations: 229.8 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.02098, allocations: 93.03 kB / 379.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.02117, allocations: 208.1 kB / 379.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.02119, allocations: 25.7 kB / 379.5 MB, free: 484 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.02129, allocations: 147.1 kB / 379.6 MB, free: 332 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.02136, allocations: 51.58 kB / 379.7 MB, free: 280 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.02142, allocations: 31.36 kB / 379.7 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/0.02173, allocations: 0.4962 MB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.0218, allocations: 45.7 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.02187, allocations: 49.69 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.02203, allocations: 123.1 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.02203, allocations: 0 / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00023/0.02226, allocations: 160.9 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/0.02233, allocations: 57.61 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.02233, allocations: 0 / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.02235, allocations: 0 / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.02235, allocations: 3.938 kB / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.02235, allocations: 0 / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.02241, allocations: 7.938 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.02245, allocations: 4 kB / 380.7 MB, free: 15.23 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.0001824/0.02264, allocations: 206.2 kB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.02267, allocations: 23.94 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.02269, allocations: 12.7 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.02269, allocations: 0 / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02269, allocations: 0 / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.0227, allocations: 4 kB / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.02286, allocations: 144.6 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.02286, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.02286, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.02286, allocations: 4 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.02287, allocations: 4 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.02288, allocations: 3.938 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02288, allocations: 4 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.02325, allocations: 246.4 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.02327, allocations: 19.83 kB / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.0233, allocations: 4 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.02334, allocations: 7.938 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.02338, allocations: 4 kB / 381.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.0234, allocations: 11.98 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.02352, allocations: 154.1 kB / 381.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02352, allocations: 0 / 381.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001031/0.02455, allocations: 331.4 kB / 381.8 MB, free: 13.99 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.001034/0.02558, allocations: 409.5 kB / 382.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.02591, allocations: 222.4 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02591, allocations: 0 / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.02609, allocations: 164.7 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.02635, allocations: 16.11 kB / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.02695, allocations: 327.5 kB / 382.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.02706, allocations: 100.2 kB / 383 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.439e-05/0.02708, allocations: 0 / 383 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.02709, allocations: 12.5 kB / 383 MB, free: 12.65 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02709, allocations: 0 / 383 MB, free: 12.65 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.5701410099864006]