Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.00226/0.00226, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002646/0.002646, allocations: 165.3 kB / 24.27 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.524/1.524, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.3206/0.3206, allocations: 29.41 MB / 290.5 MB, free: 2.414 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/2.989e-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_matrixTrDat2): time 0.003795/0.003825, allocations: 2.226 MB / 371.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.00759, allocations: 1.961 MB / 373.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.007664, allocations: 0 / 373.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.00787, allocations: 15.91 kB / 373.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.007979, allocations: 23.84 kB / 373.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.01102, allocations: 0.9817 MB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.01118, allocations: 79.62 kB / 374.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.01123, allocations: 4.188 kB / 374.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.01141, allocations: 43.83 kB / 374.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.01151, allocations: 43.88 kB / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.01153, allocations: 4 kB / 374.3 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.01492, allocations: 1.898 MB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.01499, allocations: 35.86 kB / 376.2 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.01504, allocations: 23.92 kB / 376.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.0173, allocations: 1.508 MB / 377.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.01731, allocations: 0 / 377.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01731, allocations: 4 kB / 377.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01731, allocations: 0 / 377.7 MB, free: 2.414 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008838/0.0182, allocations: 0.5898 MB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.01824, allocations: 15.97 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.01831, allocations: 16.84 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.01853, allocations: 144.4 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.01854, allocations: 4.375 kB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.01855, allocations: 3.938 kB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.01873, allocations: 97.61 kB / 378.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01874, allocations: 0 / 378.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.01875, allocations: 3.938 kB / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.01875, allocations: 0 / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/0.01884, allocations: 61.69 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.01903, allocations: 136.5 kB / 378.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.01917, allocations: 88.95 kB / 378.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.01926, allocations: 69.61 kB / 379 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.01927, allocations: 11.94 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.01931, allocations: 37.38 kB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 8.31e-07/0.01931, allocations: 0 / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004618/0.01977, allocations: 294.5 kB / 379.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.01984, allocations: 93.09 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.02003, allocations: 208.9 kB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.02006, allocations: 29.7 kB / 379.6 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.02016, allocations: 151.4 kB / 379.8 MB, free: 160 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.02025, allocations: 79.23 kB / 379.9 MB, free: 80 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.02032, allocations: 43.36 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.02061, allocations: 0.4962 MB / 380.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.0207, allocations: 69.58 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.02077, allocations: 61.69 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.02097, allocations: 157 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02097, allocations: 3.938 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002747/0.02125, allocations: 214.4 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.02132, allocations: 61.66 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.02133, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.02134, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.02135, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.02135, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.02154, allocations: 19.95 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.02157, allocations: 8 kB / 381 MB, free: 14.89 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.0001847/0.02175, allocations: 218.2 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.02179, allocations: 27.84 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.02182, allocations: 13.27 kB / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.02182, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.02182, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.02182, allocations: 0 / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.02197, allocations: 144.6 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02198, allocations: 4 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-06/0.02198, allocations: 3.938 kB / 381.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.02198, allocations: 11.94 kB / 381.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.022, allocations: 7.984 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.02201, allocations: 3.984 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02201, allocations: 0 / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.02245, allocations: 323.5 kB / 381.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.02248, allocations: 19.84 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.02251, allocations: 7.938 kB / 381.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.02255, allocations: 4 kB / 381.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.02257, allocations: 4 kB / 381.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.02259, allocations: 11.98 kB / 381.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.0227, allocations: 155.1 kB / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0227, allocations: 0 / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009626/0.02367, allocations: 343.3 kB / 382.2 MB, free: 13.52 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.001094/0.02476, allocations: 410 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.02521, allocations: 314.3 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02521, allocations: 0 / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.02546, allocations: 216.8 kB / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.02567, allocations: 12 kB / 383.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.02637, allocations: 400.1 kB / 383.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.02654, allocations: 109.8 kB / 383.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.394e-05/0.02655, allocations: 0 / 383.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.02658, allocations: 8.5 kB / 383.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02658, allocations: 4.062 kB / 383.7 MB, free: 11.97 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.574880718952045]