Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001868/0.001868, allocations: 73.56 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.002116/0.002116, allocations: 159.4 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1814/0.1814, allocations: 29.44 MB / 290.7 MB, free: 3.266 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_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.002087/0.002087, allocations: 59.91 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 62.45 MB / 493.7 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002941/0.3561, allocations: 2.235 MB / 495.9 MB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3574, allocations: 1.026 MB / 496.9 MB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.3575, allocations: 0 / 496.9 MB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3576, allocations: 17.86 kB / 496.9 MB, free: 35.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3577, allocations: 58.12 kB / 497 MB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.3586, allocations: 330.8 kB / 497.3 MB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3587, allocations: 119.9 kB / 497.4 MB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3587, allocations: 7.375 kB / 497.4 MB, free: 35.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3589, allocations: 58.17 kB / 497.5 MB, free: 35.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.359, allocations: 68.45 kB / 497.6 MB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.359, allocations: 7.312 kB / 497.6 MB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.3597, allocations: 0.5621 MB / 498.1 MB, free: 35.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.3597, allocations: 37.27 kB / 498.2 MB, free: 35.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.3598, allocations: 31.25 kB / 498.2 MB, free: 35.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.3603, allocations: 0.5296 MB / 498.7 MB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3603, allocations: 0 / 498.7 MB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3603, allocations: 0 / 498.7 MB, free: 35.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3603, allocations: 0 / 498.7 MB, free: 35.07 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.000374/0.3607, allocations: 400.2 kB / 499.1 MB, free: 34.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3607, allocations: 9.25 kB / 499.1 MB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3607, allocations: 11.92 kB / 499.1 MB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3609, allocations: 140.5 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3609, allocations: 3.469 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3609, allocations: 4.125 kB / 499.3 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3611, allocations: 155.6 kB / 499.4 MB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3611, allocations: 3.984 kB / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3611, allocations: 0 / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3611, allocations: 0 / 499.4 MB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.3612, allocations: 115.9 kB / 499.5 MB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.471e-05/0.3613, allocations: 125.7 kB / 499.7 MB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3614, allocations: 138.9 kB / 499.8 MB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.3615, allocations: 122.9 kB / 499.9 MB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3615, allocations: 0 / 499.9 MB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3615, allocations: 34.5 kB / 500 MB, free: 34.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 8.21e-07/0.3615, allocations: 3.188 kB / 500 MB, free: 34.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004336/0.3619, allocations: 418.9 kB / 0.4886 GB, free: 33.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.362, allocations: 96.73 kB / 0.4887 GB, free: 33.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.3621, allocations: 133.3 kB / 0.4889 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3621, allocations: 28.95 kB / 0.4889 GB, free: 33.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.3621, allocations: 91.62 kB / 0.489 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.3621, allocations: 72.61 kB / 0.489 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3622, allocations: 33.94 kB / 0.4891 GB, free: 33.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3622, allocations: 321.4 kB / 0.4894 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.3623, allocations: 113.6 kB / 0.4895 GB, free: 33.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.3624, allocations: 117.8 kB / 0.4896 GB, free: 33.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3626, allocations: 262.4 kB / 0.4899 GB, free: 32.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3626, allocations: 3.375 kB / 0.4899 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002225/0.3628, allocations: 290.8 kB / 0.4901 GB, free: 32.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.3628, allocations: 63.28 kB / 0.4902 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3628, allocations: 0 / 0.4902 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3629, allocations: 3 kB / 0.4902 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3629, allocations: 8 kB / 0.4902 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3629, allocations: 0 / 0.4902 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3629, allocations: 10.86 kB / 0.4902 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3629, allocations: 6.531 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 9.253e-05/0.363, allocations: 181.8 kB / 0.4904 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.3631, allocations: 21.5 kB / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.3631, allocations: 11.66 kB / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3631, allocations: 0 / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3631, allocations: 0 / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3631, allocations: 0 / 0.4904 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.533e-05/0.3631, allocations: 127.9 kB / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3631, allocations: 4 kB / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3631, allocations: 0 / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3631, allocations: 3.938 kB / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3632, allocations: 6.344 kB / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3632, allocations: 0 / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3632, allocations: 3.328 kB / 0.4906 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3635, allocations: 450.1 kB / 0.491 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.3635, allocations: 18.67 kB / 0.491 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3635, allocations: 6.062 kB / 0.491 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.3636, allocations: 2.906 kB / 0.491 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3636, allocations: 10.38 kB / 0.491 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3636, allocations: 14.09 kB / 0.491 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.3637, allocations: 102.9 kB / 0.4911 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3637, allocations: 0 / 0.4911 GB, free: 32.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.3641, allocations: 133.2 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.0003348/0.3644, allocations: 189.3 kB / 0.4915 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.3647, allocations: 442.2 kB / 0.4919 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3647, allocations: 0 / 0.4919 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3649, allocations: 261.8 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.0002053/0.3651, allocations: 15.77 kB / 0.4921 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.3656, allocations: 464.5 kB / 0.4926 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.3657, allocations: 104.7 kB / 0.4927 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.3657, allocations: 0 / 0.4927 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.3657, allocations: 15.72 kB / 0.4927 GB, free: 31.34 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3657, allocations: 3.938 kB / 0.4927 GB, free: 31.34 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.0430315979756415] Failed to read output from testmodel.py, exit status != 0: 0.379906214075163 0.389842167 0.026692696000000002 Calling exit ...