Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.141e-05, allocations: 10.48 kB / 292.2 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5466, allocations: 111.1 MB / 453.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.547, allocations: 98.8 kB / 453.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2891/0.8361, allocations: 80.74 MB / 0.522 GB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.402e-06/0.8361, allocations: 0 / 0.522 GB, free: 2.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003239/0.8365, allocations: 79.88 kB / 0.5221 GB, free: 2.332 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.3111/1.148, allocations: 3.208 MB / 0.5252 GB, free: 92.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.148, allocations: 9.438 kB / 0.5252 GB, free: 92.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/1.154, allocations: 0.7344 MB / 0.5259 GB, free: 91.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.166, allocations: 3.318 MB / 0.5292 GB, free: 91.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/1.166, allocations: 246.7 kB / 0.5294 GB, free: 91.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/1.167, allocations: 325 kB / 0.5297 GB, free: 91.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/1.18, allocations: 4.09 MB / 0.5337 GB, free: 91.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.18, allocations: 5.891 kB / 0.5337 GB, free: 91.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005058/1.18, allocations: 131.8 kB / 0.5338 GB, free: 91.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/1.18, allocations: 145.8 kB / 0.534 GB, free: 91.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/1.19, allocations: 3.27 MB / 0.5372 GB, free: 91.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03038/1.221, allocations: 13.91 MB / 0.5508 GB, free: 88.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/1.228, allocations: 6.473 MB / 0.5571 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.231, allocations: 1.352 MB / 0.5584 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007976/1.239, allocations: 3.615 MB / 0.5619 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.239, allocations: 43.19 kB / 0.562 GB, free: 82.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.249e-06/1.239, allocations: 0 / 0.562 GB, free: 82.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.009259/1.248, allocations: 4.136 MB / 0.566 GB, free: 80 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.248, allocations: 67.03 kB / 0.5661 GB, free: 79.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/1.251, allocations: 1.535 MB / 0.5676 GB, free: 79.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.251, allocations: 48.58 kB / 0.5676 GB, free: 79.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/1.252, allocations: 1.381 MB / 0.569 GB, free: 78.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/1.253, allocations: 469.8 kB / 0.5694 GB, free: 77.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.253, allocations: 35.5 kB / 0.5694 GB, free: 77.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/1.253, allocations: 385 kB / 0.5698 GB, free: 77.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.254, allocations: 0.6367 MB / 0.5704 GB, free: 77.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.256, allocations: 1.125 MB / 0.5715 GB, free: 76.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/1.258, allocations: 0.8695 MB / 0.5724 GB, free: 75.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.258, allocations: 6.438 kB / 0.5724 GB, free: 75.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004794/1.263, allocations: 2.291 MB / 0.5746 GB, free: 75.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.263, allocations: 13.19 kB / 0.5746 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.263, allocations: 13.47 kB / 0.5746 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.264, allocations: 359.9 kB / 0.575 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.266, allocations: 367 kB / 0.5753 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008149/1.274, allocations: 7.649 MB / 0.5828 GB, free: 68.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.276, allocations: 74.56 kB / 0.5829 GB, free: 68.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/1.277, allocations: 77.84 kB / 0.583 GB, free: 68.39 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.0003767/1.277, allocations: 213.1 kB / 0.5832 GB, free: 68.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/1.277, allocations: 193.3 kB / 0.5833 GB, free: 68.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.282, allocations: 2.219 MB / 0.5855 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.282, allocations: 18.45 kB / 0.5855 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.282, allocations: 7.812 kB / 0.5855 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.282, allocations: 10.92 kB / 0.5855 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.293, allocations: 4.968 MB / 0.5904 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.293, allocations: 0 / 0.5904 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.294, allocations: 172.1 kB / 0.5906 GB, free: 64.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/1.296, allocations: 0.5258 MB / 0.5911 GB, free: 64.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/1.297, allocations: 39.62 kB / 0.5911 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.31, allocations: 12.03 MB / 0.6029 GB, free: 54.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-06/1.31, allocations: 5.188 kB / 0.6029 GB, free: 54.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/1.316, allocations: 3.214 MB / 0.606 GB, free: 52.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.318, allocations: 425 kB / 0.6064 GB, free: 52.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/1.318, allocations: 27.06 kB / 0.6064 GB, free: 52.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.32, allocations: 71.06 kB / 0.6065 GB, free: 52.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.32, allocations: 111.8 kB / 0.6066 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.32, allocations: 38.66 kB / 0.6066 GB, free: 52.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002293/1.322, allocations: 1.17 MB / 0.6078 GB, free: 51.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.064e-06/1.322, allocations: 0 / 0.6078 GB, free: 51.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003341/1.326, allocations: 0.6146 MB / 0.6084 GB, free: 51.84 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.0007817/1.327, allocations: 422.7 kB / 0.6088 GB, free: 51.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004075/1.331, allocations: 2.208 MB / 0.6109 GB, free: 50.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.73e-06/1.331, allocations: 256 / 0.611 GB, free: 50.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.335, allocations: 1.634 MB / 0.6125 GB, free: 49.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/1.34, allocations: 0.5015 MB / 0.613 GB, free: 49.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.352, allocations: 4.702 MB / 0.6176 GB, free: 47.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.355, allocations: 2.307 MB / 0.6199 GB, free: 46.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/1.355, allocations: 134.7 kB / 0.62 GB, free: 46.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.637e-06/1.355, allocations: 0 / 0.62 GB, free: 46.09 MB / 442.7 MB Notification: Performance of Templates: time 0.4462/1.802, allocations: 120.9 MB / 0.738 GB, free: 102.2 MB / 458.7 MB