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.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.001644/0.001644, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.0014/0.0014, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.1891/0.1891, allocations: 38.55 MB / 353.2 MB, free: 12.3 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",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.00224/0.00224, allocations: 63.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3492, allocations: 62.48 MB / 0.5427 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003633/0.3529, allocations: 2.184 MB / 0.5449 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.3559, allocations: 1.896 MB / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.356, allocations: 0 / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3561, allocations: 10.7 kB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.89e-05/0.3562, allocations: 29.77 kB / 0.5467 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.3589, allocations: 0.9832 MB / 0.5477 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.359, allocations: 70.41 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3591, allocations: 10.55 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3593, allocations: 50.55 kB / 0.5478 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3594, allocations: 43.39 kB / 0.5479 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3594, allocations: 1.094 kB / 0.5479 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.3629, allocations: 2.042 MB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.3629, allocations: 21.83 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.363, allocations: 28.39 kB / 0.5499 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3649, allocations: 1.334 MB / 0.5512 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3649, allocations: 1 kB / 0.5512 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3649, allocations: 0 / 0.5512 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3649, allocations: 0 / 0.5512 GB, free: 10.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000646/0.3656, allocations: 466.7 kB / 0.5517 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3656, allocations: 13.83 kB / 0.5517 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.3657, allocations: 1.25 kB / 0.5517 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3657, allocations: 33.12 kB / 0.5517 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3657, allocations: 8.266 kB / 0.5517 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3659, allocations: 138.5 kB / 0.5518 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3659, allocations: 1.062 kB / 0.5518 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3659, allocations: 9.094 kB / 0.5519 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3662, allocations: 112 kB / 0.552 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3662, allocations: 5.266 kB / 0.552 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3662, allocations: 0 / 0.552 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3662, allocations: 0 / 0.552 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3663, allocations: 80.8 kB / 0.552 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3665, allocations: 153.9 kB / 0.5522 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3666, allocations: 99 kB / 0.5523 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.3667, allocations: 91.62 kB / 0.5524 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.3667, allocations: 1.625 kB / 0.5524 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3667, allocations: 30.56 kB / 0.5524 GB, free: 8.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.3667, allocations: 1.688 kB / 0.5524 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004457/0.3672, allocations: 297.3 kB / 0.5527 GB, free: 8.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3672, allocations: 86.08 kB / 0.5528 GB, free: 8.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3674, allocations: 139.2 kB / 0.5529 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3674, allocations: 29.64 kB / 0.5529 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.3675, allocations: 96.19 kB / 0.553 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.3675, allocations: 40.14 kB / 0.5531 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3676, allocations: 18.25 kB / 0.5531 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3677, allocations: 326.6 kB / 0.5534 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.3678, allocations: 82.02 kB / 0.5535 GB, free: 8.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.3679, allocations: 87.95 kB / 0.5536 GB, free: 7.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3681, allocations: 185.4 kB / 0.5537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3681, allocations: 0 / 0.5537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002552/0.3683, allocations: 213.7 kB / 0.5539 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.3684, allocations: 44.78 kB / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3684, allocations: 1.125 kB / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3684, allocations: 0 / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3684, allocations: 0 / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3684, allocations: 5.25 kB / 0.554 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.3685, allocations: 10.33 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3685, allocations: 3.781 kB / 0.554 GB, free: 7.672 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.0001603/0.3686, allocations: 172.9 kB / 0.5542 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3687, allocations: 10.48 kB / 0.5542 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.3687, allocations: 6.938 kB / 0.5542 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3687, allocations: 1.094 kB / 0.5542 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3687, allocations: 0 / 0.5542 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3687, allocations: 3.938 kB / 0.5542 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3688, allocations: 147 kB / 0.5543 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3688, allocations: 7.938 kB / 0.5543 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3688, allocations: 0 / 0.5543 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3688, allocations: 1.031 kB / 0.5543 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3688, allocations: 3.156 kB / 0.5543 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3688, allocations: 0 / 0.5543 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3688, allocations: 5.109 kB / 0.5543 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3692, allocations: 329.5 kB / 0.5547 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.3693, allocations: 6.422 kB / 0.5547 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3693, allocations: 7.781 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.3693, allocations: 5.266 kB / 0.5547 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.3693, allocations: 6.156 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3693, allocations: 12.34 kB / 0.5547 GB, free: 7.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.945e-05/0.3694, allocations: 101.5 kB / 0.5548 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3694, allocations: 0 / 0.5548 GB, free: 6.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3705, allocations: 328.8 kB / 0.5551 GB, free: 6.934 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.001641/0.3722, allocations: 1.121 MB / 0.5562 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.3726, allocations: 314.7 kB / 0.5565 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3726, allocations: 4.094 kB / 0.5565 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3728, allocations: 197 kB / 0.5567 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.373, allocations: 24.69 kB / 0.5567 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.3756, allocations: 2.189 MB / 0.5588 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.3757, allocations: 91.59 kB / 0.5589 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.445e-05/0.3757, allocations: 96 / 0.5589 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3758, allocations: 31.36 kB / 0.559 GB, free: 2.992 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3758, allocations: 0 / 0.559 GB, free: 2.992 MB / 398.1 MB [CodegenCFunctions.tpl:5657:13-5657: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.00061182200443] Failed to read output from testmodel.py, exit status != 0: 0.4119935049675405 0.42665518399999997 0.058654349 Calling exit ...