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.001368/0.001368, 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.00152/0.00152, allocations: 210.6 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2087/0.2087, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [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.003726/0.003726, allocations: 75.88 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4052, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003717/0.409, allocations: 2.194 MB / 0.5446 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.4123, allocations: 1.894 MB / 0.5464 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.4124, allocations: 5.125 kB / 0.5464 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.4126, allocations: 10.11 kB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.4126, allocations: 31.08 kB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.4154, allocations: 0.9613 MB / 0.5474 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.4155, allocations: 75.81 kB / 0.5475 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.4156, allocations: 7.266 kB / 0.5475 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4157, allocations: 42.03 kB / 0.5475 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4159, allocations: 58.2 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4159, allocations: 3.375 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.4193, allocations: 1.89 MB / 0.5494 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.4194, allocations: 47.23 kB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.4195, allocations: 41.92 kB / 0.5495 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.4215, allocations: 1.392 MB / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4215, allocations: 4 kB / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4215, allocations: 0 / 0.5509 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4215, allocations: 1.125 kB / 0.5509 GB, free: 10.41 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.0008734/0.4224, allocations: 0.5432 MB / 0.5514 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4224, allocations: 14.17 kB / 0.5514 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.4225, allocations: 18.58 kB / 0.5515 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.4227, allocations: 162.2 kB / 0.5516 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4227, allocations: 0 / 0.5516 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.4227, allocations: 5.375 kB / 0.5516 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.4231, allocations: 231.2 kB / 0.5518 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4231, allocations: 0 / 0.5518 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4231, allocations: 5.062 kB / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4231, allocations: 0 / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.4234, allocations: 208.8 kB / 0.552 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.4235, allocations: 133.3 kB / 0.5522 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.4239, allocations: 215 kB / 0.5524 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4241, allocations: 205.5 kB / 0.5526 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.4241, allocations: 0 / 0.5526 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.4242, allocations: 36.86 kB / 0.5526 GB, free: 9.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.242e-06/0.4242, allocations: 0 / 0.5526 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001031/0.4252, allocations: 0.7339 MB / 0.5533 GB, free: 8.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.4253, allocations: 112.4 kB / 0.5534 GB, free: 8.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4255, allocations: 165.3 kB / 0.5536 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4255, allocations: 26.89 kB / 0.5536 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.4255, allocations: 105.1 kB / 0.5537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4257, allocations: 138.2 kB / 0.5538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.4257, allocations: 38.17 kB / 0.5539 GB, free: 8.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.426, allocations: 334.6 kB / 0.5542 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4262, allocations: 199.1 kB / 0.5544 GB, free: 7.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4264, allocations: 201.6 kB / 0.5546 GB, free: 7.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.427, allocations: 469.2 kB / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.427, allocations: 0 / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005751/0.4276, allocations: 484.7 kB / 0.5555 GB, free: 6.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4277, allocations: 92.28 kB / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4277, allocations: 0 / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4277, allocations: 0 / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.4277, allocations: 0 / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4277, allocations: 3.938 kB / 0.5556 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.4278, allocations: 15.89 kB / 0.5556 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.4278, allocations: 15.98 kB / 0.5556 GB, free: 6.445 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.000248/0.4281, allocations: 227.4 kB / 0.5558 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.4281, allocations: 31.84 kB / 0.5559 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.4281, allocations: 18.69 kB / 0.5559 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4281, allocations: 0 / 0.5559 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4281, allocations: 0 / 0.5559 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4281, allocations: 0 / 0.5559 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4283, allocations: 161 kB / 0.556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4283, allocations: 0 / 0.556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4283, allocations: 0 / 0.556 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.4283, allocations: 4 kB / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4283, allocations: 11.92 kB / 0.556 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4283, allocations: 0 / 0.556 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4283, allocations: 4 kB / 0.556 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4294, allocations: 0.7967 MB / 0.5568 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4294, allocations: 23.8 kB / 0.5568 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.4294, allocations: 4 kB / 0.5569 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.4295, allocations: 11.98 kB / 0.5569 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.4295, allocations: 4 kB / 0.5569 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.4296, allocations: 12 kB / 0.5569 GB, free: 5.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.4297, allocations: 136.2 kB / 0.557 GB, free: 4.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4297, allocations: 0 / 0.557 GB, free: 4.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4308, allocations: 355.3 kB / 0.5573 GB, free: 4.59 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.000929/0.4317, allocations: 373.9 kB / 0.5577 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.4327, allocations: 0.7757 MB / 0.5585 GB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4327, allocations: 0 / 0.5585 GB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.4332, allocations: 448.9 kB / 0.5589 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.4334, allocations: 18 kB / 0.5589 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4346, allocations: 0.7814 MB / 0.5597 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4348, allocations: 144 kB / 0.5598 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.215e-05/0.4348, allocations: 0 / 0.5598 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.4348, allocations: 11.44 kB / 0.5598 GB, free: 1.953 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4348, allocations: 0 / 0.5598 GB, free: 1.953 MB / 398.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.3263941034674644] Failed to read output from testmodel.py, exit status != 0: 0.4605655036866665 0.47401250799999994 0.049384197000000005 Calling exit ...