Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001443/0.001443, allocations: 71.75 kB / 21.24 MB, free: 404 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.001572/0.001572, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.478/1.478, 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.1785/0.1785, allocations: 29.43 MB / 290.7 MB, free: 3.273 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [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.002131/0.002131, allocations: 64.19 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 62.45 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003115/0.3686, allocations: 2.231 MB / 495.9 MB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3702, allocations: 1.038 MB / 496.9 MB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.3703, allocations: 0 / 496.9 MB, free: 35.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3704, allocations: 17.81 kB / 496.9 MB, free: 35.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3705, allocations: 52.97 kB / 497 MB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3716, allocations: 336.7 kB / 497.3 MB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3718, allocations: 112.8 kB / 497.4 MB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.3719, allocations: 3.938 kB / 497.4 MB, free: 35.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.372, allocations: 63.27 kB / 497.5 MB, free: 35.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3721, allocations: 76.41 kB / 497.6 MB, free: 35.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3721, allocations: 3.094 kB / 497.6 MB, free: 35.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007897/0.3729, allocations: 0.5605 MB / 498.1 MB, free: 35.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.373, allocations: 29.97 kB / 498.2 MB, free: 35.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.373, allocations: 35 kB / 498.2 MB, free: 35.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.3736, allocations: 0.5326 MB / 498.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3736, allocations: 0 / 498.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3736, allocations: 0 / 498.7 MB, free: 35.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3736, allocations: 0 / 498.7 MB, free: 35.06 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004714/0.3741, allocations: 404.3 kB / 499.1 MB, free: 34.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3741, allocations: 13.77 kB / 499.1 MB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3742, allocations: 8.328 kB / 499.1 MB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3743, allocations: 127.4 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3743, allocations: 3.625 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3743, allocations: 4.125 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3745, allocations: 161.2 kB / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3745, allocations: 3.938 kB / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3745, allocations: 0 / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3745, allocations: 0 / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.3746, allocations: 118.5 kB / 499.5 MB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3747, allocations: 122.3 kB / 499.7 MB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3749, allocations: 132.1 kB / 499.8 MB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.375, allocations: 120.5 kB / 499.9 MB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.375, allocations: 0 / 499.9 MB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.375, allocations: 41.66 kB / 500 MB, free: 34.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 8.31e-07/0.375, allocations: 0 / 500 MB, free: 34.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004564/0.3754, allocations: 425.4 kB / 0.4886 GB, free: 33.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.3755, allocations: 90 kB / 0.4887 GB, free: 33.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.3755, allocations: 130.1 kB / 0.4888 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.3756, allocations: 33.73 kB / 0.4889 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.3756, allocations: 91.06 kB / 0.489 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.3756, allocations: 75.8 kB / 0.489 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.3757, allocations: 23.44 kB / 0.4891 GB, free: 33.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.3757, allocations: 324.7 kB / 0.4894 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.3758, allocations: 118 kB / 0.4895 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3759, allocations: 119.4 kB / 0.4896 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3761, allocations: 262.2 kB / 0.4898 GB, free: 32.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3761, allocations: 3.938 kB / 0.4899 GB, free: 32.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002659/0.3763, allocations: 296.5 kB / 0.4901 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.3764, allocations: 58.56 kB / 0.4902 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3764, allocations: 4.062 kB / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3764, allocations: 0 / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3764, allocations: 3.062 kB / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3764, allocations: 0 / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.3765, allocations: 10.92 kB / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3765, allocations: 6.094 kB / 0.4902 GB, free: 32.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 0.0001036/0.3766, allocations: 180.1 kB / 0.4904 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3766, allocations: 21.22 kB / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.3766, allocations: 5.125 kB / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3766, allocations: 10.58 kB / 0.4904 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3767, allocations: 4 kB / 0.4904 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3767, allocations: 0 / 0.4904 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.3767, allocations: 128.7 kB / 0.4905 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3767, allocations: 0 / 0.4905 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-06/0.3767, allocations: 3.25 kB / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3767, allocations: 3.938 kB / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3767, allocations: 3.156 kB / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3767, allocations: 0 / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3767, allocations: 0 / 0.4906 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3771, allocations: 456 kB / 0.491 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.3772, allocations: 15.05 kB / 0.491 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3772, allocations: 10.28 kB / 0.491 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.3772, allocations: 3.094 kB / 0.491 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3773, allocations: 6.938 kB / 0.491 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3773, allocations: 6.25 kB / 0.491 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.3773, allocations: 104 kB / 0.4911 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3773, allocations: 0 / 0.4911 GB, free: 32.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.3778, allocations: 132.3 kB / 0.4913 GB, free: 32.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.0004065/0.3782, allocations: 192.9 kB / 0.4914 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.3786, allocations: 448.6 kB / 0.4919 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3786, allocations: 0 / 0.4919 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3788, allocations: 258.7 kB / 0.4921 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.379, allocations: 23.22 kB / 0.4921 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.3796, allocations: 468.3 kB / 0.4926 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.3796, allocations: 107.6 kB / 0.4927 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.3796, allocations: 6.719 kB / 0.4927 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.3796, allocations: 8.5 kB / 0.4927 GB, free: 31.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3796, allocations: 2.781 kB / 0.4927 GB, free: 31.32 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.9313788439612836] Failed to read output from testmodel.py, exit status != 0: 0.39468263497110456 0.40580616299999994 0.029750259 Calling exit ...