Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001464/0.001464, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001572/0.001572, allocations: 209.9 kB / 23.73 MB, free: 4.387 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2001/0.2001, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.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.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.91 kB / 492.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 62.46 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004144/0.3924, allocations: 2.191 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.3959, allocations: 1.899 MB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.396, allocations: 0 / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.3962, allocations: 22.59 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.3963, allocations: 22.72 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.3992, allocations: 0.9646 MB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3994, allocations: 72.11 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.3994, allocations: 10.92 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3996, allocations: 47.92 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.3997, allocations: 37.61 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3997, allocations: 1.188 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.4034, allocations: 1.902 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.4034, allocations: 10.5 kB / 0.549 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.4035, allocations: 22.11 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.4054, allocations: 1.311 MB / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4054, allocations: 0 / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4054, allocations: 0 / 0.5503 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4054, allocations: 3.938 kB / 0.5503 GB, free: 10.31 MB / 398.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.0007423/0.4062, allocations: 448.9 kB / 0.5507 GB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4062, allocations: 12.77 kB / 0.5507 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.4063, allocations: 37.52 kB / 0.5507 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.4063, allocations: 12.02 kB / 0.5508 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.4065, allocations: 128.7 kB / 0.5509 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.4065, allocations: 1.062 kB / 0.5509 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4065, allocations: 1.219 kB / 0.5509 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4067, allocations: 95.52 kB / 0.551 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4067, allocations: 1.188 kB / 0.551 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4067, allocations: 0 / 0.551 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4067, allocations: 3.984 kB / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.4068, allocations: 71.73 kB / 0.551 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.407, allocations: 142.4 kB / 0.5512 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4071, allocations: 81.05 kB / 0.5513 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.4072, allocations: 68.19 kB / 0.5513 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-06/0.4072, allocations: 1.062 kB / 0.5513 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4072, allocations: 31.69 kB / 0.5514 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4072, allocations: 0 / 0.5514 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003554/0.4076, allocations: 245.4 kB / 0.5516 GB, free: 9.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.4076, allocations: 82.52 kB / 0.5517 GB, free: 8.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4078, allocations: 132.2 kB / 0.5518 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4078, allocations: 25.7 kB / 0.5518 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.4078, allocations: 87.39 kB / 0.5519 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.4079, allocations: 31.03 kB / 0.5519 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4079, allocations: 20.34 kB / 0.5519 GB, free: 8.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4081, allocations: 325.2 kB / 0.5523 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.4082, allocations: 63.78 kB / 0.5523 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.4082, allocations: 62.86 kB / 0.5524 GB, free: 8.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4084, allocations: 138.5 kB / 0.5525 GB, free: 8.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4084, allocations: 1.438 kB / 0.5525 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.4086, allocations: 178.6 kB / 0.5527 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.4086, allocations: 45.47 kB / 0.5527 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4086, allocations: 0 / 0.5527 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4087, allocations: 1.875 kB / 0.5527 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4087, allocations: 4.062 kB / 0.5527 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4087, allocations: 4 kB / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.4087, allocations: 9.391 kB / 0.5527 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.4087, allocations: 7.312 kB / 0.5528 GB, free: 7.992 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.0001371/0.4089, allocations: 155 kB / 0.5529 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.4089, allocations: 4.969 kB / 0.5529 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.4089, allocations: 10 kB / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4089, allocations: 0 / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4089, allocations: 1.812 kB / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4089, allocations: 0 / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.409, allocations: 141.9 kB / 0.5531 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.409, allocations: 4.844 kB / 0.5531 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.409, allocations: 0 / 0.5531 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.409, allocations: 1.062 kB / 0.5531 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4091, allocations: 6.031 kB / 0.5531 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4091, allocations: 1.75 kB / 0.5531 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4091, allocations: 0 / 0.5531 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.4094, allocations: 258.8 kB / 0.5533 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.4094, allocations: 10.23 kB / 0.5533 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4094, allocations: 6.297 kB / 0.5533 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.4094, allocations: 2.562 kB / 0.5533 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.4095, allocations: 5.312 kB / 0.5533 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4095, allocations: 3.781 kB / 0.5533 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.4096, allocations: 98.08 kB / 0.5534 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4096, allocations: 0 / 0.5534 GB, free: 7.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4106, allocations: 319.3 kB / 0.5537 GB, free: 7.309 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.001645/0.4123, allocations: 1.061 MB / 0.5548 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.4126, allocations: 246.4 kB / 0.555 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4126, allocations: 4 kB / 0.555 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4128, allocations: 156.7 kB / 0.5552 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4131, allocations: 7.719 kB / 0.5552 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4153, allocations: 1.896 MB / 0.557 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.4154, allocations: 79.33 kB / 0.5571 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.4154, allocations: 8.141 kB / 0.5571 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.4154, allocations: 15.44 kB / 0.5571 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4154, allocations: 0 / 0.5571 GB, free: 4.098 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658: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.013555312063545] Failed to read output from testmodel.py, exit status != 0: 0.4509283620864153 0.46758163700000005 0.058943022000000005 Calling exit ...