Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.4 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.641e-05, allocations: 9.031 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09248, allocations: 50.41 MB / 343.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5611, allocations: 110.8 MB / 453.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5614, allocations: 95.66 kB / 454 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2852/0.8466, allocations: 80.74 MB / 0.5222 GB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8467, allocations: 0 / 0.5222 GB, free: 1.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.8469, allocations: 83.81 kB / 0.5223 GB, free: 1.367 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009271/0.8562, allocations: 3.207 MB / 0.5254 GB, free: 14.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8563, allocations: 12.03 kB / 0.5254 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.8613, allocations: 0.7334 MB / 0.5261 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.8714, allocations: 3.32 MB / 0.5294 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.8717, allocations: 242.5 kB / 0.5296 GB, free: 9.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/0.8725, allocations: 323.9 kB / 0.5299 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009477/0.882, allocations: 4.086 MB / 0.5339 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.891e-05/0.8821, allocations: 11.94 kB / 0.5339 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004763/0.8826, allocations: 132 kB / 0.534 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.8828, allocations: 146.4 kB / 0.5342 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009083/0.8919, allocations: 3.27 MB / 0.5374 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/0.9292, allocations: 13.93 MB / 0.551 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3159/1.245, allocations: 6.466 MB / 0.5573 GB, free: 85.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.249, allocations: 1.346 MB / 0.5586 GB, free: 85.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00739/1.256, allocations: 3.606 MB / 0.5621 GB, free: 85.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.256, allocations: 48.81 kB / 0.5622 GB, free: 85.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.176e-06/1.256, allocations: 0 / 0.5622 GB, free: 85.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.009291/1.265, allocations: 4.134 MB / 0.5662 GB, free: 84.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.266, allocations: 65.22 kB / 0.5663 GB, free: 84.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/1.269, allocations: 1.541 MB / 0.5678 GB, free: 84.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/1.269, allocations: 50.86 kB / 0.5678 GB, free: 84.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.27, allocations: 1.442 MB / 0.5692 GB, free: 83.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/1.271, allocations: 470.6 kB / 0.5697 GB, free: 83.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.271, allocations: 34 kB / 0.5697 GB, free: 83.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/1.271, allocations: 371.6 kB / 0.5701 GB, free: 83.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.272, allocations: 0.6444 MB / 0.5707 GB, free: 83.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.274, allocations: 1.124 MB / 0.5718 GB, free: 82.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/1.276, allocations: 0.8634 MB / 0.5726 GB, free: 82.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.276, allocations: 11.23 kB / 0.5727 GB, free: 82.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005146/1.281, allocations: 2.399 MB / 0.575 GB, free: 82.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.281, allocations: 13.66 kB / 0.575 GB, free: 82.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.281, allocations: 16.91 kB / 0.575 GB, free: 82.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.282, allocations: 361.3 kB / 0.5754 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.284, allocations: 371.6 kB / 0.5757 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/1.292, allocations: 7.644 MB / 0.5832 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.294, allocations: 83.44 kB / 0.5833 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.294, allocations: 68.59 kB / 0.5833 GB, free: 76.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003561/1.294, allocations: 216.4 kB / 0.5835 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/1.295, allocations: 196.6 kB / 0.5837 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.3, allocations: 2.215 MB / 0.5859 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.3, allocations: 12.25 kB / 0.5859 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.3, allocations: 13.58 kB / 0.5859 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.3, allocations: 7.406 kB / 0.5859 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00948/1.309, allocations: 4.976 MB / 0.5908 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.773e-06/1.309, allocations: 5.5 kB / 0.5908 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.311, allocations: 174.1 kB / 0.591 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/1.313, allocations: 0.5278 MB / 0.5915 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.313, allocations: 34.36 kB / 0.5915 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.325, allocations: 12.04 MB / 0.6033 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-06/1.325, allocations: 3.75 kB / 0.6033 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/1.331, allocations: 3.2 MB / 0.6064 GB, free: 66.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.332, allocations: 423.4 kB / 0.6068 GB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.332, allocations: 31.16 kB / 0.6068 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.334, allocations: 74.75 kB / 0.6069 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/1.334, allocations: 108.9 kB / 0.607 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.334, allocations: 39.42 kB / 0.607 GB, free: 66.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002024/1.336, allocations: 1.171 MB / 0.6082 GB, free: 65.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.37e-07/1.336, allocations: 0 / 0.6082 GB, free: 65.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0028/1.339, allocations: 0.612 MB / 0.6088 GB, free: 65.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006289/1.339, allocations: 447.4 kB / 0.6092 GB, free: 65.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003754/1.343, allocations: 2.213 MB / 0.6114 GB, free: 64.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.22e-06/1.343, allocations: 0 / 0.6114 GB, free: 64.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002675/1.346, allocations: 1.622 MB / 0.6129 GB, free: 63.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.349, allocations: 0.4962 MB / 0.6134 GB, free: 63.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/1.358, allocations: 4.716 MB / 0.618 GB, free: 61.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/1.361, allocations: 2.368 MB / 0.6203 GB, free: 59.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001902/1.363, allocations: 390.8 kB / 0.6207 GB, free: 59.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.363, allocations: 125.7 kB / 0.6208 GB, free: 59.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.71e-06/1.363, allocations: 0 / 0.6208 GB, free: 59.89 MB / 442.7 MB Notification: Performance of Templates: time 0.07577/1.439, allocations: 30.39 MB / 0.6505 GB, free: 56.01 MB / 442.7 MB