Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.625e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.089, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.53, allocations: 115.2 MB / 457.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5303, allocations: 83.7 kB / 457.9 MB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6352/1.166, allocations: 86.32 MB / 0.5315 GB, free: 106.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.843e-06/1.166, allocations: 0.5625 kB / 0.5315 GB, free: 106.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002587/1.166, allocations: 71.89 kB / 0.5315 GB, free: 106.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007535/1.173, allocations: 2.808 MB / 0.5343 GB, free: 105.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.173, allocations: 9.625 kB / 0.5343 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/1.176, allocations: 439.3 kB / 0.5347 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/1.181, allocations: 1.953 MB / 0.5366 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/1.181, allocations: 203.6 kB / 0.5368 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006655/1.181, allocations: 267 kB / 0.537 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/1.189, allocations: 3.375 MB / 0.5403 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-05/1.189, allocations: 6.5 kB / 0.5404 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/1.19, allocations: 117.7 kB / 0.5405 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/1.19, allocations: 112.4 kB / 0.5406 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009707/1.2, allocations: 2.663 MB / 0.5432 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06405/1.264, allocations: 11.23 MB / 0.5541 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/1.27, allocations: 2.241 MB / 0.5563 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/1.273, allocations: 0.9828 MB / 0.5573 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/1.274, allocations: 224.3 kB / 0.5575 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/1.274, allocations: 54.41 kB / 0.5576 GB, free: 100.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 9.409e-06/1.274, allocations: 2.375 kB / 0.5576 GB, free: 100.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.02733/1.301, allocations: 7.2 MB / 0.5646 GB, free: 98.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/1.301, allocations: 68 kB / 0.5647 GB, free: 98.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/1.304, allocations: 1.721 MB / 0.5663 GB, free: 97.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002549/1.305, allocations: 49.58 kB / 0.5664 GB, free: 97.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/1.305, allocations: 1.302 MB / 0.5677 GB, free: 96.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/1.306, allocations: 0.5356 MB / 0.5682 GB, free: 95.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.306, allocations: 35.91 kB / 0.5682 GB, free: 95.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/1.306, allocations: 383.4 kB / 0.5686 GB, free: 95.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/1.308, allocations: 0.8795 MB / 0.5694 GB, free: 95.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/1.31, allocations: 1.323 MB / 0.5707 GB, free: 94.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/1.312, allocations: 1.087 MB / 0.5718 GB, free: 93.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.312, allocations: 3.375 kB / 0.5718 GB, free: 93.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006054/1.318, allocations: 2.999 MB / 0.5747 GB, free: 92.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.318, allocations: 10.88 kB / 0.5747 GB, free: 92.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.318, allocations: 17.44 kB / 0.5747 GB, free: 92.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/1.32, allocations: 0.6299 MB / 0.5754 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.322, allocations: 440.1 kB / 0.5758 GB, free: 92.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/1.331, allocations: 5.714 MB / 0.5814 GB, free: 89.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.333, allocations: 133.5 kB / 0.5815 GB, free: 89.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/1.333, allocations: 75.39 kB / 0.5816 GB, free: 89.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * 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%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003898/1.334, allocations: 207 kB / 0.5818 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.334, allocations: 215.2 kB / 0.582 GB, free: 89.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0054/1.34, allocations: 2.724 MB / 0.5846 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.34, allocations: 14.94 kB / 0.5846 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.34, allocations: 3.969 kB / 0.5846 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.34, allocations: 7.688 kB / 0.5846 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.351, allocations: 5.772 MB / 0.5903 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.351, allocations: 3.344 kB / 0.5903 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.353, allocations: 286.1 kB / 0.5906 GB, free: 85.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/1.355, allocations: 0.6902 MB / 0.5912 GB, free: 85.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/1.355, allocations: 37.59 kB / 0.5913 GB, free: 85.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.366, allocations: 7.423 MB / 0.5985 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.976e-06/1.366, allocations: 7.703 kB / 0.5985 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/1.373, allocations: 4.13 MB / 0.6026 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.374, allocations: 0.4909 MB / 0.603 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/1.375, allocations: 43.89 kB / 0.6031 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.376, allocations: 113.8 kB / 0.6032 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/1.377, allocations: 129.9 kB / 0.6033 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.377, allocations: 43.84 kB / 0.6034 GB, free: 78.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002273/1.379, allocations: 1.314 MB / 0.6046 GB, free: 76.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.39e-07/1.379, allocations: 0 / 0.6046 GB, free: 76.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002512/1.382, allocations: 0.6794 MB / 0.6053 GB, free: 76.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006453/1.382, allocations: 347.4 kB / 0.6056 GB, free: 75.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00467/1.387, allocations: 2.608 MB / 0.6082 GB, free: 73.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.574e-06/1.387, allocations: 0 / 0.6082 GB, free: 73.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.39, allocations: 1.649 MB / 0.6098 GB, free: 72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.393, allocations: 477.4 kB / 0.6102 GB, free: 71.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/1.402, allocations: 4.618 MB / 0.6148 GB, free: 67.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/1.404, allocations: 2.208 MB / 0.6169 GB, free: 65.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001891/1.406, allocations: 449.2 kB / 0.6173 GB, free: 65.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/1.406, allocations: 137.8 kB / 0.6175 GB, free: 65.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/1.406, allocations: 0 / 0.6175 GB, free: 65.33 MB / 442.7 MB Notification: Performance of Templates: time 0.07603/1.483, allocations: 34.09 MB / 0.6508 GB, free: 36.67 MB / 442.7 MB