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.001662/0.001662, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001999/0.001999, allocations: 161 kB / 24.56 MB, free: 16 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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.2233/0.2233, allocations: 29.41 MB / 290.9 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.379e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00272/0.002754, allocations: 2.265 MB / 371.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.005057, allocations: 1.961 MB / 373.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.005114, allocations: 3.938 kB / 373.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.00531, allocations: 23.84 kB / 373.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.005394, allocations: 23.78 kB / 373.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.007254, allocations: 0.974 MB / 374.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.007372, allocations: 79.67 kB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.007416, allocations: 4.188 kB / 375 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.007548, allocations: 51.83 kB / 375 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.007622, allocations: 39.81 kB / 375.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.007634, allocations: 4 kB / 375.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.009815, allocations: 1.909 MB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.009861, allocations: 7.938 kB / 377 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.009903, allocations: 15.98 kB / 377 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.01164, allocations: 1.473 MB / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01165, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01165, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.01165, allocations: 0 / 378.5 MB, free: 2.105 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.0007347/0.01239, allocations: 0.5282 MB / 379 MB, free: 1.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.01243, allocations: 19.98 kB / 379 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.0125, allocations: 8.891 kB / 379 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.01264, allocations: 136.4 kB / 379.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.01265, allocations: 3.938 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.01266, allocations: 0 / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.01277, allocations: 79.31 kB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.01278, allocations: 0 / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.01279, allocations: 0 / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.01279, allocations: 0 / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.01282, allocations: 41.7 kB / 379.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.01293, allocations: 120.6 kB / 379.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.01299, allocations: 68.69 kB / 379.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.01302, allocations: 49.42 kB / 379.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.01303, allocations: 7.922 kB / 379.5 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.01305, allocations: 41.33 kB / 379.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.01305, allocations: 0 / 379.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002125/0.01327, allocations: 174.7 kB / 379.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.01331, allocations: 85.11 kB / 379.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.01341, allocations: 185.5 kB / 380 MB, free: 368 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.01342, allocations: 25.7 kB / 380 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.01345, allocations: 138.9 kB / 380.2 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.01349, allocations: 31.73 kB / 380.2 MB, free: 160 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.01352, allocations: 23.38 kB / 380.2 MB, free: 128 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01368, allocations: 0.4923 MB / 380.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.01371, allocations: 37.7 kB / 380.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.01374, allocations: 45.78 kB / 380.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.0138, allocations: 103.4 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0138, allocations: 0 / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.01391, allocations: 137 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.01395, allocations: 37.69 kB / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01395, allocations: 0 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01397, allocations: 8.062 kB / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.015e-06/0.01397, allocations: 0 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01397, allocations: 0 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.01401, allocations: 0 / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.01402, allocations: 4 kB / 381.1 MB, free: 15.2 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.0001656/0.01419, allocations: 206.2 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.0142, allocations: 15.83 kB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.01422, allocations: 8.438 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.01422, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01422, allocations: 4 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01423, allocations: 4 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.002e-05/0.0143, allocations: 124.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0143, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.0143, allocations: 7.938 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.0143, allocations: 0 / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01431, allocations: 3.984 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01432, allocations: 0 / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01432, allocations: 4 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.01447, allocations: 187.7 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.01448, allocations: 11.89 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.01449, allocations: 7.984 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.01451, allocations: 4.031 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.01453, allocations: 0 / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.01453, allocations: 4 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.01459, allocations: 143.1 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01459, allocations: 0 / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007867/0.01537, allocations: 319.3 kB / 382.1 MB, free: 14.08 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.0007567/0.01613, allocations: 405.3 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.0163, allocations: 178.5 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0163, allocations: 4 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.01636, allocations: 124.7 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01652, allocations: 12 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.0172, allocations: 243.3 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.01724, allocations: 67.34 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.421e-05/0.01726, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.01727, allocations: 8.5 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01727, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB [CodegenCFunctions.tpl:6359:13-6359: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: 1.9357505487278104]