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.001372/0.001372, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001581/0.001581, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.1874/0.1874, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002263/0.002263, allocations: 63.89 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3219, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003506/0.3254, allocations: 2.204 MB / 0.5449 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3287, allocations: 2.107 MB / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.3288, allocations: 0 / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.329, allocations: 18.48 kB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.3291, allocations: 35.34 kB / 0.547 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3317, allocations: 0.9756 MB / 0.548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3319, allocations: 79.14 kB / 0.5481 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.3319, allocations: 16.11 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3321, allocations: 41.78 kB / 0.5481 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3322, allocations: 51.06 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3322, allocations: 1.406 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.336, allocations: 2.226 MB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.3361, allocations: 14.58 kB / 0.5504 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3362, allocations: 21.3 kB / 0.5504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.3386, allocations: 1.359 MB / 0.5517 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3386, allocations: 0 / 0.5517 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3386, allocations: 0 / 0.5517 GB, free: 9.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3386, allocations: 5.156 kB / 0.5517 GB, free: 9.898 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.0008016/0.3394, allocations: 449.1 kB / 0.5521 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3395, allocations: 14.08 kB / 0.5522 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.3395, allocations: 9.562 kB / 0.5522 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.3395, allocations: 36.03 kB / 0.5522 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.3396, allocations: 8.109 kB / 0.5522 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3397, allocations: 125.2 kB / 0.5523 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-06/0.3397, allocations: 1.25 kB / 0.5523 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3397, allocations: 5.156 kB / 0.5523 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3399, allocations: 55.64 kB / 0.5524 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3399, allocations: 1.312 kB / 0.5524 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3399, allocations: 0 / 0.5524 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3399, allocations: 0 / 0.5524 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.34, allocations: 24.42 kB / 0.5524 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.3401, allocations: 140.3 kB / 0.5525 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.3402, allocations: 39.84 kB / 0.5526 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.3402, allocations: 36.11 kB / 0.5526 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-06/0.3402, allocations: 0 / 0.5526 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3403, allocations: 32.12 kB / 0.5526 GB, free: 8.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3403, allocations: 0 / 0.5526 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000304/0.3406, allocations: 153.3 kB / 0.5528 GB, free: 8.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3407, allocations: 87.42 kB / 0.5529 GB, free: 8.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3408, allocations: 127.5 kB / 0.553 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3408, allocations: 25.7 kB / 0.553 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.3408, allocations: 90.33 kB / 0.5531 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.3409, allocations: 27.89 kB / 0.5531 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3409, allocations: 15.66 kB / 0.5532 GB, free: 8.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3411, allocations: 326.3 kB / 0.5535 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.3411, allocations: 23.42 kB / 0.5535 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.3412, allocations: 15.38 kB / 0.5535 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3413, allocations: 127.4 kB / 0.5536 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3413, allocations: 3.938 kB / 0.5536 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001864/0.3415, allocations: 144.1 kB / 0.5538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.3415, allocations: 40.5 kB / 0.5538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3415, allocations: 1 kB / 0.5538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3415, allocations: 0 / 0.5538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3415, allocations: 1.188 kB / 0.5538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3415, allocations: 0 / 0.5538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.3416, allocations: 13.97 kB / 0.5538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3416, allocations: 3.469 kB / 0.5538 GB, free: 7.926 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.0001229/0.3417, allocations: 150.2 kB / 0.554 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3418, allocations: 16.25 kB / 0.554 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.3418, allocations: 10.56 kB / 0.554 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3418, allocations: 0 / 0.554 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3418, allocations: 1.281 kB / 0.554 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3418, allocations: 3.938 kB / 0.554 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3419, allocations: 138.7 kB / 0.5541 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3419, allocations: 3.984 kB / 0.5541 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3419, allocations: 0.9688 kB / 0.5541 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3419, allocations: 0 / 0.5541 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3419, allocations: 7.281 kB / 0.5541 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3419, allocations: 4 kB / 0.5541 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3419, allocations: 1.031 kB / 0.5541 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.3422, allocations: 219.6 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.3422, allocations: 14.25 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3423, allocations: 1.156 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.3423, allocations: 2.188 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.3423, allocations: 2.312 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3423, allocations: 6.156 kB / 0.5544 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.957e-05/0.3424, allocations: 99.39 kB / 0.5545 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 0.5545 GB, free: 7.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001394/0.3438, allocations: 322.7 kB / 0.5548 GB, free: 7.266 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.001838/0.3456, allocations: 1.024 MB / 0.5558 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.346, allocations: 173.2 kB / 0.5559 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.346, allocations: 0 / 0.5559 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3461, allocations: 124.5 kB / 0.5561 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3464, allocations: 16.41 kB / 0.5561 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3484, allocations: 1.697 MB / 0.5577 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3487, allocations: 0.7002 MB / 0.5584 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.627e-05/0.3487, allocations: 4 kB / 0.5584 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.3488, allocations: 15.44 kB / 0.5584 GB, free: 3.965 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3488, allocations: 0 / 0.5584 GB, free: 3.965 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.9556617850321345] Failed to read output from testmodel.py, exit status != 0: 0.3844720649649389 0.400932864 0.058656503000000006 Calling exit ...