Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.048e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08388, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4642, allocations: 105.4 MB / 422.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4645, allocations: 85.27 kB / 422.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1893/0.6538, allocations: 46.09 MB / 468.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6539, allocations: 0 / 468.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002305/0.6541, allocations: 63.92 kB / 468.5 MB, free: 7.727 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00694/0.6611, allocations: 2.251 MB / 470.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6611, allocations: 8.031 kB / 470.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.6627, allocations: 296.7 kB / 471.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.6679, allocations: 1.592 MB / 472.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.6681, allocations: 160.2 kB / 472.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007777/0.6689, allocations: 208 kB / 473 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/0.6765, allocations: 2.687 MB / 475.7 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.444e-05/0.6766, allocations: 19.78 kB / 475.8 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.677, allocations: 88 kB / 475.8 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.6771, allocations: 96.19 kB / 475.9 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006223/0.6834, allocations: 2.113 MB / 478 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.7049, allocations: 8.628 MB / 486.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.7085, allocations: 1.672 MB / 488.3 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.7104, allocations: 0.781 MB / 489.1 MB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.7109, allocations: 219.1 kB / 489.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.7109, allocations: 51.55 kB / 489.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 4.951e-06/0.711, allocations: 0 / 489.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.01924/0.7302, allocations: 5.929 MB / 495.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.7303, allocations: 68.41 kB / 495.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.7332, allocations: 1.241 MB / 496.6 MB, free: 10.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.7335, allocations: 45.7 kB / 496.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.7347, allocations: 1.03 MB / 497.7 MB, free: 9.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006355/0.7353, allocations: 433.7 kB / 498.1 MB, free: 9.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.7355, allocations: 32 kB / 498.2 MB, free: 9.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.7357, allocations: 361.9 kB / 498.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.7374, allocations: 0.6951 MB / 499.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.7395, allocations: 1.061 MB / 0.4885 GB, free: 7.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.7416, allocations: 0.8793 MB / 0.4894 GB, free: 6.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.7417, allocations: 4 kB / 0.4894 GB, free: 6.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006483/0.7482, allocations: 2.466 MB / 0.4918 GB, free: 3.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.7483, allocations: 11.98 kB / 0.4918 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.7483, allocations: 12.25 kB / 0.4918 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.7505, allocations: 0.5802 MB / 0.4924 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.7524, allocations: 335.5 kB / 0.4927 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.7638, allocations: 6.307 MB / 0.4989 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.7657, allocations: 112 kB / 0.499 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.766, allocations: 67.98 kB / 0.4991 GB, free: 11.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.7664, allocations: 184.5 kB / 0.4992 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.767, allocations: 166 kB / 0.4994 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/0.7729, allocations: 2.277 MB / 0.5016 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/0.7729, allocations: 16 kB / 0.5016 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.773, allocations: 11.92 kB / 0.5016 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.773, allocations: 7.984 kB / 0.5016 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.7855, allocations: 4.684 MB / 0.5062 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.7856, allocations: 7.938 kB / 0.5062 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.787, allocations: 208 kB / 0.5064 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/0.7896, allocations: 0.6392 MB / 0.5071 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.7899, allocations: 35.97 kB / 0.5071 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2455/1.035, allocations: 8.048 MB / 0.5149 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.544e-06/1.035, allocations: 2.562 kB / 0.5149 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007163/1.043, allocations: 3.399 MB / 0.5183 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.044, allocations: 395.5 kB / 0.5186 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/1.044, allocations: 31.06 kB / 0.5187 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.046, allocations: 97.66 kB / 0.5188 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.046, allocations: 102.8 kB / 0.5189 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.046, allocations: 36.27 kB / 0.5189 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002076/1.048, allocations: 0.9504 MB / 0.5198 GB, free: 113.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.048, allocations: 0.7656 kB / 0.5198 GB, free: 113.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00254/1.051, allocations: 0.5127 MB / 0.5203 GB, free: 113.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007212/1.052, allocations: 319.6 kB / 0.5206 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004867/1.057, allocations: 2.209 MB / 0.5228 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.124e-06/1.057, allocations: 0.9062 kB / 0.5228 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.06, allocations: 1.429 MB / 0.5242 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.063, allocations: 375 kB / 0.5245 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008257/1.071, allocations: 3.691 MB / 0.5281 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/1.073, allocations: 1.863 MB / 0.53 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001731/1.075, allocations: 355.8 kB / 0.5303 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/1.075, allocations: 110 kB / 0.5304 GB, free: 111.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.242e-06/1.075, allocations: 3.969 kB / 0.5304 GB, free: 111.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06379/1.139, allocations: 27.03 MB / 0.5568 GB, free: 109.5 MB / 426.7 MB