Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.794e-05, allocations: 3.984 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.3606, allocations: 103.7 MB / 367.4 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.3609, allocations: 83.95 kB / 367.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4706/0.8315, allocations: 82.36 MB / 449.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.08e-06/0.8315, allocations: 0 / 449.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.8319, allocations: 71.94 kB / 449.9 MB, free: 25.22 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.00906/0.8409, allocations: 2.597 MB / 452.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.841, allocations: 8.031 kB / 452.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.844, allocations: 416.1 kB / 452.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.8486, allocations: 1.748 MB / 454.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.8488, allocations: 189 kB / 454.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.8494, allocations: 251.9 kB / 455.1 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/0.856, allocations: 3.111 MB / 458.2 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-05/0.8561, allocations: 7.984 kB / 458.2 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/0.8564, allocations: 112.3 kB / 458.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.8566, allocations: 112.9 kB / 458.5 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005506/0.8621, allocations: 2.415 MB / 460.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02012/0.8822, allocations: 10.4 MB / 471.3 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.8848, allocations: 1.725 MB / 473 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.8863, allocations: 0.8544 MB / 473.9 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.8866, allocations: 142 kB / 474 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.8867, allocations: 48.06 kB / 474 MB, free: 368 kB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 5.038e-06/0.8867, allocations: 0 / 474 MB, free: 368 kB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.02151/0.9082, allocations: 6.869 MB / 480.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.9083, allocations: 64.72 kB / 481 MB, free: 9.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.9119, allocations: 1.574 MB / 482.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.9122, allocations: 49.7 kB / 482.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.9133, allocations: 1.163 MB / 483.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006842/0.914, allocations: 496.9 kB / 484.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.9142, allocations: 28 kB / 484.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.9145, allocations: 382.7 kB / 484.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.9163, allocations: 0.8082 MB / 485.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.9185, allocations: 1.268 MB / 486.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.9208, allocations: 1.016 MB / 487.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.9208, allocations: 4 kB / 487.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006556/0.9274, allocations: 2.661 MB / 490.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.9274, allocations: 12 kB / 490.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/0.9275, allocations: 19.98 kB / 490.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.9296, allocations: 0.5836 MB / 491 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.9318, allocations: 411.3 kB / 491.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.9425, allocations: 5.457 MB / 496.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.9447, allocations: 127.8 kB / 497 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.945, allocations: 75.98 kB / 497.1 MB, free: 8.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 181 * 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.0004585/0.9455, allocations: 216.4 kB / 497.3 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/0.9461, allocations: 193.7 kB / 497.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.9567, allocations: 2.486 MB / 500 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.9568, allocations: 12 kB / 500 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.9568, allocations: 4 kB / 500 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/0.9569, allocations: 7.969 kB / 500 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02536/0.9823, allocations: 5.345 MB / 0.4935 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.825e-05/0.9824, allocations: 7.984 kB / 0.4935 GB, free: 464 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/0.9852, allocations: 244.1 kB / 0.4937 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2209/1.206, allocations: 0.6436 MB / 0.4944 GB, free: 74.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.206, allocations: 39.27 kB / 0.4944 GB, free: 74.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.217, allocations: 7.134 MB / 0.5014 GB, free: 72.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.867e-06/1.217, allocations: 6.344 kB / 0.5014 GB, free: 72.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007346/1.224, allocations: 3.896 MB / 0.5052 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.226, allocations: 468 kB / 0.5056 GB, free: 71.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/1.226, allocations: 32.91 kB / 0.5056 GB, free: 71.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/1.228, allocations: 120.3 kB / 0.5058 GB, free: 71.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.228, allocations: 121.3 kB / 0.5059 GB, free: 71.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.229, allocations: 42.58 kB / 0.5059 GB, free: 71.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002276/1.231, allocations: 1.208 MB / 0.5071 GB, free: 71.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.035e-06/1.231, allocations: 0 / 0.5071 GB, free: 71.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002679/1.234, allocations: 0.6122 MB / 0.5077 GB, free: 71.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 105 * 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%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006151/1.234, allocations: 319.6 kB / 0.508 GB, free: 71.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004544/1.239, allocations: 2.407 MB / 0.5104 GB, free: 70.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.96e-06/1.239, allocations: 0 / 0.5104 GB, free: 70.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/1.242, allocations: 1.543 MB / 0.5119 GB, free: 70.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.244, allocations: 398.6 kB / 0.5122 GB, free: 70.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/1.253, allocations: 4.153 MB / 0.5163 GB, free: 69.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.255, allocations: 2.046 MB / 0.5183 GB, free: 68.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007747/1.256, allocations: 131.3 kB / 0.5184 GB, free: 68.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.886e-06/1.256, allocations: 0 / 0.5184 GB, free: 68.73 MB / 346.7 MB Notification: Performance of Templates: time 0.06665/1.322, allocations: 55.05 MB / 0.5722 GB, free: 39.72 MB / 346.7 MB