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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00185/0.00185, allocations: 63.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3968, allocations: 61.24 MB / 0.5306 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003652/0.4005, allocations: 2.177 MB / 0.5327 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.4036, allocations: 2.062 MB / 0.5347 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.4037, allocations: 0 / 0.5347 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.4039, allocations: 17.44 kB / 0.5347 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.404, allocations: 27.92 kB / 0.5348 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4064, allocations: 0.837 MB / 0.5356 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.4065, allocations: 72.88 kB / 0.5357 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.4066, allocations: 6.922 kB / 0.5357 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.4067, allocations: 38.91 kB / 0.5357 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.4068, allocations: 47.12 kB / 0.5357 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.4068, allocations: 1.375 kB / 0.5357 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.4089, allocations: 1.61 MB / 0.5373 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.409, allocations: 9.438 kB / 0.5373 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.409, allocations: 25.7 kB / 0.5373 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.4105, allocations: 1.314 MB / 0.5386 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4105, allocations: 1.031 kB / 0.5386 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4105, allocations: 4 kB / 0.5386 GB, free: 452 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.4106, allocations: 3.938 kB / 0.5386 GB, free: 448 kB / 382.1 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.000706/0.4113, allocations: 0.504 MB / 0.5391 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4113, allocations: 13.52 kB / 0.5391 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.4114, allocations: 8.328 kB / 0.5392 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.4117, allocations: 186.6 kB / 0.5393 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.4117, allocations: 1.344 kB / 0.5393 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.4117, allocations: 0 / 0.5393 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4119, allocations: 61.77 kB / 0.5394 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4119, allocations: 0 / 0.5394 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4119, allocations: 3.938 kB / 0.5394 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4119, allocations: 1.344 kB / 0.5394 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.4119, allocations: 27.52 kB / 0.5394 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.4121, allocations: 165.3 kB / 0.5396 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.4122, allocations: 39.12 kB / 0.5396 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.4123, allocations: 28 kB / 0.5396 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.4123, allocations: 4 kB / 0.5396 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4123, allocations: 31.59 kB / 0.5397 GB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4123, allocations: 1.312 kB / 0.5397 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003199/0.4126, allocations: 157.8 kB / 0.5398 GB, free: 15.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.4127, allocations: 82.27 kB / 0.5399 GB, free: 15.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4128, allocations: 124.1 kB / 0.54 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4129, allocations: 25.7 kB / 0.54 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.4129, allocations: 91.08 kB / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.413, allocations: 34.55 kB / 0.5402 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.413, allocations: 16.06 kB / 0.5402 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4132, allocations: 325.7 kB / 0.5405 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.4132, allocations: 20.08 kB / 0.5405 GB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.4133, allocations: 23.3 kB / 0.5405 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4134, allocations: 123.9 kB / 0.5407 GB, free: 14.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4134, allocations: 0 / 0.5407 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001758/0.4136, allocations: 131.7 kB / 0.5408 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.4136, allocations: 47.91 kB / 0.5408 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4136, allocations: 0 / 0.5408 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4136, allocations: 1.406 kB / 0.5408 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/0.4136, allocations: 3.984 kB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4137, allocations: 0 / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.4137, allocations: 2.281 kB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.4137, allocations: 4.125 kB / 0.5408 GB, free: 14.33 MB / 398.1 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.0001428/0.4139, allocations: 169.6 kB / 0.541 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.4139, allocations: 7.766 kB / 0.541 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.4139, allocations: 11.34 kB / 0.541 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4139, allocations: 4 kB / 0.541 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4139, allocations: 0 / 0.541 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4139, allocations: 1.219 kB / 0.541 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4141, allocations: 178.3 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4141, allocations: 5.094 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.4141, allocations: 0 / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4141, allocations: 0 / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4141, allocations: 2.75 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4141, allocations: 1.469 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4141, allocations: 0 / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4144, allocations: 226.6 kB / 0.5414 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.4144, allocations: 83.59 kB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.4145, allocations: 1.406 kB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.4145, allocations: 5.688 kB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.4145, allocations: 6.656 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4145, allocations: 2.375 kB / 0.5415 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.4146, allocations: 97.02 kB / 0.5416 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4146, allocations: 4.031 kB / 0.5416 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009897/0.4156, allocations: 327.5 kB / 0.5419 GB, free: 13.52 MB / 398.1 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.0009597/0.4165, allocations: 362.7 kB / 0.5423 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4168, allocations: 169.1 kB / 0.5424 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4168, allocations: 0 / 0.5424 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4169, allocations: 133 kB / 0.5426 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4172, allocations: 7.016 kB / 0.5426 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.4177, allocations: 257 kB / 0.5428 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.418, allocations: 0.6959 MB / 0.5435 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.4181, allocations: 1.188 kB / 0.5435 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.4181, allocations: 8.812 kB / 0.5435 GB, free: 12.26 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4181, allocations: 4 kB / 0.5435 GB, free: 12.25 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.9828416239470243]