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.001386/0.001386, allocations: 73.88 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.001516/0.001516, allocations: 158.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.461/1.461, 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.1791/0.1791, allocations: 29.42 MB / 290.7 MB, free: 3.266 MB / 270.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: 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.002119/0.002119, allocations: 63.89 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 62.45 MB / 493.7 MB, free: 37.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003146/0.337, allocations: 2.181 MB / 495.8 MB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3394, allocations: 1.902 MB / 497.7 MB, free: 35.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.3395, allocations: 11.19 kB / 497.7 MB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3396, allocations: 7.312 kB / 497.8 MB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.3397, allocations: 35.62 kB / 497.8 MB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.3419, allocations: 0.9625 MB / 498.8 MB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.342, allocations: 76.14 kB / 498.8 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.342, allocations: 7.422 kB / 498.8 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3421, allocations: 42.77 kB / 498.9 MB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.3422, allocations: 51.27 kB / 498.9 MB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3422, allocations: 3.25 kB / 498.9 MB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.3447, allocations: 1.893 MB / 0.4891 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.3448, allocations: 41.27 kB / 0.4891 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.3448, allocations: 43.84 kB / 0.4892 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3461, allocations: 1.397 MB / 0.4905 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3461, allocations: 0 / 0.4905 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3461, allocations: 0 / 0.4905 GB, free: 33.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3461, allocations: 0 / 0.4905 GB, free: 33.86 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005912/0.3467, allocations: 0.5495 MB / 0.4911 GB, free: 33.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3468, allocations: 16.36 kB / 0.4911 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3468, allocations: 15.95 kB / 0.4911 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.347, allocations: 160.2 kB / 0.4913 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.347, allocations: 7.281 kB / 0.4913 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.347, allocations: 0 / 0.4913 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3472, allocations: 239.8 kB / 0.4915 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3472, allocations: 4 kB / 0.4915 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3472, allocations: 0 / 0.4915 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3472, allocations: 0 / 0.4915 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3474, allocations: 202.7 kB / 0.4917 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.3475, allocations: 136 kB / 0.4918 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.3477, allocations: 215.1 kB / 0.492 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3478, allocations: 200.3 kB / 0.4922 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.3478, allocations: 3.375 kB / 0.4922 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3479, allocations: 30.56 kB / 0.4922 GB, free: 32.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.122e-06/0.3479, allocations: 0 / 0.4922 GB, free: 32.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007108/0.3486, allocations: 0.7416 MB / 0.493 GB, free: 32.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3486, allocations: 105.3 kB / 0.4931 GB, free: 32.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3487, allocations: 163.8 kB / 0.4932 GB, free: 32.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3487, allocations: 28.86 kB / 0.4932 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.3488, allocations: 103.4 kB / 0.4933 GB, free: 32.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.3489, allocations: 146.3 kB / 0.4935 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.3489, allocations: 32.09 kB / 0.4935 GB, free: 31.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.349, allocations: 338.7 kB / 0.4938 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3491, allocations: 199.8 kB / 0.494 GB, free: 31.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3492, allocations: 194.2 kB / 0.4942 GB, free: 31.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.3496, allocations: 467 kB / 0.4947 GB, free: 31.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3496, allocations: 4.062 kB / 0.4947 GB, free: 31.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004334/0.35, allocations: 487.1 kB / 0.4951 GB, free: 31.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.3501, allocations: 88.69 kB / 0.4952 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3501, allocations: 0 / 0.4952 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3501, allocations: 3.938 kB / 0.4952 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3501, allocations: 0 / 0.4952 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3501, allocations: 0 / 0.4952 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.3502, allocations: 16.95 kB / 0.4952 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3502, allocations: 9.156 kB / 0.4952 GB, free: 31.04 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 0.0001458/0.3503, allocations: 232.3 kB / 0.4955 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3504, allocations: 34.45 kB / 0.4955 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.3504, allocations: 15.88 kB / 0.4955 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3504, allocations: 0 / 0.4955 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3504, allocations: 0 / 0.4955 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3504, allocations: 3.938 kB / 0.4955 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3505, allocations: 163.3 kB / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3505, allocations: 0 / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3505, allocations: 0 / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3505, allocations: 0 / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3505, allocations: 9.281 kB / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3505, allocations: 0 / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3505, allocations: 7.984 kB / 0.4957 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.3512, allocations: 0.7936 MB / 0.4965 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3512, allocations: 25.8 kB / 0.4965 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3513, allocations: 10.44 kB / 0.4965 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.3513, allocations: 6.531 kB / 0.4965 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3514, allocations: 7.188 kB / 0.4965 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3514, allocations: 9.562 kB / 0.4965 GB, free: 30.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.3514, allocations: 124.2 kB / 0.4966 GB, free: 30.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 0 / 0.4966 GB, free: 30.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007392/0.3522, allocations: 360.9 kB / 0.497 GB, free: 30.25 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.0007522/0.3529, allocations: 375.1 kB / 0.4973 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.3536, allocations: 0.7716 MB / 0.4981 GB, free: 29.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3536, allocations: 0 / 0.4981 GB, free: 29.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.3539, allocations: 444.9 kB / 0.4985 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.3541, allocations: 28.31 kB / 0.4985 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.3549, allocations: 0.7762 MB / 0.4993 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.646e-05/0.355, allocations: 145.7 kB / 0.4994 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.065e-05/0.355, allocations: 2.688 kB / 0.4994 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.355, allocations: 8.5 kB / 0.4995 GB, free: 29.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.355, allocations: 0 / 0.4995 GB, free: 29.25 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.909520732006058] Failed to read output from testmodel.py, exit status != 0: 0.37614367506466806 0.388649831 0.039865668 Calling exit ...