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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.384e-05, allocations: 7.797 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5466, allocations: 114.3 MB / 457.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/0.5471, allocations: 88.69 kB / 457.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6191/1.166, allocations: 83.24 MB / 0.5281 GB, free: 105.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.048e-06/1.166, allocations: 0 / 0.5281 GB, free: 105.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002597/1.167, allocations: 73.69 kB / 0.5281 GB, free: 105.5 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.007382/1.174, allocations: 2.623 MB / 0.5307 GB, free: 104.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.174, allocations: 14.41 kB / 0.5307 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/1.176, allocations: 420.4 kB / 0.5311 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/1.182, allocations: 1.84 MB / 0.5329 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/1.182, allocations: 190.1 kB / 0.5331 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/1.183, allocations: 251.8 kB / 0.5333 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007724/1.19, allocations: 3.111 MB / 0.5364 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/1.19, allocations: 11.38 kB / 0.5364 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/1.191, allocations: 106.1 kB / 0.5365 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.191, allocations: 110.8 kB / 0.5366 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/1.198, allocations: 2.422 MB / 0.5389 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/1.219, allocations: 10.47 MB / 0.5492 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/1.222, allocations: 1.749 MB / 0.5509 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.224, allocations: 0.8625 MB / 0.5517 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/1.224, allocations: 219.5 kB / 0.5519 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.224, allocations: 46.64 kB / 0.552 GB, free: 100.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.696e-06/1.224, allocations: 0 / 0.552 GB, free: 100.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=144): time 0.02021/1.244, allocations: 6.953 MB / 0.5588 GB, free: 99.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/1.244, allocations: 68.73 kB / 0.5588 GB, free: 99.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/1.247, allocations: 1.619 MB / 0.5604 GB, free: 98.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/1.248, allocations: 51.73 kB / 0.5605 GB, free: 98.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008151/1.249, allocations: 1.239 MB / 0.5617 GB, free: 97.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/1.249, allocations: 0.4883 MB / 0.5621 GB, free: 97.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/1.249, allocations: 37.47 kB / 0.5622 GB, free: 97.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/1.249, allocations: 376.2 kB / 0.5625 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.251, allocations: 0.8114 MB / 0.5633 GB, free: 96.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/1.253, allocations: 1.274 MB / 0.5646 GB, free: 95.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.255, allocations: 1.023 MB / 0.5656 GB, free: 95.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.255, allocations: 3.906 kB / 0.5656 GB, free: 95.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006993/1.262, allocations: 2.806 MB / 0.5683 GB, free: 94.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.262, allocations: 14.41 kB / 0.5683 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.153e-05/1.262, allocations: 19.36 kB / 0.5683 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.264, allocations: 0.5824 MB / 0.5689 GB, free: 94.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/1.266, allocations: 417.2 kB / 0.5693 GB, free: 94.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/1.275, allocations: 5.454 MB / 0.5746 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.278, allocations: 140.7 kB / 0.5748 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/1.278, allocations: 79.94 kB / 0.5748 GB, free: 91.24 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.0004042/1.279, allocations: 204.2 kB / 0.575 GB, free: 91.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/1.279, allocations: 202.6 kB / 0.5752 GB, free: 90.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/1.285, allocations: 2.521 MB / 0.5777 GB, free: 90.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.285, allocations: 11.66 kB / 0.5777 GB, free: 90.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.285, allocations: 11.3 kB / 0.5777 GB, free: 90.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/1.285, allocations: 13.42 kB / 0.5777 GB, free: 90.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.297, allocations: 5.41 MB / 0.583 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/1.297, allocations: 8.219 kB / 0.583 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.298, allocations: 250.2 kB / 0.5833 GB, free: 87.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/1.301, allocations: 0.6507 MB / 0.5839 GB, free: 87.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.301, allocations: 40.03 kB / 0.5839 GB, free: 87.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.312, allocations: 7.143 MB / 0.5909 GB, free: 83.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.107e-06/1.312, allocations: 7.719 kB / 0.5909 GB, free: 83.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/1.319, allocations: 3.952 MB / 0.5948 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.32, allocations: 474.1 kB / 0.5952 GB, free: 80.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/1.321, allocations: 27.34 kB / 0.5953 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.323, allocations: 121.7 kB / 0.5954 GB, free: 80.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.323, allocations: 121.2 kB / 0.5955 GB, free: 80.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.323, allocations: 41.64 kB / 0.5955 GB, free: 80.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002363/1.326, allocations: 1.255 MB / 0.5968 GB, free: 80.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.009e-06/1.326, allocations: 2.812 kB / 0.5968 GB, free: 80.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00301/1.329, allocations: 0.6371 MB / 0.5974 GB, free: 80.23 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.0007406/1.33, allocations: 339.1 kB / 0.5977 GB, free: 80.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/1.334, allocations: 2.431 MB / 0.6001 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.964e-06/1.334, allocations: 7.656 kB / 0.6001 GB, free: 79.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003236/1.338, allocations: 1.546 MB / 0.6016 GB, free: 78.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.34, allocations: 418.2 kB / 0.602 GB, free: 78.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/1.349, allocations: 4.179 MB / 0.6061 GB, free: 74.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/1.351, allocations: 2.072 MB / 0.6081 GB, free: 72.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00186/1.353, allocations: 418.2 kB / 0.6085 GB, free: 72.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/1.353, allocations: 130.7 kB / 0.6086 GB, free: 72.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.796e-06/1.353, allocations: 0 / 0.6086 GB, free: 72.22 MB / 442.7 MB Notification: Performance of Templates: time 0.0685/1.422, allocations: 31.2 MB / 0.6391 GB, free: 48.8 MB / 442.7 MB