Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.726e-05, allocations: 0 / 292.2 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.08995, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.4977, allocations: 114.7 MB / 457.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.498, allocations: 102.4 kB / 457.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8461/1.344, allocations: 183.7 MB / 0.6261 GB, free: 64.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.408e-06/1.344, allocations: 0 / 0.6261 GB, free: 64.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006334/1.345, allocations: 199.7 kB / 0.6262 GB, free: 64.72 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02635/1.371, allocations: 7.625 MB / 0.6337 GB, free: 57.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.371, allocations: 12.02 kB / 0.6337 GB, free: 57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/1.384, allocations: 1.812 MB / 0.6355 GB, free: 55.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.404, allocations: 6.959 MB / 0.6423 GB, free: 48.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000612/1.404, allocations: 0.594 MB / 0.6429 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/1.407, allocations: 0.7926 MB / 0.6436 GB, free: 46.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/1.435, allocations: 10.67 MB / 0.654 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/1.436, allocations: 7.984 kB / 0.6541 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/1.438, allocations: 336 kB / 0.6544 GB, free: 35.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/1.438, allocations: 364.3 kB / 0.6547 GB, free: 35.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/1.461, allocations: 8.896 MB / 0.6634 GB, free: 26.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6332/2.094, allocations: 34.53 MB / 0.6971 GB, free: 48.81 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/2.117, allocations: 19.64 MB / 0.7163 GB, free: 34.27 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007703/2.124, allocations: 3.609 MB / 0.7198 GB, free: 34.21 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02268/2.147, allocations: 9.465 MB / 0.7291 GB, free: 33.38 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/2.147, allocations: 70.81 kB / 0.7291 GB, free: 33.34 MB / 442.8 MB Notification: Performance of pre-optimization done (n=317): time 7.84e-06/2.147, allocations: 0 / 0.7291 GB, free: 33.34 MB / 442.8 MB Notification: Performance of matching and sorting (n=323): time 0.02297/2.17, allocations: 10.09 MB / 0.739 GB, free: 31.55 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/2.17, allocations: 87.02 kB / 0.7391 GB, free: 31.49 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008205/2.179, allocations: 3.826 MB / 0.7428 GB, free: 31.17 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000577/2.179, allocations: 84.36 kB / 0.7429 GB, free: 31.14 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/2.181, allocations: 3.268 MB / 0.7461 GB, free: 29.62 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/2.183, allocations: 1.084 MB / 0.7471 GB, free: 28.93 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/2.183, allocations: 76.28 kB / 0.7472 GB, free: 28.93 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002382/2.183, allocations: 465.5 kB / 0.7477 GB, free: 28.62 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/2.187, allocations: 1.687 MB / 0.7493 GB, free: 28.61 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/2.191, allocations: 2.697 MB / 0.7519 GB, free: 27.47 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/2.195, allocations: 2.176 MB / 0.7541 GB, free: 27.42 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/2.195, allocations: 7.781 kB / 0.7541 GB, free: 27.42 MB / 442.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.0114/2.206, allocations: 5.377 MB / 0.7593 GB, free: 27.02 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/2.206, allocations: 17.06 kB / 0.7593 GB, free: 27.02 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/2.207, allocations: 32.59 kB / 0.7594 GB, free: 27.02 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/2.209, allocations: 0.7985 MB / 0.7601 GB, free: 26.95 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/2.214, allocations: 0.8039 MB / 0.7609 GB, free: 26.95 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/2.229, allocations: 14.81 MB / 0.7754 GB, free: 15.85 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/2.234, allocations: 191.3 kB / 0.7756 GB, free: 15.78 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/2.234, allocations: 163.4 kB / 0.7757 GB, free: 15.75 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008338/2.235, allocations: 340.1 kB / 0.7761 GB, free: 15.52 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/2.236, allocations: 453.1 kB / 0.7765 GB, free: 15.29 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/2.248, allocations: 5.421 MB / 0.7818 GB, free: 12.98 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/2.248, allocations: 30.38 kB / 0.7818 GB, free: 12.98 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/2.248, allocations: 24.14 kB / 0.7818 GB, free: 12.98 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/2.248, allocations: 18.02 kB / 0.7819 GB, free: 12.98 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/2.275, allocations: 12.35 MB / 0.7939 GB, free: 7.742 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/2.276, allocations: 3.875 kB / 0.7939 GB, free: 7.742 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/2.278, allocations: 379.9 kB / 0.7943 GB, free: 7.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/2.283, allocations: 1.363 MB / 0.7956 GB, free: 7.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/2.283, allocations: 93.75 kB / 0.7957 GB, free: 7.27 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/2.318, allocations: 23.94 MB / 0.8191 GB, free: 5.367 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.078e-06/2.318, allocations: 13.5 kB / 0.8191 GB, free: 5.363 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/2.335, allocations: 8.137 MB / 0.827 GB, free: 1.293 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/2.338, allocations: 0.9476 MB / 0.828 GB, free: 500 kB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/2.339, allocations: 81.91 kB / 0.828 GB, free: 424 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/2.343, allocations: 186.2 kB / 0.8282 GB, free: 272 kB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/2.345, allocations: 325.2 kB / 0.8285 GB, free: 76 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006628/2.345, allocations: 88.38 kB / 0.8286 GB, free: 0 / 458.8 MB Notification: Performance of sorting global known variables: time 0.008416/2.354, allocations: 2.914 MB / 0.8315 GB, free: 13.38 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.401e-06/2.354, allocations: 4 kB / 0.8315 GB, free: 13.38 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007955/2.362, allocations: 1.469 MB / 0.8329 GB, free: 11.91 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/2.363, allocations: 0.5676 MB / 0.8335 GB, free: 11.44 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0121/2.375, allocations: 5.269 MB / 0.8386 GB, free: 6.562 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.375, allocations: 0 / 0.8386 GB, free: 6.562 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008847/2.384, allocations: 3.835 MB / 0.8423 GB, free: 3.051 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007071/2.391, allocations: 1.17 MB / 0.8435 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0331/2.424, allocations: 11.79 MB / 0.855 GB, free: 7.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01017/2.435, allocations: 5.121 MB / 0.86 GB, free: 3.766 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/2.437, allocations: 307.8 kB / 0.8603 GB, free: 3.48 MB / 490.8 MB Notification: Performance of SimCode: time 1.832e-06/2.437, allocations: 0 / 0.8603 GB, free: 3.48 MB / 490.8 MB Notification: Performance of Templates: time 1.498/3.935, allocations: 446.6 MB / 1.296 GB, free: 99.41 MB / 0.4949 GB