Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001746/0.001746, 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.001559/0.001559, allocations: 165.7 kB / 24.27 MB, free: 168 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.461/1.461, 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.3102/0.3102, 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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.062e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003733/0.003763, allocations: 2.219 MB / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.007382, allocations: 1.899 MB / 373 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.00744, allocations: 0 / 373 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.00762, allocations: 15.92 kB / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.00772, allocations: 31.7 kB / 373.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.01046, allocations: 0.9584 MB / 374 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.01061, allocations: 87.61 kB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.01064, allocations: 192 / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.01081, allocations: 51.88 kB / 374.1 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.0109, allocations: 31.89 kB / 374.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.01091, allocations: 4 kB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.01447, allocations: 1.902 MB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.01453, allocations: 11.92 kB / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.01459, allocations: 19.94 kB / 376.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.01703, allocations: 1.469 MB / 377.6 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.01704, allocations: 4 kB / 377.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01704, allocations: 0 / 377.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01705, allocations: 0 / 377.6 MB, free: 2.562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007793/0.01783, allocations: 446.5 kB / 378 MB, free: 2.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.01788, allocations: 15.97 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.01794, allocations: 8.891 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.01815, allocations: 125.6 kB / 378.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01817, allocations: 11.92 kB / 378.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.01818, allocations: 4 kB / 378.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.01836, allocations: 95.38 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.01836, allocations: 0 / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.01837, allocations: 0 / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01838, allocations: 7.984 kB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.01847, allocations: 57.69 kB / 378.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.01862, allocations: 109.3 kB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.01875, allocations: 84.12 kB / 378.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.01884, allocations: 70.58 kB / 378.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.01884, allocations: 0 / 378.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.01889, allocations: 30.56 kB / 378.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.02e-07/0.01889, allocations: 4 kB / 378.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004239/0.01931, allocations: 234.7 kB / 378.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.01939, allocations: 89.09 kB / 379 MB, free: 1.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01952, allocations: 125.8 kB / 379.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01954, allocations: 25.7 kB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.01961, allocations: 92.12 kB / 379.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.01966, allocations: 27.91 kB / 379.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.0197, allocations: 17.7 kB / 379.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003192/0.02002, allocations: 318.8 kB / 379.5 MB, free: 392 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.02011, allocations: 65.66 kB / 379.6 MB, free: 320 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.02019, allocations: 65.72 kB / 379.7 MB, free: 248 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.02036, allocations: 144.5 kB / 379.8 MB, free: 88 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02036, allocations: 3.938 kB / 379.8 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.02061, allocations: 177.2 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.02067, allocations: 41.69 kB / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.02068, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02069, allocations: 3.938 kB / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.02069, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.0207, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.02075, allocations: 4 kB / 380 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.02077, allocations: 4 kB / 380 MB, free: 15.83 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.000157/0.02092, allocations: 163.6 kB / 380.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.02095, allocations: 11.89 kB / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.754e-05/0.02097, allocations: 8.438 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.02097, allocations: 7.984 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02098, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.02098, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.0211, allocations: 113.2 kB / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.0211, allocations: 0 / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.0211, allocations: 4 kB / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.0211, allocations: 3.938 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.02111, allocations: 4 kB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.02112, allocations: 0 / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02112, allocations: 4 kB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.02145, allocations: 256.3 kB / 380.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.02147, allocations: 15.88 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.02149, allocations: 0 / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.02152, allocations: 4 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.02154, allocations: 0 / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.02155, allocations: 4 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.02163, allocations: 99.27 kB / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02163, allocations: 0 / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001015/0.02264, allocations: 323.4 kB / 381 MB, free: 14.75 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.001052/0.0237, allocations: 406.2 kB / 381.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.02405, allocations: 242.7 kB / 381.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02405, allocations: 0 / 381.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.02421, allocations: 153 kB / 381.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.02448, allocations: 16.12 kB / 381.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.02504, allocations: 277.6 kB / 382.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.888e-05/0.02513, allocations: 83.31 kB / 382.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.035e-05/0.02514, allocations: 0 / 382.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.02515, allocations: 8.5 kB / 382.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02515, allocations: 0 / 382.2 MB, free: 13.49 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.557243895949796]