Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.668e-05, allocations: 1.406 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08794, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5172, allocations: 133.6 MB / 476.2 MB, free: 9.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5176, allocations: 99.3 kB / 476.3 MB, free: 9.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/2.055, allocations: 351.8 MB / 0.8087 GB, free: 37.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.557e-06/2.055, allocations: 0 / 0.8087 GB, free: 37.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006326/2.056, allocations: 225.6 kB / 0.8089 GB, free: 37.77 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04089/2.097, allocations: 9.447 MB / 0.8181 GB, free: 31.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/2.097, allocations: 8.031 kB / 0.8181 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05957/2.156, allocations: 4.284 MB / 0.8223 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02961/2.186, allocations: 8.392 MB / 0.8305 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007708/2.187, allocations: 0.6872 MB / 0.8312 GB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003944/2.191, allocations: 0.9058 MB / 0.832 GB, free: 17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04145/2.232, allocations: 15.65 MB / 0.8473 GB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/2.233, allocations: 19.69 kB / 0.8473 GB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/2.236, allocations: 400.2 kB / 0.8477 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/2.237, allocations: 0.7505 MB / 0.8485 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03993/2.277, allocations: 13.67 MB / 0.8618 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4009/2.678, allocations: 52.52 MB / 0.9131 GB, free: 40.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/2.699, allocations: 19.95 MB / 0.9326 GB, free: 27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007009/2.706, allocations: 3.566 MB / 0.9361 GB, free: 26.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/2.707, allocations: 179.5 kB / 0.9362 GB, free: 26.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/2.707, allocations: 77.19 kB / 0.9363 GB, free: 26.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=453): time 1.021e-05/2.707, allocations: 0 / 0.9363 GB, free: 26.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=458): time 0.03103/2.738, allocations: 13.78 MB / 0.9498 GB, free: 20.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/2.738, allocations: 98.5 kB / 0.9499 GB, free: 20.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00803/2.746, allocations: 3.926 MB / 0.9537 GB, free: 18.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007577/2.747, allocations: 101 kB / 0.9538 GB, free: 18.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002797/2.75, allocations: 4.178 MB / 0.9579 GB, free: 15.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001848/2.752, allocations: 1.558 MB / 0.9594 GB, free: 14.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/2.752, allocations: 125.7 kB / 0.9595 GB, free: 14.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004361/2.753, allocations: 0.5601 MB / 0.9601 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006143/2.759, allocations: 2.98 MB / 0.963 GB, free: 12.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008323/2.767, allocations: 5.078 MB / 0.9679 GB, free: 8.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00875/2.776, allocations: 4.202 MB / 0.972 GB, free: 7.309 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.722e-05/2.776, allocations: 21.25 kB / 0.972 GB, free: 7.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.024/2.8, allocations: 9.484 MB / 0.9813 GB, free: 4.051 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/2.8, allocations: 34 kB / 0.9813 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/2.8, allocations: 73.61 kB / 0.9814 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/2.806, allocations: 1.376 MB / 0.9828 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007576/2.813, allocations: 1.38 MB / 0.9841 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/2.836, allocations: 11.6 MB / 0.9954 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/2.842, allocations: 363.2 kB / 0.9958 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/2.844, allocations: 292.6 kB / 0.9961 GB, free: 12.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001395/2.845, allocations: 498.7 kB / 0.9965 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.846, allocations: 463.7 kB / 0.997 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01986/2.866, allocations: 8.423 MB / 1.005 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01562/2.882, allocations: 6.14 MB / 1.011 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/2.882, allocations: 12 kB / 1.011 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.261e-05/2.882, allocations: 22.27 kB / 1.011 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05141/2.933, allocations: 17.99 MB / 1.029 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-05/2.934, allocations: 8 kB / 1.029 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004984/2.939, allocations: 0.7946 MB / 1.03 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/2.943, allocations: 1.254 MB / 1.031 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009302/2.944, allocations: 107.2 kB / 1.031 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/2.966, allocations: 10.54 MB / 1.041 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/2.966, allocations: 8 kB / 1.041 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0273/2.993, allocations: 11.97 MB / 1.053 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3093/3.303, allocations: 1.13 MB / 1.054 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/3.304, allocations: 90.2 kB / 1.054 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/3.307, allocations: 245.2 kB / 1.054 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/3.308, allocations: 327.3 kB / 1.055 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00049/3.308, allocations: 138.8 kB / 1.055 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00654/3.315, allocations: 2.994 MB / 1.058 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.356e-06/3.315, allocations: 0 / 1.058 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008838/3.324, allocations: 1.786 MB / 1.059 GB, free: 93.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/3.326, allocations: 0.8989 MB / 1.06 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01741/3.344, allocations: 7.637 MB / 1.068 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/3.344, allocations: 2.969 kB / 1.068 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00941/3.353, allocations: 3.815 MB / 1.071 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/3.359, allocations: 0.9371 MB / 1.072 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0358/3.395, allocations: 15.67 MB / 1.088 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/3.406, allocations: 6.667 MB / 1.094 GB, free: 88.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008369/3.414, allocations: 2.147 MB / 1.096 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/3.416, allocations: 388.4 kB / 1.097 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.977e-06/3.416, allocations: 0 / 1.097 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.1788/3.595, allocations: 73.19 MB / 1.168 GB, free: 66.7 MB / 0.4948 GB