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 2.093/2.093, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.944e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 50.41 MB / 345 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.03168/0.139, allocations: 18.33 MB / 363.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.1562, allocations: 5.695 MB / 369 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005405/0.1617, allocations: 191.4 kB / 369.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005261/0.167, allocations: 1.119 MB / 370.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009049/0.1761, allocations: 1.783 MB / 372.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.1811, allocations: 0.8889 MB / 373 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0141/0.1953, allocations: 5.229 MB / 378.2 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.2055, allocations: 4.291 MB / 382.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.2116, allocations: 2.458 MB / 385 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007536/0.2192, allocations: 3.158 MB / 388.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.223, allocations: 471.6 kB / 388.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002489/0.2255, allocations: 308 kB / 388.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003579/0.2292, allocations: 1.67 MB / 390.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.2328, allocations: 0.7344 MB / 391.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3211/0.554, allocations: 13.9 MB / 405.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.554, allocations: 0 / 405.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.554, allocations: 0.5312 kB / 405.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005798/0.5546, allocations: 0 / 405.2 MB, free: 13.86 MB / 330.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.03587/0.5905, allocations: 8.306 MB / 413.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5906, allocations: 9.406 kB / 413.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.6093, allocations: 2.042 MB / 415.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.6285, allocations: 5.525 MB / 421.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.6296, allocations: 0.5916 MB / 421.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004075/0.6337, allocations: 0.7873 MB / 422.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.6731, allocations: 11.23 MB / 433.7 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004822/0.6736, allocations: 14.64 kB / 433.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003189/0.6768, allocations: 330.6 kB / 434 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004628/0.6773, allocations: 375.5 kB / 434.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/0.7101, allocations: 9.894 MB / 444.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/0.8104, allocations: 34.56 MB / 478.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03532/0.8458, allocations: 19.81 MB / 498.7 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02756/0.8734, allocations: 7.887 MB / 0.4947 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.8736, allocations: 77.16 kB / 0.4948 GB, free: 13.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=339): time 8.937e-06/0.8736, allocations: 0 / 0.4948 GB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=347): time 0.08913/0.9628, allocations: 16.21 MB / 0.5106 GB, free: 13.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.9629, allocations: 94.03 kB / 0.5107 GB, free: 13.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/0.9738, allocations: 3.832 MB / 0.5144 GB, free: 9.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007525/0.9746, allocations: 85.7 kB / 0.5145 GB, free: 9.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003641/0.9783, allocations: 3.238 MB / 0.5177 GB, free: 5.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.9803, allocations: 1.166 MB / 0.5188 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.9809, allocations: 80 kB / 0.5189 GB, free: 4.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003999/0.9813, allocations: 471.5 kB / 0.5193 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00611/0.9874, allocations: 1.911 MB / 0.5212 GB, free: 2.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007261/0.9947, allocations: 2.959 MB / 0.5241 GB, free: 14.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007437/1.002, allocations: 2.406 MB / 0.5264 GB, free: 12.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.064e-05/1.002, allocations: 8 kB / 0.5264 GB, free: 12.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.01917/1.021, allocations: 5.999 MB / 0.5323 GB, free: 6.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/1.022, allocations: 20 kB / 0.5323 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.952e-05/1.022, allocations: 28 kB / 0.5324 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/1.026, allocations: 0.8639 MB / 0.5332 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006928/1.033, allocations: 0.858 MB / 0.534 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02551/1.058, allocations: 15.55 MB / 0.5492 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005315/1.063, allocations: 188 kB / 0.5494 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009298/1.064, allocations: 168 kB / 0.5496 GB, free: 4.188 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (448): * Single equations (assignments): 439 * 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,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007529/1.072, allocations: 2.59 MB / 0.5521 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.074, allocations: 462.4 kB / 0.5525 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02026/1.094, allocations: 5.963 MB / 0.5583 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/1.094, allocations: 32 kB / 0.5584 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.348e-05/1.094, allocations: 27.94 kB / 0.5584 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.641e-05/1.094, allocations: 19.94 kB / 0.5584 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3744/1.469, allocations: 13.48 MB / 0.5716 GB, free: 165.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-05/1.469, allocations: 3.875 kB / 0.5716 GB, free: 165.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/1.473, allocations: 434.3 kB / 0.572 GB, free: 165.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/1.479, allocations: 1.438 MB / 0.5734 GB, free: 165 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006839/1.48, allocations: 94.44 kB / 0.5735 GB, free: 165 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03799/1.518, allocations: 24.74 MB / 0.5977 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.518, allocations: 3.938 kB / 0.5977 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.54, allocations: 9.064 MB / 0.6065 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003543/1.544, allocations: 0.9711 MB / 0.6075 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.546, allocations: 86.7 kB / 0.6075 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/1.551, allocations: 191 kB / 0.6077 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001452/1.552, allocations: 338 kB / 0.6081 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005528/1.553, allocations: 98.28 kB / 0.6081 GB, free: 142.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007144/1.56, allocations: 2.933 MB / 0.611 GB, free: 141.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.56, allocations: 3.938 kB / 0.611 GB, free: 141.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007892/1.568, allocations: 1.456 MB / 0.6124 GB, free: 141.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * 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 {(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 1,(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.001056/1.569, allocations: 239.6 kB / 0.6127 GB, free: 141.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01416/1.583, allocations: 5.893 MB / 0.6184 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.583, allocations: 4 kB / 0.6184 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01055/1.594, allocations: 4.272 MB / 0.6226 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008642/1.603, allocations: 1.145 MB / 0.6237 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03874/1.641, allocations: 17.39 MB / 0.6407 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008952/1.65, allocations: 5.126 MB / 0.6457 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.653, allocations: 311.4 kB / 0.646 GB, free: 108.2 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/1.653, allocations: 0 / 0.646 GB, free: 108.2 MB / 474.7 MB Notification: Performance of Templates: time 1.602/3.255, allocations: 446 MB / 1.082 GB, free: 149.9 MB / 474.7 MB