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.001836/0.001836, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001993/0.001993, allocations: 169.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.605/1.605, 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.3284/0.3284, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.633e-06/1.633e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.885e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003716/0.003745, allocations: 2.226 MB / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.00756, allocations: 1.961 MB / 373.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.007618, allocations: 0 / 373.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.007768, allocations: 15.91 kB / 373.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.007862, allocations: 23.84 kB / 373.1 MB, free: 7.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.01081, allocations: 0.9778 MB / 374.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.01097, allocations: 79.62 kB / 374.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.01101, allocations: 4.188 kB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.01119, allocations: 47.83 kB / 374.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.01129, allocations: 39.88 kB / 374.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.0113, allocations: 0 / 374.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.01493, allocations: 1.898 MB / 376.2 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.01499, allocations: 23.91 kB / 376.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.01503, allocations: 11.94 kB / 376.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.01736, allocations: 1.488 MB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01736, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01736, allocations: 0 / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01737, 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008515/0.01822, allocations: 0.5472 MB / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01826, allocations: 8.031 kB / 378.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.01832, allocations: 12.89 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.01854, allocations: 148.4 kB / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.01856, allocations: 3.938 kB / 378.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.01857, allocations: 0 / 378.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.01874, allocations: 79.39 kB / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.01875, allocations: 0 / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.01876, allocations: 0 / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.01876, allocations: 0 / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.01883, allocations: 45.69 kB / 378.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.019, allocations: 128.6 kB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.01912, allocations: 80.62 kB / 378.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.01919, allocations: 57.42 kB / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.01919, allocations: 0 / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.01923, allocations: 37.38 kB / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.01923, allocations: 0 / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003621/0.01959, allocations: 202.7 kB / 379 MB, free: 0.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.01969, allocations: 93.03 kB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01986, allocations: 192.6 kB / 379.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01989, allocations: 25.7 kB / 379.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.01998, allocations: 138.9 kB / 379.5 MB, free: 484 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.02003, allocations: 35.69 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.02009, allocations: 39.39 kB / 379.5 MB, free: 400 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.02037, allocations: 0.4884 MB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.02043, allocations: 45.69 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.02048, allocations: 45.91 kB / 380.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.02063, allocations: 118.5 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02064, allocations: 0 / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002055/0.02084, allocations: 156.9 kB / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.0209, allocations: 49.61 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.02091, allocations: 4 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.02092, allocations: 0 / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.02092, allocations: 0 / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.02093, allocations: 4.062 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.02098, allocations: 7.938 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.021, allocations: 4 kB / 380.5 MB, free: 15.41 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.0001744/0.02118, allocations: 202.2 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.02121, allocations: 15.89 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.02123, allocations: 12.77 kB / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.02123, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.02123, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.02123, allocations: 0 / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.02138, allocations: 140.6 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.02138, allocations: 7.938 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.02139, allocations: 3.938 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.02139, allocations: 0 / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.02141, allocations: 4 kB / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.02141, allocations: 0 / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.02141, allocations: 0 / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.02175, allocations: 231.7 kB / 381.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.02177, allocations: 11.83 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.02179, allocations: 4 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.02182, allocations: 4 kB / 381.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.02185, allocations: 4 kB / 381.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02186, allocations: 8.031 kB / 381.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.02197, allocations: 139.2 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02197, allocations: 0 / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009488/0.02291, allocations: 327.4 kB / 381.5 MB, free: 14.23 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.001003/0.02392, allocations: 406.3 kB / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.02423, allocations: 214.4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02423, allocations: 4.062 kB / 382.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.02439, allocations: 140.8 kB / 382.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.0246, allocations: 21.36 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.02512, allocations: 283.7 kB / 382.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.02522, allocations: 87.22 kB / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.028e-05/0.02523, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.02525, allocations: 16.56 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02525, allocations: 0 / 382.7 MB, free: 12.98 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.654178119963035]