Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001686/0.001686, allocations: 112.1 kB / 19.03 MB, free: 3.258 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.002045/0.002045, allocations: 192.4 kB / 22.22 MB, free: 80 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.435/1.435, 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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1822/0.1822, allocations: 38.51 MB / 344.4 MB, free: 2.52 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/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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4136, allocations: 61.24 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003968/0.4176, allocations: 2.174 MB / 0.5327 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.421, allocations: 2.06 MB / 0.5347 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.4211, allocations: 1.5 kB / 0.5347 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.4213, allocations: 11.39 kB / 0.5347 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.4214, allocations: 33.55 kB / 0.5347 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.4243, allocations: 0.8447 MB / 0.5356 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4245, allocations: 74.12 kB / 0.5356 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.4245, allocations: 2.938 kB / 0.5356 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.4246, allocations: 38.91 kB / 0.5357 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.4247, allocations: 39.12 kB / 0.5357 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4248, allocations: 5.312 kB / 0.5357 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.4273, allocations: 1.61 MB / 0.5373 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.4274, allocations: 17.55 kB / 0.5373 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.4274, allocations: 26.69 kB / 0.5373 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.4291, allocations: 1.329 MB / 0.5386 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4291, allocations: 0.9375 kB / 0.5386 GB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4291, allocations: 0 / 0.5386 GB, free: 268 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4291, allocations: 0 / 0.5386 GB, free: 268 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007592/0.4298, allocations: 0.5266 MB / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4299, allocations: 11.92 kB / 0.5392 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.4299, allocations: 9.141 kB / 0.5392 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.4301, allocations: 196.3 kB / 0.5394 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4302, allocations: 7.984 kB / 0.5394 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4302, allocations: 1.25 kB / 0.5394 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.4303, allocations: 63.95 kB / 0.5394 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4303, allocations: 1.25 kB / 0.5394 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.4304, allocations: 0 / 0.5394 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4304, allocations: 1.438 kB / 0.5394 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.4304, allocations: 33.98 kB / 0.5395 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.4307, allocations: 175.6 kB / 0.5396 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.4307, allocations: 50.47 kB / 0.5397 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.4308, allocations: 40.48 kB / 0.5397 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.4308, allocations: 4.156 kB / 0.5397 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.4308, allocations: 32.19 kB / 0.5398 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.4308, allocations: 3.938 kB / 0.5398 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003893/0.4312, allocations: 195.4 kB / 0.5399 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.4313, allocations: 89.75 kB / 0.54 GB, free: 14.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4315, allocations: 138.3 kB / 0.5402 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4315, allocations: 27.2 kB / 0.5402 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.4315, allocations: 91.08 kB / 0.5403 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.4316, allocations: 40.16 kB / 0.5403 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.4316, allocations: 21.48 kB / 0.5403 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4318, allocations: 327 kB / 0.5406 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.4319, allocations: 29.98 kB / 0.5407 GB, free: 14.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.432, allocations: 30.77 kB / 0.5407 GB, free: 14.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.4322, allocations: 175.4 kB / 0.5409 GB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4322, allocations: 0 / 0.5409 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002611/0.4324, allocations: 155.9 kB / 0.541 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.4325, allocations: 48.59 kB / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4325, allocations: 3.984 kB / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4325, allocations: 1.781 kB / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.4325, allocations: 0 / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4326, allocations: 3.984 kB / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.4326, allocations: 3.406 kB / 0.5411 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.4326, allocations: 7.375 kB / 0.5411 GB, free: 14.04 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.000176/0.4328, allocations: 168.2 kB / 0.5412 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4328, allocations: 10.45 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.4329, allocations: 6.75 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4329, allocations: 5.266 kB / 0.5413 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4329, allocations: 0 / 0.5413 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4329, allocations: 0 / 0.5413 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.4331, allocations: 186.6 kB / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4331, allocations: 0 / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-06/0.4331, allocations: 5.344 kB / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4331, allocations: 0 / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4331, allocations: 7.438 kB / 0.5415 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4331, allocations: 0 / 0.5415 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4331, allocations: 5.031 kB / 0.5415 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.4335, allocations: 288.2 kB / 0.5417 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.4336, allocations: 88.14 kB / 0.5418 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4336, allocations: 2.125 kB / 0.5418 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.009e-05/0.4336, allocations: 2.25 kB / 0.5418 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.4336, allocations: 6.531 kB / 0.5418 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4336, allocations: 7.5 kB / 0.5418 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.4337, allocations: 109 kB / 0.5419 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4337, allocations: 0 / 0.5419 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001286/0.435, allocations: 328.5 kB / 0.5423 GB, free: 13.21 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.001062/0.4361, allocations: 367.1 kB / 0.5426 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4365, allocations: 239.7 kB / 0.5428 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4365, allocations: 0 / 0.5428 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.4367, allocations: 160.5 kB / 0.543 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4369, allocations: 15.5 kB / 0.543 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.4376, allocations: 307 kB / 0.5433 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.438, allocations: 0.7103 MB / 0.544 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.332e-05/0.438, allocations: 5.172 kB / 0.544 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.438, allocations: 8.625 kB / 0.544 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.438, allocations: 1.25 kB / 0.544 GB, free: 11.88 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: 3.0342954229563475]