Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 225.8 MB / 238.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.796e-05, allocations: 8.219 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09016, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5528, allocations: 114.3 MB / 456.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5531, allocations: 92.03 kB / 457 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6521/1.205, allocations: 83.25 MB / 0.5275 GB, free: 102.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.058e-06/1.205, allocations: 3.688 kB / 0.5275 GB, free: 102.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000254/1.206, allocations: 71.7 kB / 0.5276 GB, free: 102.4 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006796/1.212, allocations: 2.623 MB / 0.5302 GB, free: 101.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.212, allocations: 10.25 kB / 0.5302 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.214, allocations: 419.1 kB / 0.5306 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/1.219, allocations: 1.847 MB / 0.5324 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/1.22, allocations: 188.2 kB / 0.5326 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/1.22, allocations: 252.6 kB / 0.5328 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007179/1.227, allocations: 3.111 MB / 0.5359 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.183e-05/1.228, allocations: 13.55 kB / 0.5359 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/1.228, allocations: 103.9 kB / 0.536 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/1.228, allocations: 111.7 kB / 0.5361 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005857/1.234, allocations: 2.418 MB / 0.5384 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/1.255, allocations: 10.47 MB / 0.5487 GB, free: 97.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/1.257, allocations: 1.757 MB / 0.5504 GB, free: 97.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.259, allocations: 0.8607 MB / 0.5512 GB, free: 97.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/1.259, allocations: 224.6 kB / 0.5514 GB, free: 97.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.259, allocations: 50.02 kB / 0.5515 GB, free: 97.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.413e-06/1.259, allocations: 2.625 kB / 0.5515 GB, free: 97.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=144): time 0.02069/1.28, allocations: 6.934 MB / 0.5582 GB, free: 96.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.28, allocations: 72.02 kB / 0.5583 GB, free: 96.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/1.283, allocations: 1.624 MB / 0.5599 GB, free: 95.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/1.283, allocations: 50.98 kB / 0.5599 GB, free: 95.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/1.284, allocations: 1.248 MB / 0.5612 GB, free: 95.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/1.284, allocations: 497.4 kB / 0.5616 GB, free: 94.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.285, allocations: 27.75 kB / 0.5617 GB, free: 94.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/1.285, allocations: 374.5 kB / 0.562 GB, free: 94.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.286, allocations: 0.8143 MB / 0.5628 GB, free: 94.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.288, allocations: 1.275 MB / 0.5641 GB, free: 93.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.29, allocations: 1.025 MB / 0.5651 GB, free: 93.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.29, allocations: 3.875 kB / 0.5651 GB, free: 93.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00609/1.296, allocations: 2.8 MB / 0.5678 GB, free: 92.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.296, allocations: 14.09 kB / 0.5678 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/1.296, allocations: 18.16 kB / 0.5678 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/1.298, allocations: 0.5873 MB / 0.5684 GB, free: 91.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.301, allocations: 418.7 kB / 0.5688 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/1.31, allocations: 5.458 MB / 0.5741 GB, free: 88.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.312, allocations: 141.9 kB / 0.5743 GB, free: 88.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.312, allocations: 71.41 kB / 0.5743 GB, free: 88.92 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * 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.0003849/1.313, allocations: 214.5 kB / 0.5745 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/1.313, allocations: 197.6 kB / 0.5747 GB, free: 88.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/1.319, allocations: 2.512 MB / 0.5772 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.319, allocations: 22.23 kB / 0.5772 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.319, allocations: 7.172 kB / 0.5772 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.319, allocations: 6.75 kB / 0.5772 GB, free: 87.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.331, allocations: 5.426 MB / 0.5825 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.331, allocations: 3.5 kB / 0.5825 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.332, allocations: 250 kB / 0.5828 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/1.335, allocations: 0.6493 MB / 0.5834 GB, free: 85.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/1.335, allocations: 44.33 kB / 0.5834 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.346, allocations: 7.136 MB / 0.5904 GB, free: 80.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-06/1.346, allocations: 6.5 kB / 0.5904 GB, free: 80.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008158/1.354, allocations: 3.955 MB / 0.5943 GB, free: 78.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.355, allocations: 473 kB / 0.5947 GB, free: 78.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/1.356, allocations: 38.72 kB / 0.5948 GB, free: 78.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.357, allocations: 115.2 kB / 0.5949 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.358, allocations: 121.9 kB / 0.595 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.358, allocations: 41.59 kB / 0.595 GB, free: 78.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002345/1.36, allocations: 1.249 MB / 0.5962 GB, free: 78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.36, allocations: 3.938 kB / 0.5963 GB, free: 77.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002862/1.363, allocations: 0.634 MB / 0.5969 GB, free: 77.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * 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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007205/1.364, allocations: 342.8 kB / 0.5972 GB, free: 77.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004735/1.369, allocations: 2.432 MB / 0.5996 GB, free: 76.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.605e-06/1.369, allocations: 2.438 kB / 0.5996 GB, free: 76.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.372, allocations: 1.539 MB / 0.6011 GB, free: 75.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.374, allocations: 423.1 kB / 0.6015 GB, free: 75.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/1.384, allocations: 4.181 MB / 0.6056 GB, free: 72.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/1.386, allocations: 2.074 MB / 0.6076 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002013/1.388, allocations: 417 kB / 0.608 GB, free: 70.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/1.389, allocations: 130.6 kB / 0.6081 GB, free: 70.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.672e-06/1.389, allocations: 3.938 kB / 0.6081 GB, free: 70.41 MB / 442.7 MB Notification: Performance of Templates: time 0.07089/1.46, allocations: 31.2 MB / 0.6386 GB, free: 47.36 MB / 442.7 MB