Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001366/0.001366, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001712/0.001712, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.2102/0.2102, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [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.002171/0.002171, allocations: 67.91 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.391, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.0031/0.3941, allocations: 2.181 MB / 495.8 MB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3966, allocations: 1.906 MB / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3967, allocations: 0 / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3968, allocations: 14.52 kB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.3969, allocations: 29.05 kB / 497.8 MB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.3994, allocations: 0.9685 MB / 498.7 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3995, allocations: 73.05 kB / 498.8 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3995, allocations: 7.203 kB / 498.8 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3997, allocations: 41.73 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.3998, allocations: 45.08 kB / 498.9 MB, free: 34.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3998, allocations: 0 / 498.9 MB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.4025, allocations: 1.896 MB / 0.4891 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.4026, allocations: 20.86 kB / 0.4891 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.4026, allocations: 17.47 kB / 0.4891 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.4042, allocations: 1.339 MB / 0.4904 GB, free: 33.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4042, allocations: 0 / 0.4904 GB, free: 33.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4042, allocations: 0 / 0.4904 GB, free: 33.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4042, allocations: 0 / 0.4904 GB, free: 33.93 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005401/0.4047, allocations: 465.5 kB / 0.4909 GB, free: 33.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4048, allocations: 13.52 kB / 0.4909 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.4048, allocations: 18.86 kB / 0.4909 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.405, allocations: 130.1 kB / 0.491 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.405, allocations: 4 kB / 0.491 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.405, allocations: 0 / 0.491 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4051, allocations: 128 kB / 0.4911 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4051, allocations: 0 / 0.4911 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4051, allocations: 0 / 0.4911 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4051, allocations: 0 / 0.4911 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.4052, allocations: 78.14 kB / 0.4912 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.669e-05/0.4053, allocations: 117.8 kB / 0.4913 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.4054, allocations: 105 kB / 0.4914 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.4055, allocations: 82.23 kB / 0.4915 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.4055, allocations: 0 / 0.4915 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.4055, allocations: 33.81 kB / 0.4915 GB, free: 32.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.4055, allocations: 3.938 kB / 0.4915 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003413/0.4058, allocations: 300.1 kB / 0.4918 GB, free: 32.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4059, allocations: 89.94 kB / 0.4919 GB, free: 32.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.406, allocations: 134.3 kB / 0.492 GB, free: 32.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.406, allocations: 25.7 kB / 0.4921 GB, free: 32.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.406, allocations: 94.64 kB / 0.4922 GB, free: 32.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.406, allocations: 45.3 kB / 0.4922 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.4061, allocations: 26.69 kB / 0.4922 GB, free: 32.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.4061, allocations: 325.1 kB / 0.4925 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.4062, allocations: 77.8 kB / 0.4926 GB, free: 32.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.4063, allocations: 84.91 kB / 0.4927 GB, free: 32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.4064, allocations: 180.3 kB / 0.4929 GB, free: 31.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4064, allocations: 0 / 0.4929 GB, free: 31.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001681/0.4066, allocations: 218.7 kB / 0.4931 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.4066, allocations: 47.81 kB / 0.4931 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4066, allocations: 0 / 0.4931 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4066, allocations: 0 / 0.4931 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4066, allocations: 4.062 kB / 0.4931 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4066, allocations: 2.938 kB / 0.4931 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.4067, allocations: 6.953 kB / 0.4931 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4067, allocations: 3.156 kB / 0.4931 GB, free: 31.75 MB / 446.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 9.264e-05/0.4068, allocations: 170.9 kB / 0.4933 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.4068, allocations: 10.61 kB / 0.4933 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.385e-05/0.4068, allocations: 7.656 kB / 0.4933 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4068, allocations: 0 / 0.4933 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4068, allocations: 0 / 0.4933 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4068, allocations: 3.938 kB / 0.4933 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.729e-05/0.4069, allocations: 130.6 kB / 0.4934 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4069, allocations: 0 / 0.4934 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.4069, allocations: 7.312 kB / 0.4934 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.4069, allocations: 0 / 0.4934 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4069, allocations: 3.25 kB / 0.4934 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4069, allocations: 3.375 kB / 0.4935 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4069, allocations: 0 / 0.4935 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.4072, allocations: 336.7 kB / 0.4938 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.4072, allocations: 6.828 kB / 0.4938 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4072, allocations: 10.97 kB / 0.4938 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.4072, allocations: 0 / 0.4938 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.4073, allocations: 6.406 kB / 0.4938 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4073, allocations: 6.281 kB / 0.4938 GB, free: 31.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.4073, allocations: 98.61 kB / 0.4939 GB, free: 31.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 0.4939 GB, free: 31.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007134/0.408, allocations: 328.5 kB / 0.4942 GB, free: 31.12 MB / 446.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.0007652/0.4088, allocations: 369.7 kB / 0.4946 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.4091, allocations: 321.8 kB / 0.4949 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4091, allocations: 0 / 0.4949 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.4093, allocations: 194.4 kB / 0.4951 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4095, allocations: 14.33 kB / 0.4951 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.41, allocations: 359.1 kB / 0.4954 GB, free: 30.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.4101, allocations: 89.72 kB / 0.4955 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.2e-05/0.4101, allocations: 4.125 kB / 0.4955 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.4101, allocations: 11.5 kB / 0.4955 GB, free: 30.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4101, allocations: 0 / 0.4955 GB, free: 30.39 MB / 446.1 MB [CodegenCFunctions.tpl:5678:13-5678: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.9971249379450455] Failed to read output from testmodel.py, exit status != 0: 0.4285014459164813 0.440236178 0.033189227 Calling exit ...