Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.657e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1402, allocations: 50.42 MB / 345 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.05369/0.194, allocations: 21.55 MB / 366.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02637/0.2205, allocations: 6.841 MB / 373.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/0.2281, allocations: 231.2 kB / 373.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008354/0.2366, allocations: 1.371 MB / 375 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0149/0.2515, allocations: 2.169 MB / 377.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007742/0.2593, allocations: 1.067 MB / 378.2 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02418/0.2836, allocations: 6.543 MB / 384.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01865/0.3023, allocations: 5.629 MB / 390.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01/0.3124, allocations: 3.175 MB / 393.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.3257, allocations: 4.033 MB / 397.6 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006365/0.3322, allocations: 0.5506 MB / 398.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00415/0.3364, allocations: 404 kB / 398.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006336/0.3428, allocations: 2.168 MB / 400.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006353/0.3492, allocations: 0.9453 MB / 401.7 MB, free: 64 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3856/0.7349, allocations: 17.71 MB / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.735, allocations: 0 / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.658e-06/0.735, allocations: 1.188 kB / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0008296/0.7359, allocations: 0 / 419.4 MB, free: 10.06 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.04908/0.785, allocations: 10.35 MB / 429.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.785, allocations: 9 kB / 429.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.806, allocations: 2.322 MB / 432.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/0.8325, allocations: 7.516 MB / 439.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/0.8337, allocations: 0.7411 MB / 440.3 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004668/0.8384, allocations: 0.9857 MB / 441.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/0.8923, allocations: 14.31 MB / 455.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000609/0.8929, allocations: 11.28 kB / 455.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004172/0.8971, allocations: 416.9 kB / 456 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007252/0.8979, allocations: 456.3 kB / 456.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04653/0.9445, allocations: 12.54 MB / 469 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/1.085, allocations: 44.18 MB / 0.5012 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04445/1.129, allocations: 25.01 MB / 0.5256 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04081/1.17, allocations: 9.94 MB / 0.5353 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/1.17, allocations: 86 kB / 0.5354 GB, free: 10.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=443): time 7.394e-06/1.17, allocations: 8 kB / 0.5354 GB, free: 10.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=451): time 0.1031/1.273, allocations: 22.73 MB / 0.5576 GB, free: 3.816 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.274, allocations: 98.95 kB / 0.5577 GB, free: 3.707 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3461/1.62, allocations: 4.692 MB / 0.5623 GB, free: 151.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001196/1.621, allocations: 106 kB / 0.5624 GB, free: 151.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005409/1.626, allocations: 4.072 MB / 0.5663 GB, free: 149.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00319/1.63, allocations: 1.507 MB / 0.5678 GB, free: 148.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009495/1.631, allocations: 99.44 kB / 0.5679 GB, free: 148.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006365/1.631, allocations: 0.5023 MB / 0.5684 GB, free: 148.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/1.642, allocations: 2.497 MB / 0.5708 GB, free: 147.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.653, allocations: 3.706 MB / 0.5745 GB, free: 144.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008865/1.662, allocations: 3.065 MB / 0.5775 GB, free: 143.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.496e-05/1.662, allocations: 13.62 kB / 0.5775 GB, free: 143.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=646) (initialization): time 0.02466/1.687, allocations: 8.024 MB / 0.5853 GB, free: 140.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/1.687, allocations: 18.75 kB / 0.5853 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.672e-05/1.687, allocations: 33.62 kB / 0.5854 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00647/1.693, allocations: 1.56 MB / 0.5869 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008409/1.702, allocations: 1.041 MB / 0.5879 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03535/1.737, allocations: 27.72 MB / 0.615 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007498/1.745, allocations: 238.8 kB / 0.6152 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.746, allocations: 200 kB / 0.6154 GB, free: 113.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (555): * Single equations (assignments): 539 * 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: 14 * 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: 14 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01038/1.756, allocations: 3.298 MB / 0.6186 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.758, allocations: 0.582 MB / 0.6192 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02557/1.784, allocations: 8.238 MB / 0.6272 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/1.784, allocations: 44 kB / 0.6273 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-05/1.784, allocations: 28.12 kB / 0.6273 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/1.784, allocations: 23.92 kB / 0.6273 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05318/1.837, allocations: 17.53 MB / 0.6444 GB, free: 84.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-05/1.838, allocations: 4 kB / 0.6444 GB, free: 84.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004681/1.842, allocations: 0.5123 MB / 0.6449 GB, free: 83.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009645/1.852, allocations: 2.331 MB / 0.6472 GB, free: 81.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/1.853, allocations: 99.97 kB / 0.6473 GB, free: 81.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05601/1.909, allocations: 35.75 MB / 0.6822 GB, free: 43.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.909, allocations: 7.938 kB / 0.6822 GB, free: 43.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03228/1.941, allocations: 12.32 MB / 0.6942 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005208/1.947, allocations: 1.208 MB / 0.6954 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003113/1.95, allocations: 91.98 kB / 0.6955 GB, free: 29.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007065/1.957, allocations: 256 kB / 0.6958 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002157/1.959, allocations: 446.9 kB / 0.6962 GB, free: 29.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009335/1.96, allocations: 124 kB / 0.6963 GB, free: 28.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01024/1.97, allocations: 3.592 MB / 0.6998 GB, free: 25.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.853e-06/1.97, allocations: 4 kB / 0.6998 GB, free: 25.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01182/1.982, allocations: 1.883 MB / 0.7017 GB, free: 23.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (265): * Single equations (assignments): 252 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(11,49.6%) 56,(6,72.2%) 46,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/1.984, allocations: 271.9 kB / 0.7019 GB, free: 23.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02005/2.004, allocations: 8.204 MB / 0.7099 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/2.004, allocations: 4 kB / 0.7099 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01481/2.019, allocations: 5.934 MB / 0.7157 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01258/2.031, allocations: 1.567 MB / 0.7173 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06335/2.095, allocations: 22.15 MB / 0.7389 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3655/2.46, allocations: 6.398 MB / 0.7451 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002816/2.463, allocations: 381.4 kB / 0.7455 GB, free: 146.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.234e-06/2.463, allocations: 1.375 kB / 0.7455 GB, free: 146.7 MB / 474.7 MB Notification: Performance of Templates: time 2.592/5.056, allocations: 0.8239 GB / 1.569 GB, free: 49.29 MB / 490.7 MB