Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001849/0.001849, 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.002302/0.002302, allocations: 205.2 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2013/0.2013, allocations: 38.52 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 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_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.001997/0.001997, allocations: 67.91 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003672/0.3417, allocations: 2.228 MB / 0.545 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.3451, allocations: 2.098 MB / 0.547 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.3452, allocations: 5.094 kB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3453, allocations: 14.34 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3455, allocations: 22.97 kB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.3483, allocations: 0.9879 MB / 0.548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3484, allocations: 75.27 kB / 0.5481 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.3485, allocations: 14.62 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3487, allocations: 43.12 kB / 0.5481 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.474e-05/0.3488, allocations: 53.81 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3488, allocations: 2.312 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.3524, allocations: 2.231 MB / 0.5504 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.3525, allocations: 43.31 kB / 0.5504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.3526, allocations: 56.12 kB / 0.5505 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.3546, allocations: 1.42 MB / 0.5519 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.3546, allocations: 8 kB / 0.5519 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3546, allocations: 1.062 kB / 0.5519 GB, free: 9.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3546, allocations: 0 / 0.5519 GB, free: 9.816 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.0008232/0.3554, allocations: 0.5402 MB / 0.5524 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3555, allocations: 12.36 kB / 0.5524 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/0.3555, allocations: 2.562 kB / 0.5524 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.3556, allocations: 45.2 kB / 0.5524 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.3556, allocations: 18.45 kB / 0.5525 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3558, allocations: 161.7 kB / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.3558, allocations: 4 kB / 0.5526 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3558, allocations: 1.25 kB / 0.5526 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3561, allocations: 139.7 kB / 0.5528 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3561, allocations: 3.938 kB / 0.5528 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3561, allocations: 1.125 kB / 0.5528 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3561, allocations: 0 / 0.5528 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3562, allocations: 96.02 kB / 0.5529 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.3564, allocations: 181.1 kB / 0.553 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3566, allocations: 118.7 kB / 0.5531 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3567, allocations: 108.7 kB / 0.5532 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.3567, allocations: 1.25 kB / 0.5532 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.3568, allocations: 35.84 kB / 0.5533 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.32e-07/0.3568, allocations: 0 / 0.5533 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007545/0.3575, allocations: 497.3 kB / 0.5537 GB, free: 8.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.3576, allocations: 107 kB / 0.5539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3578, allocations: 172.1 kB / 0.554 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3578, allocations: 26.61 kB / 0.554 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3579, allocations: 106.4 kB / 0.5541 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.358, allocations: 142.2 kB / 0.5543 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.3581, allocations: 36.97 kB / 0.5543 GB, free: 7.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3583, allocations: 334.6 kB / 0.5546 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3584, allocations: 99.92 kB / 0.5547 GB, free: 7.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3585, allocations: 99.3 kB / 0.5548 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3589, allocations: 389 kB / 0.5552 GB, free: 7.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3589, allocations: 0 / 0.5552 GB, free: 7.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004149/0.3593, allocations: 339.3 kB / 0.5555 GB, free: 7.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.883e-05/0.3594, allocations: 86.7 kB / 0.5556 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3594, allocations: 0 / 0.5556 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3594, allocations: 1.219 kB / 0.5556 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.025e-06/0.3594, allocations: 3.984 kB / 0.5556 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3594, allocations: 0 / 0.5556 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.3595, allocations: 19.3 kB / 0.5556 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3595, allocations: 8 kB / 0.5556 GB, free: 7.113 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.0002346/0.3598, allocations: 247.3 kB / 0.5559 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3598, allocations: 23.86 kB / 0.5559 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.3598, allocations: 10.66 kB / 0.5559 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3598, allocations: 0 / 0.5559 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3598, allocations: 3.938 kB / 0.5559 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3598, allocations: 0 / 0.5559 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3601, allocations: 220.4 kB / 0.5561 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3601, allocations: 0 / 0.5561 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3601, allocations: 0 / 0.5561 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3601, allocations: 0 / 0.5561 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3601, allocations: 12 kB / 0.5561 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3601, allocations: 3.984 kB / 0.5561 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3601, allocations: 3.938 kB / 0.5561 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3612, allocations: 0.916 MB / 0.557 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.3612, allocations: 23.8 kB / 0.557 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.3612, allocations: 4 kB / 0.5571 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.3613, allocations: 8 kB / 0.5571 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3613, allocations: 4 kB / 0.5571 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3613, allocations: 16.02 kB / 0.5571 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3614, allocations: 128.2 kB / 0.5572 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3614, allocations: 0 / 0.5572 GB, free: 5.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001252/0.3627, allocations: 363.3 kB / 0.5575 GB, free: 5.066 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.00248/0.3652, allocations: 1.726 MB / 0.5592 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3662, allocations: 0.8232 MB / 0.56 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3662, allocations: 0 / 0.56 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.3669, allocations: 0.6084 MB / 0.5606 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3671, allocations: 22 kB / 0.5607 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.3716, allocations: 3.694 MB / 0.5643 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.372, allocations: 0.7556 MB / 0.565 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.338e-05/0.372, allocations: 0 / 0.565 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3721, allocations: 51.42 kB / 0.565 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3721, allocations: 0 / 0.565 GB, free: 13.21 MB / 414.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.0198607339989394] Failed to read output from testmodel.py, exit status != 0: 0.41264299099566415 0.429040907 0.07098214400000001 Calling exit ...