Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.209e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09661, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5258, allocations: 123.7 MB / 466.2 MB, free: 3.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5261, allocations: 89.95 kB / 466.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6771/1.203, allocations: 117.9 MB / 0.5705 GB, free: 96.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.775e-06/1.203, allocations: 7.609 kB / 0.5705 GB, free: 96.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005157/1.204, allocations: 131.5 kB / 0.5706 GB, free: 96.14 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01677/1.221, allocations: 4.93 MB / 0.5754 GB, free: 94.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.221, allocations: 8.719 kB / 0.5755 GB, free: 94.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/1.228, allocations: 0.9939 MB / 0.5764 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/1.243, allocations: 4.594 MB / 0.5809 GB, free: 93.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.243, allocations: 390.2 kB / 0.5813 GB, free: 93.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.245, allocations: 0.5125 MB / 0.5818 GB, free: 92.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/1.264, allocations: 6.649 MB / 0.5883 GB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002177/1.264, allocations: 7.75 kB / 0.5883 GB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/1.266, allocations: 225.4 kB / 0.5885 GB, free: 89.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/1.266, allocations: 226.6 kB / 0.5887 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/1.281, allocations: 5.362 MB / 0.594 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04793/1.329, allocations: 21.44 MB / 0.6149 GB, free: 73.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/1.338, allocations: 8.651 MB / 0.6233 GB, free: 64.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/1.342, allocations: 2.206 MB / 0.6255 GB, free: 62.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.357, allocations: 6.167 MB / 0.6315 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.357, allocations: 60.5 kB / 0.6316 GB, free: 56.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.718e-06/1.357, allocations: 0 / 0.6316 GB, free: 56.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.02199/1.379, allocations: 8.959 MB / 0.6403 GB, free: 47.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/1.379, allocations: 77.41 kB / 0.6404 GB, free: 47.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/1.384, allocations: 2.578 MB / 0.6429 GB, free: 45.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/1.385, allocations: 69.7 kB / 0.643 GB, free: 45.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.386, allocations: 2.148 MB / 0.6451 GB, free: 42.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008944/1.387, allocations: 0.8064 MB / 0.6459 GB, free: 42.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.387, allocations: 60 kB / 0.6459 GB, free: 41.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/1.388, allocations: 420.7 kB / 0.6463 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/1.39, allocations: 1.298 MB / 0.6476 GB, free: 40.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.393, allocations: 2.029 MB / 0.6496 GB, free: 37.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/1.396, allocations: 1.646 MB / 0.6512 GB, free: 36.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/1.397, allocations: 8 kB / 0.6512 GB, free: 36.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008992/1.406, allocations: 4.256 MB / 0.6553 GB, free: 31.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/1.406, allocations: 16 kB / 0.6554 GB, free: 31.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.406, allocations: 20 kB / 0.6554 GB, free: 31.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/1.408, allocations: 0.7584 MB / 0.6561 GB, free: 31.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/1.411, allocations: 0.6396 MB / 0.6567 GB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/1.424, allocations: 13.35 MB / 0.6698 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.427, allocations: 159.8 kB / 0.6699 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/1.428, allocations: 120 kB / 0.67 GB, free: 15.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006288/1.429, allocations: 276.1 kB / 0.6703 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/1.43, allocations: 324.1 kB / 0.6706 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/1.438, allocations: 4.113 MB / 0.6746 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.438, allocations: 24 kB / 0.6747 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/1.438, allocations: 15.94 kB / 0.6747 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-05/1.438, allocations: 11.95 kB / 0.6747 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/1.458, allocations: 9.015 MB / 0.6835 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.458, allocations: 6.344 kB / 0.6835 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.46, allocations: 388 kB / 0.6839 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.464, allocations: 0.9167 MB / 0.6848 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004314/1.464, allocations: 67.97 kB / 0.6848 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2921/1.756, allocations: 16.48 MB / 0.7009 GB, free: 77.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.756, allocations: 6.484 kB / 0.7009 GB, free: 77.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.77, allocations: 6.278 MB / 0.7071 GB, free: 76.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/1.772, allocations: 0.696 MB / 0.7077 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.773, allocations: 61.3 kB / 0.7078 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.776, allocations: 142.1 kB / 0.7079 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008192/1.777, allocations: 199.4 kB / 0.7081 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/1.777, allocations: 69.84 kB / 0.7082 GB, free: 76.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004748/1.782, allocations: 1.964 MB / 0.7101 GB, free: 76.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.076e-06/1.782, allocations: 0 / 0.7101 GB, free: 76.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005518/1.788, allocations: 1.024 MB / 0.7111 GB, free: 76.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/1.789, allocations: 0.5045 MB / 0.7116 GB, free: 76.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007987/1.797, allocations: 4.344 MB / 0.7158 GB, free: 75.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.843e-06/1.797, allocations: 3.844 kB / 0.7158 GB, free: 75.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005896/1.803, allocations: 2.911 MB / 0.7187 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005368/1.808, allocations: 0.8309 MB / 0.7195 GB, free: 74.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.827, allocations: 8.223 MB / 0.7275 GB, free: 72.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004988/1.832, allocations: 3.437 MB / 0.7309 GB, free: 70.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.834, allocations: 233 kB / 0.7311 GB, free: 70.94 MB / 442.7 MB Notification: Performance of SimCode: time 2.586e-06/1.834, allocations: 0 / 0.7311 GB, free: 70.94 MB / 442.7 MB Notification: Performance of Templates: time 0.6277/2.461, allocations: 292.9 MB / 1.017 GB, free: 6.344 MB / 474.7 MB