Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001423/0.001423, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001651/0.001651, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 8.91 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.293/0.293, allocations: 29.42 MB / 290.7 MB, free: 3.273 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [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.002353/0.002353, allocations: 67.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3461, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002826/0.3489, allocations: 2.226 MB / 495.9 MB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3513, allocations: 1.907 MB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3513, allocations: 7.094 kB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3514, allocations: 7.266 kB / 497.8 MB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.3515, allocations: 43.52 kB / 497.8 MB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3536, allocations: 0.951 MB / 498.8 MB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3538, allocations: 93.12 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.3538, allocations: 7.109 kB / 498.9 MB, free: 34.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3539, allocations: 53.08 kB / 498.9 MB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.354, allocations: 55.25 kB / 499 MB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.354, allocations: 3.219 kB / 499 MB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.3564, allocations: 1.844 MB / 0.4891 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.3564, allocations: 38.33 kB / 0.4891 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3565, allocations: 28.88 kB / 0.4892 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3577, allocations: 1.33 MB / 0.4905 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3577, allocations: 0 / 0.4905 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3577, allocations: 0 / 0.4905 GB, free: 33.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3577, allocations: 0 / 0.4905 GB, free: 33.9 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004908/0.3582, allocations: 487.8 kB / 0.4909 GB, free: 33.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3582, allocations: 16.95 kB / 0.4909 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3582, allocations: 11.98 kB / 0.491 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3584, allocations: 141.3 kB / 0.4911 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3584, allocations: 10.97 kB / 0.4911 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3584, allocations: 0 / 0.4911 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3586, allocations: 132.1 kB / 0.4912 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3586, allocations: 0 / 0.4912 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.3586, allocations: 0 / 0.4912 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3586, allocations: 0 / 0.4912 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.3587, allocations: 89.45 kB / 0.4913 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.3588, allocations: 116.8 kB / 0.4914 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.3588, allocations: 105.5 kB / 0.4915 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.3589, allocations: 95.83 kB / 0.4916 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.3589, allocations: 0 / 0.4916 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3589, allocations: 41.78 kB / 0.4917 GB, free: 32.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.3589, allocations: 0 / 0.4917 GB, free: 32.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003436/0.3593, allocations: 335.4 kB / 0.492 GB, free: 32.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3593, allocations: 90.34 kB / 0.4921 GB, free: 32.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.3594, allocations: 145.7 kB / 0.4922 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3594, allocations: 28.7 kB / 0.4922 GB, free: 32.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.3595, allocations: 98.91 kB / 0.4923 GB, free: 32.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3595, allocations: 48.97 kB / 0.4924 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.3595, allocations: 26.39 kB / 0.4924 GB, free: 32.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.3596, allocations: 320.7 kB / 0.4927 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3597, allocations: 95.36 kB / 0.4928 GB, free: 31.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.3597, allocations: 84.92 kB / 0.4929 GB, free: 31.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3599, allocations: 202 kB / 0.4931 GB, free: 31.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3599, allocations: 0 / 0.4931 GB, free: 31.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001958/0.3601, allocations: 236.3 kB / 0.4933 GB, free: 31.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.3601, allocations: 52.92 kB / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3601, allocations: 0 / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3601, allocations: 0 / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3601, allocations: 0 / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3601, allocations: 0 / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.3602, allocations: 7.328 kB / 0.4933 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3602, allocations: 17.98 kB / 0.4934 GB, free: 31.65 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 8.525e-05/0.3603, allocations: 168.6 kB / 0.4935 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3603, allocations: 14.45 kB / 0.4935 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3603, allocations: 8.062 kB / 0.4935 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3603, allocations: 0 / 0.4935 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3603, allocations: 0 / 0.4935 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3603, allocations: 0 / 0.4935 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.888e-05/0.3604, allocations: 140.5 kB / 0.4937 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3604, allocations: 3.422 kB / 0.4937 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.3604, allocations: 7.875 kB / 0.4937 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3604, allocations: 4 kB / 0.4937 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3604, allocations: 3.188 kB / 0.4937 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3604, allocations: 3.219 kB / 0.4937 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3604, allocations: 0 / 0.4937 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3607, allocations: 342.8 kB / 0.494 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.3607, allocations: 18.8 kB / 0.494 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3608, allocations: 3.188 kB / 0.494 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.3608, allocations: 7.406 kB / 0.4941 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.3608, allocations: 0 / 0.4941 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3608, allocations: 5.938 kB / 0.4941 GB, free: 31.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.3609, allocations: 117.9 kB / 0.4942 GB, free: 31.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 4.031 kB / 0.4942 GB, free: 31.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.3616, allocations: 330.9 kB / 0.4945 GB, free: 31.01 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.0007609/0.3624, allocations: 368.5 kB / 0.4948 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.3627, allocations: 326.6 kB / 0.4952 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3627, allocations: 3.188 kB / 0.4952 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3628, allocations: 198.3 kB / 0.4953 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3631, allocations: 24.67 kB / 0.4954 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.3636, allocations: 408.3 kB / 0.4958 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.3636, allocations: 101.2 kB / 0.4959 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.382e-05/0.3636, allocations: 0 / 0.4959 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.3637, allocations: 15.53 kB / 0.4959 GB, free: 30.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3637, allocations: 0 / 0.4959 GB, free: 30.24 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: 3.155359289026819] Failed to read output from testmodel.py, exit status != 0: 0.38298801390919834 0.39615093700000004 0.035362974000000005 Calling exit ...