Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.696e-05, allocations: 8 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09127, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5019, allocations: 107.9 MB / 450.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5022, allocations: 84.52 kB / 450.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1998/0.702, allocations: 50.48 MB / 0.4893 GB, free: 3.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.7021, allocations: 0 / 0.4893 GB, free: 3.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001937/0.7023, allocations: 67.92 kB / 0.4893 GB, free: 3.883 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005744/0.708, allocations: 2.502 MB / 0.4918 GB, free: 1.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7081, allocations: 8.031 kB / 0.4918 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.7092, allocations: 336.3 kB / 0.4921 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004393/0.7136, allocations: 1.771 MB / 0.4938 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.7138, allocations: 180.7 kB / 0.494 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.7144, allocations: 240.6 kB / 0.4942 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00689/0.7213, allocations: 3.011 MB / 0.4972 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-05/0.7214, allocations: 3.906 kB / 0.4972 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/0.7217, allocations: 100 kB / 0.4973 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.7219, allocations: 96.58 kB / 0.4974 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005716/0.7276, allocations: 2.426 MB / 0.4997 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.7485, allocations: 9.755 MB / 0.5093 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.7523, allocations: 2.139 MB / 0.5113 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.7542, allocations: 0.9255 MB / 0.5122 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.7547, allocations: 227.1 kB / 0.5125 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.7548, allocations: 43.56 kB / 0.5125 GB, free: 11.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.957e-06/0.7548, allocations: 7.938 kB / 0.5125 GB, free: 11.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=141): time 0.019/0.7738, allocations: 6.488 MB / 0.5188 GB, free: 4.809 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.7739, allocations: 68.7 kB / 0.5189 GB, free: 4.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.7771, allocations: 1.511 MB / 0.5204 GB, free: 3.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.7773, allocations: 49.7 kB / 0.5204 GB, free: 3.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.7784, allocations: 1.132 MB / 0.5215 GB, free: 2.016 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.779, allocations: 488.9 kB / 0.522 GB, free: 1.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.7792, allocations: 32 kB / 0.522 GB, free: 1.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.7795, allocations: 373.8 kB / 0.5224 GB, free: 1.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.7812, allocations: 0.7966 MB / 0.5232 GB, free: 340 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2677/1.049, allocations: 1.161 MB / 0.5243 GB, free: 113.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/1.051, allocations: 0.9774 MB / 0.5253 GB, free: 113.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.051, allocations: 3.531 kB / 0.5253 GB, free: 113.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.006446/1.058, allocations: 2.695 MB / 0.5279 GB, free: 113.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.058, allocations: 10.34 kB / 0.5279 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.058, allocations: 15.62 kB / 0.5279 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/1.06, allocations: 0.5811 MB / 0.5285 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.062, allocations: 367.7 kB / 0.5288 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009434/1.071, allocations: 6.319 MB / 0.535 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.073, allocations: 118.8 kB / 0.5351 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.073, allocations: 65.77 kB / 0.5352 GB, free: 110.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * 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.0003923/1.074, allocations: 202 kB / 0.5354 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/1.074, allocations: 185.9 kB / 0.5356 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/1.08, allocations: 2.514 MB / 0.538 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.08, allocations: 13.78 kB / 0.538 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.08, allocations: 6.047 kB / 0.538 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.08, allocations: 11.58 kB / 0.538 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.092, allocations: 5.263 MB / 0.5432 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.092, allocations: 1.812 kB / 0.5432 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.093, allocations: 234.5 kB / 0.5434 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/1.095, allocations: 0.6365 MB / 0.544 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/1.096, allocations: 35.64 kB / 0.5441 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.106, allocations: 8.044 MB / 0.5519 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.871e-06/1.106, allocations: 7.703 kB / 0.5519 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/1.113, allocations: 3.823 MB / 0.5557 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.114, allocations: 452.8 kB / 0.5561 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/1.115, allocations: 35.09 kB / 0.5561 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.116, allocations: 98.31 kB / 0.5562 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/1.117, allocations: 140 kB / 0.5564 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.117, allocations: 39.42 kB / 0.5564 GB, free: 103.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002069/1.119, allocations: 1.154 MB / 0.5575 GB, free: 103.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.119, allocations: 2.312 kB / 0.5575 GB, free: 103.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002374/1.121, allocations: 0.567 MB / 0.5581 GB, free: 103.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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,75.0%) 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.0005764/1.122, allocations: 333.2 kB / 0.5584 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004454/1.126, allocations: 2.432 MB / 0.5608 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.934e-06/1.126, allocations: 0 / 0.5608 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003185/1.13, allocations: 1.593 MB / 0.5623 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.132, allocations: 436.5 kB / 0.5627 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/1.14, allocations: 4.153 MB / 0.5668 GB, free: 99.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.143, allocations: 2.065 MB / 0.5688 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001908/1.144, allocations: 429.1 kB / 0.5692 GB, free: 98.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/1.145, allocations: 122.9 kB / 0.5693 GB, free: 98.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.604e-06/1.145, allocations: 0 / 0.5693 GB, free: 98.41 MB / 442.7 MB Notification: Performance of Templates: time 0.06918/1.214, allocations: 30.29 MB / 0.5989 GB, free: 88.37 MB / 442.7 MB