Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005493/0.0005494, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5672, allocations: 103.7 MB / 376.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.5676, allocations: 99 kB / 376.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7544/1.322, allocations: 82.23 MB / 458.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.322, allocations: 0 / 458.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002349/1.322, allocations: 74.73 kB / 458.8 MB, free: 76.1 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.009779/1.332, allocations: 2.931 MB / 461.7 MB, free: 74.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.332, allocations: 10.56 kB / 461.7 MB, free: 74.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/1.335, allocations: 417.3 kB / 462.1 MB, free: 74.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/1.34, allocations: 1.76 MB / 463.9 MB, free: 74.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/1.341, allocations: 188.2 kB / 464.1 MB, free: 74.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006757/1.341, allocations: 261 kB / 464.3 MB, free: 74.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008932/1.35, allocations: 3.22 MB / 467.5 MB, free: 73.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.35, allocations: 2.156 kB / 467.5 MB, free: 73.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/1.351, allocations: 110.6 kB / 467.6 MB, free: 73.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/1.351, allocations: 109 kB / 467.7 MB, free: 73.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007856/1.359, allocations: 2.578 MB / 470.3 MB, free: 73.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/1.384, allocations: 10.4 MB / 480.7 MB, free: 68.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/1.388, allocations: 1.794 MB / 482.5 MB, free: 67.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/1.388, allocations: 134.1 kB / 482.6 MB, free: 67.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.388, allocations: 47.62 kB / 482.7 MB, free: 67.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 5.02e-06/1.388, allocations: 4 kB / 482.7 MB, free: 67.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.03401/1.422, allocations: 8.845 MB / 491.5 MB, free: 63.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.422, allocations: 66.81 kB / 491.6 MB, free: 63.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/1.426, allocations: 1.783 MB / 493.4 MB, free: 63.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.426, allocations: 49.67 kB / 493.4 MB, free: 63.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000981/1.427, allocations: 1.235 MB / 494.7 MB, free: 62.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/1.428, allocations: 494.2 kB / 495.2 MB, free: 61.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/1.428, allocations: 27.88 kB / 495.2 MB, free: 61.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/1.428, allocations: 375 kB / 495.6 MB, free: 61.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/1.431, allocations: 0.8709 MB / 496.4 MB, free: 61.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/1.434, allocations: 1.35 MB / 497.8 MB, free: 60.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/1.437, allocations: 1.074 MB / 498.8 MB, free: 59.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/1.437, allocations: 4 kB / 498.9 MB, free: 59.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01097/1.448, allocations: 2.973 MB / 0.4901 GB, free: 56.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/1.448, allocations: 12 kB / 0.4901 GB, free: 56.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-05/1.448, allocations: 16 kB / 0.4901 GB, free: 56.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/1.451, allocations: 0.5826 MB / 0.4907 GB, free: 55.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/1.455, allocations: 407.4 kB / 0.491 GB, free: 55.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.471, allocations: 5.664 MB / 0.4966 GB, free: 50.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.474, allocations: 122.9 kB / 0.4967 GB, free: 50.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000458/1.475, allocations: 82.89 kB / 0.4968 GB, free: 50.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (185): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002212/1.477, allocations: 0.7878 MB / 0.4975 GB, free: 49.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/1.478, allocations: 209.3 kB / 0.4977 GB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00724/1.485, allocations: 2.635 MB / 0.5003 GB, free: 47.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.485, allocations: 15.89 kB / 0.5003 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.485, allocations: 4 kB / 0.5003 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/1.485, allocations: 7.938 kB / 0.5003 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.501, allocations: 5.457 MB / 0.5057 GB, free: 41.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/1.501, allocations: 7.984 kB / 0.5057 GB, free: 41.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.503, allocations: 248 kB / 0.5059 GB, free: 41.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003924/1.507, allocations: 0.65 MB / 0.5065 GB, free: 41.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003489/1.507, allocations: 43.86 kB / 0.5066 GB, free: 41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.521, allocations: 7.386 MB / 0.5138 GB, free: 33.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.521, allocations: 7.938 kB / 0.5138 GB, free: 33.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009983/1.531, allocations: 3.83 MB / 0.5176 GB, free: 29.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.532, allocations: 470.5 kB / 0.518 GB, free: 28.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007137/1.533, allocations: 35.69 kB / 0.518 GB, free: 28.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.535, allocations: 111.9 kB / 0.5181 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004415/1.536, allocations: 117 kB / 0.5183 GB, free: 28.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.536, allocations: 43.98 kB / 0.5183 GB, free: 28.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002798/1.539, allocations: 1.228 MB / 0.5195 GB, free: 27.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.02e-07/1.539, allocations: 0 / 0.5195 GB, free: 27.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003437/1.542, allocations: 0.6132 MB / 0.5201 GB, free: 26.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008933/1.543, allocations: 315 kB / 0.5204 GB, free: 26.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007439/1.551, allocations: 2.603 MB / 0.5229 GB, free: 23.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.551, allocations: 4 kB / 0.5229 GB, free: 23.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/1.555, allocations: 1.633 MB / 0.5245 GB, free: 22.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.559, allocations: 396.9 kB / 0.5249 GB, free: 21.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.573, allocations: 6.073 MB / 0.5308 GB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/1.575, allocations: 2.068 MB / 0.5329 GB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002424/1.578, allocations: 417.7 kB / 0.5333 GB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/1.579, allocations: 119.4 kB / 0.5334 GB, free: 13.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/1.579, allocations: 0 / 0.5334 GB, free: 13.14 MB / 346.7 MB Notification: Performance of Templates: time 0.3562/1.935, allocations: 29.92 MB / 0.5626 GB, free: 90.73 MB / 362.7 MB