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.002126/0.002126, 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.002192/0.002192, allocations: 208.8 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2016/0.2016, allocations: 38.55 MB / 352.5 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.003322/0.003322, allocations: 71.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4084, allocations: 62.47 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003681/0.4121, allocations: 2.19 MB / 0.5441 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.4154, allocations: 1.891 MB / 0.5459 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.4154, allocations: 1.125 kB / 0.5459 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.4156, allocations: 18.12 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/0.4157, allocations: 30.19 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4184, allocations: 0.9656 MB / 0.5469 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.4186, allocations: 71.5 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.4187, allocations: 11.52 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.4188, allocations: 45.98 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4189, allocations: 54 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.4189, allocations: 6.406 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.4223, allocations: 1.895 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.4224, allocations: 42.88 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.4225, allocations: 37.31 kB / 0.549 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.4246, allocations: 1.384 MB / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4246, allocations: 4.984 kB / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4246, allocations: 0 / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4246, allocations: 0 / 0.5504 GB, free: 10.24 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.0009839/0.4256, allocations: 0.5444 MB / 0.5509 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4257, allocations: 17.69 kB / 0.5509 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.4257, allocations: 45.39 kB / 0.551 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.4258, allocations: 18.61 kB / 0.551 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.426, allocations: 157.7 kB / 0.5512 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.426, allocations: 1.062 kB / 0.5512 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.426, allocations: 1.062 kB / 0.5512 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.4264, allocations: 235.9 kB / 0.5514 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.4264, allocations: 0 / 0.5514 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4264, allocations: 0 / 0.5514 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4264, allocations: 9.75 kB / 0.5514 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.4267, allocations: 203.6 kB / 0.5516 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.427, allocations: 176.6 kB / 0.5518 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4274, allocations: 216 kB / 0.552 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.4277, allocations: 205.2 kB / 0.5522 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.4277, allocations: 0 / 0.5522 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4277, allocations: 31.97 kB / 0.5522 GB, free: 8.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 7.91e-07/0.4277, allocations: 0 / 0.5522 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001511/0.4292, allocations: 0.7388 MB / 0.5529 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.4294, allocations: 104.7 kB / 0.553 GB, free: 8.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4296, allocations: 169.1 kB / 0.5532 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4296, allocations: 29.7 kB / 0.5532 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.4297, allocations: 110 kB / 0.5533 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4299, allocations: 134.4 kB / 0.5534 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.43, allocations: 34.14 kB / 0.5535 GB, free: 7.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4302, allocations: 338.4 kB / 0.5538 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.4305, allocations: 199.4 kB / 0.554 GB, free: 7.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.4308, allocations: 196 kB / 0.5542 GB, free: 7.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.4314, allocations: 467.5 kB / 0.5546 GB, free: 7.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4314, allocations: 3.938 kB / 0.5546 GB, free: 7.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007017/0.4321, allocations: 484.7 kB / 0.5551 GB, free: 6.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4322, allocations: 93.69 kB / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4322, allocations: 0 / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4322, allocations: 0 / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.4322, allocations: 0 / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4323, allocations: 3.984 kB / 0.5552 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.4323, allocations: 15.89 kB / 0.5552 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4324, allocations: 8 kB / 0.5552 GB, free: 6.395 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.000254/0.4326, allocations: 235.4 kB / 0.5554 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4327, allocations: 27.86 kB / 0.5554 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.4327, allocations: 22.64 kB / 0.5555 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4327, allocations: 4 kB / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4327, allocations: 0 / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4327, allocations: 3.984 kB / 0.5555 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.4329, allocations: 196.4 kB / 0.5557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4329, allocations: 0 / 0.5557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4329, allocations: 0 / 0.5557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4329, allocations: 3.938 kB / 0.5557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.433, allocations: 8 kB / 0.5557 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.433, allocations: 3.938 kB / 0.5557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.433, allocations: 0 / 0.5557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.4342, allocations: 0.7967 MB / 0.5565 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.4342, allocations: 27.83 kB / 0.5565 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.4342, allocations: 4 kB / 0.5565 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.4343, allocations: 4 kB / 0.5565 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4343, allocations: 8 kB / 0.5565 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.4344, allocations: 12 kB / 0.5565 GB, free: 4.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4345, allocations: 128.2 kB / 0.5566 GB, free: 4.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4345, allocations: 0 / 0.5566 GB, free: 4.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001403/0.4359, allocations: 359.3 kB / 0.557 GB, free: 4.484 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.002411/0.4383, allocations: 1.606 MB / 0.5585 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4393, allocations: 0.7719 MB / 0.5593 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4393, allocations: 0 / 0.5593 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.4398, allocations: 452.8 kB / 0.5597 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4401, allocations: 19.92 kB / 0.5597 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.4448, allocations: 3.995 MB / 0.5636 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.445, allocations: 148.1 kB / 0.5638 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.445, allocations: 0 / 0.5638 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.4451, allocations: 51.41 kB / 0.5638 GB, free: 13.22 MB / 414.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4451, allocations: 4 kB / 0.5638 GB, free: 13.22 MB / 414.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.1813595383428037] Failed to read output from testmodel.py, exit status != 0: 0.48386921687051654 0.499731657 0.071726334 Calling exit ...