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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.938e-05, allocations: 5.562 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.0902, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4799, allocations: 107.9 MB / 451 MB, free: 2.703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4801, allocations: 86.39 kB / 451.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1971/0.6772, allocations: 50.47 MB / 0.4898 GB, free: 4.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.257e-06/0.6773, allocations: 0 / 0.4898 GB, free: 4.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002061/0.6775, allocations: 67.94 kB / 0.4898 GB, free: 3.945 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.006472/0.684, allocations: 2.499 MB / 0.4923 GB, free: 1.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6841, allocations: 20.02 kB / 0.4923 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.6853, allocations: 328.3 kB / 0.4926 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.6899, allocations: 1.779 MB / 0.4943 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.6901, allocations: 172.7 kB / 0.4945 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005179/0.6906, allocations: 236.6 kB / 0.4947 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.6976, allocations: 3.005 MB / 0.4977 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.327e-05/0.6978, allocations: 11.89 kB / 0.4977 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/0.6981, allocations: 104 kB / 0.4978 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.6983, allocations: 96.58 kB / 0.4979 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006034/0.7043, allocations: 2.426 MB / 0.5002 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.7259, allocations: 9.751 MB / 0.5098 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.7297, allocations: 2.147 MB / 0.5119 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.7317, allocations: 0.9294 MB / 0.5128 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.7322, allocations: 215.2 kB / 0.513 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.7323, allocations: 55.55 kB / 0.513 GB, free: 11.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 5.243e-06/0.7323, allocations: 3.938 kB / 0.513 GB, free: 11.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=141): time 0.01967/0.752, allocations: 6.489 MB / 0.5194 GB, free: 4.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.7521, allocations: 68.72 kB / 0.5194 GB, free: 4.781 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.7553, allocations: 1.508 MB / 0.5209 GB, free: 3.273 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.7556, allocations: 53.69 kB / 0.521 GB, free: 3.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.7568, allocations: 1.132 MB / 0.5221 GB, free: 2.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.7574, allocations: 488.9 kB / 0.5225 GB, free: 1.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.7575, allocations: 28 kB / 0.5226 GB, free: 1.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.7578, allocations: 373.8 kB / 0.5229 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.7596, allocations: 0.7966 MB / 0.5237 GB, free: 396 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2573/1.017, allocations: 1.166 MB / 0.5248 GB, free: 112.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/1.019, allocations: 0.9763 MB / 0.5258 GB, free: 112.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/1.019, allocations: 4.031 kB / 0.5258 GB, free: 112.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.006514/1.026, allocations: 2.694 MB / 0.5284 GB, free: 112.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/1.026, allocations: 11.02 kB / 0.5284 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.026, allocations: 14.12 kB / 0.5284 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.028, allocations: 0.5778 MB / 0.529 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.03, allocations: 368.8 kB / 0.5294 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009243/1.039, allocations: 6.312 MB / 0.5355 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.041, allocations: 122 kB / 0.5356 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.041, allocations: 68.8 kB / 0.5357 GB, free: 110 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.0003785/1.041, allocations: 198.4 kB / 0.5359 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/1.042, allocations: 184.1 kB / 0.5361 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005586/1.047, allocations: 2.518 MB / 0.5385 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.047, allocations: 13.38 kB / 0.5385 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.047, allocations: 6.594 kB / 0.5385 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/1.048, allocations: 13.52 kB / 0.5386 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.059, allocations: 5.258 MB / 0.5437 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.059, allocations: 2.031 kB / 0.5437 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.06, allocations: 238.7 kB / 0.5439 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/1.063, allocations: 0.6375 MB / 0.5445 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.063, allocations: 36.23 kB / 0.5446 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.073, allocations: 8.039 MB / 0.5524 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-06/1.073, allocations: 7.375 kB / 0.5524 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/1.08, allocations: 3.829 MB / 0.5562 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.081, allocations: 454.8 kB / 0.5566 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/1.081, allocations: 31.31 kB / 0.5566 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.083, allocations: 97.75 kB / 0.5567 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/1.083, allocations: 134.2 kB / 0.5569 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.083, allocations: 46.47 kB / 0.5569 GB, free: 103 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002066/1.085, allocations: 1.152 MB / 0.558 GB, free: 102.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.69e-07/1.085, allocations: 0 / 0.558 GB, free: 102.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002178/1.088, allocations: 0.5685 MB / 0.5586 GB, free: 102.5 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.000581/1.088, allocations: 336 kB / 0.5589 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005734/1.094, allocations: 2.431 MB / 0.5613 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.854e-06/1.094, allocations: 6.078 kB / 0.5613 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/1.097, allocations: 1.588 MB / 0.5628 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.099, allocations: 442 kB / 0.5633 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/1.107, allocations: 4.151 MB / 0.5673 GB, free: 98.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/1.109, allocations: 2.059 MB / 0.5693 GB, free: 97.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001793/1.111, allocations: 430.5 kB / 0.5697 GB, free: 97.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/1.111, allocations: 125 kB / 0.5699 GB, free: 97.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.804e-06/1.111, allocations: 0 / 0.5699 GB, free: 97.83 MB / 442.7 MB Notification: Performance of Templates: time 0.06642/1.178, allocations: 30.29 MB / 0.5994 GB, free: 87.9 MB / 442.7 MB