Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001347/0.001347, 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.001549/0.001549, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2212/0.2212, allocations: 38.55 MB / 353.2 MB, free: 12.33 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002082/0.002082, allocations: 67.91 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 62.47 MB / 0.5427 GB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00377/0.3339, allocations: 2.199 MB / 0.5449 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.3371, allocations: 1.892 MB / 0.5467 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3372, allocations: 1.469 kB / 0.5467 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3373, allocations: 13.44 kB / 0.5467 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.3374, allocations: 26.69 kB / 0.5468 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.3402, allocations: 0.9797 MB / 0.5477 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3403, allocations: 75.5 kB / 0.5478 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.3404, allocations: 10.73 kB / 0.5478 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3405, allocations: 51.39 kB / 0.5478 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.3406, allocations: 49.47 kB / 0.5479 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3406, allocations: 3.031 kB / 0.5479 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.3439, allocations: 2.047 MB / 0.5499 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.344, allocations: 46.66 kB / 0.5499 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.344, allocations: 44.53 kB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.3459, allocations: 1.389 MB / 0.5513 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3459, allocations: 0 / 0.5513 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3459, allocations: 5.047 kB / 0.5513 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3459, allocations: 0 / 0.5513 GB, free: 9.938 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007631/0.3467, allocations: 0.5396 MB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3467, allocations: 18.53 kB / 0.5519 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/0.3467, allocations: 1.281 kB / 0.5519 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3468, allocations: 46.17 kB / 0.5519 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3468, allocations: 23.3 kB / 0.5519 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.347, allocations: 156.5 kB / 0.5521 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.347, allocations: 5.031 kB / 0.5521 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.347, allocations: 1.062 kB / 0.5521 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.3473, allocations: 240.2 kB / 0.5523 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3474, allocations: 0 / 0.5523 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3474, allocations: 3.938 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3474, allocations: 1.188 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.3476, allocations: 199.5 kB / 0.5525 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3478, allocations: 177.5 kB / 0.5527 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.348, allocations: 223.5 kB / 0.5529 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3482, allocations: 204.4 kB / 0.5531 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3482, allocations: 1.031 kB / 0.5531 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3483, allocations: 31.69 kB / 0.5531 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.182e-06/0.3483, allocations: 0 / 0.5531 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001003/0.3493, allocations: 0.7356 MB / 0.5539 GB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.3493, allocations: 103.6 kB / 0.554 GB, free: 8.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3495, allocations: 173.5 kB / 0.5541 GB, free: 7.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3495, allocations: 29.64 kB / 0.5541 GB, free: 7.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.3496, allocations: 106.3 kB / 0.5542 GB, free: 7.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3497, allocations: 134.5 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.3498, allocations: 40.98 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3499, allocations: 342.7 kB / 0.5547 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3501, allocations: 195.9 kB / 0.5549 GB, free: 7.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3503, allocations: 196.2 kB / 0.5551 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.3508, allocations: 466.7 kB / 0.5556 GB, free: 6.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3508, allocations: 0 / 0.5556 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005644/0.3514, allocations: 480.7 kB / 0.556 GB, free: 6.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3515, allocations: 89.62 kB / 0.5561 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3515, allocations: 0 / 0.5561 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3515, allocations: 0 / 0.5561 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3515, allocations: 4.062 kB / 0.5561 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3515, allocations: 0 / 0.5561 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.3516, allocations: 23.83 kB / 0.5561 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.3516, allocations: 8 kB / 0.5561 GB, free: 6.105 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.0002314/0.3519, allocations: 235.4 kB / 0.5564 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.3519, allocations: 31.86 kB / 0.5564 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3519, allocations: 14.64 kB / 0.5564 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3519, allocations: 0 / 0.5564 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3519, allocations: 0 / 0.5564 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3519, allocations: 0 / 0.5564 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3521, allocations: 196.4 kB / 0.5566 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3521, allocations: 7.938 kB / 0.5566 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3521, allocations: 0 / 0.5566 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3521, allocations: 4 kB / 0.5566 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3522, allocations: 4 kB / 0.5566 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3522, allocations: 4 kB / 0.5566 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3522, allocations: 0 / 0.5566 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009814/0.3532, allocations: 0.7928 MB / 0.5574 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.3532, allocations: 23.8 kB / 0.5574 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.3532, allocations: 4 kB / 0.5574 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.3533, allocations: 8 kB / 0.5574 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.3533, allocations: 11.97 kB / 0.5574 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3533, allocations: 12 kB / 0.5574 GB, free: 4.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3534, allocations: 132.2 kB / 0.5576 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3534, allocations: 0 / 0.5576 GB, free: 4.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001195/0.3546, allocations: 363.3 kB / 0.5579 GB, free: 4.195 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.002525/0.3572, allocations: 1.594 MB / 0.5595 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.3581, allocations: 0.7719 MB / 0.5602 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3581, allocations: 0 / 0.5602 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.3586, allocations: 456.8 kB / 0.5607 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3589, allocations: 18.05 kB / 0.5607 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.3637, allocations: 4.004 MB / 0.5646 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.3638, allocations: 140 kB / 0.5647 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.3639, allocations: 4.156 kB / 0.5647 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.3639, allocations: 51.41 kB / 0.5648 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3639, allocations: 0 / 0.5648 GB, free: 12.94 MB / 414.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.1167845770251006] Failed to read output from testmodel.py, exit status != 0: 0.4016004709992558 0.417858881 0.06868668 Calling exit ...