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.037/2.037, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.81e-05, allocations: 4 kB / 292.2 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.0902, allocations: 50.42 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5016, allocations: 118.1 MB / 460.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.502, allocations: 104.4 kB / 460.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.514, allocations: 221.8 MB / 0.6666 GB, free: 23.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.58e-06/1.514, allocations: 0 / 0.6666 GB, free: 23.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009142/1.514, allocations: 251.7 kB / 0.6668 GB, free: 23.06 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03473/1.549, allocations: 9.617 MB / 0.6762 GB, free: 13.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.549, allocations: 12.03 kB / 0.6762 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/1.566, allocations: 2.122 MB / 0.6783 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02728/1.594, allocations: 8.912 MB / 0.687 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009409/1.595, allocations: 0.7504 MB / 0.6877 GB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/1.599, allocations: 0.9764 MB / 0.6887 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3368/1.936, allocations: 13.65 MB / 0.702 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004511/1.936, allocations: 15.61 kB / 0.702 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003367/1.939, allocations: 431.5 kB / 0.7025 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000605/1.94, allocations: 452.7 kB / 0.7029 GB, free: 33.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03228/1.972, allocations: 11.3 MB / 0.7139 GB, free: 33.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09815/2.071, allocations: 44.11 MB / 0.757 GB, free: 21.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/2.097, allocations: 24.47 MB / 0.7809 GB, free: 16.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/2.107, allocations: 4.922 MB / 0.7857 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03266/2.14, allocations: 12.14 MB / 0.7976 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.888e-05/2.14, allocations: 78.22 kB / 0.7976 GB, free: 8.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 9.603e-06/2.14, allocations: 3.391 kB / 0.7976 GB, free: 8.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=427): time 0.03554/2.176, allocations: 13.88 MB / 0.8112 GB, free: 2.594 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/2.176, allocations: 94.39 kB / 0.8113 GB, free: 2.527 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.188, allocations: 4.68 MB / 0.8159 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00084/2.189, allocations: 100.1 kB / 0.8159 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006197/2.195, allocations: 4.182 MB / 0.82 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/2.197, allocations: 1.427 MB / 0.8214 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005107/2.198, allocations: 95 kB / 0.8215 GB, free: 12.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004641/2.198, allocations: 0.4957 MB / 0.822 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/2.204, allocations: 2.268 MB / 0.8242 GB, free: 11.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006864/2.21, allocations: 3.374 MB / 0.8275 GB, free: 9.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/2.217, allocations: 2.823 MB / 0.8303 GB, free: 8.121 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-05/2.217, allocations: 7.812 kB / 0.8303 GB, free: 8.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.0191/2.236, allocations: 7.344 MB / 0.8374 GB, free: 3.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/2.236, allocations: 23.09 kB / 0.8375 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-05/2.237, allocations: 32 kB / 0.8375 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005436/2.242, allocations: 1.47 MB / 0.8389 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/2.248, allocations: 0.9763 MB / 0.8399 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03595/2.284, allocations: 26.67 MB / 0.8659 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/2.289, allocations: 235.6 kB / 0.8662 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/2.291, allocations: 191.2 kB / 0.8663 GB, free: 6.043 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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,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 (526): * Single equations (assignments): 510 * 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%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,56.2%) 22,(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.00146/2.292, allocations: 402 kB / 0.8667 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/2.294, allocations: 0.5712 MB / 0.8673 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3304/2.624, allocations: 7.696 MB / 0.8748 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/2.624, allocations: 42.7 kB / 0.8748 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.353e-05/2.625, allocations: 28.31 kB / 0.8749 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.245e-05/2.625, allocations: 20.48 kB / 0.8749 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04255/2.667, allocations: 16.35 MB / 0.8909 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.297e-05/2.667, allocations: 3.938 kB / 0.8909 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/2.671, allocations: 456.7 kB / 0.8913 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00806/2.679, allocations: 2.236 MB / 0.8935 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008054/2.68, allocations: 94.55 kB / 0.8936 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04578/2.725, allocations: 34.5 MB / 0.9273 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/2.725, allocations: 6.469 kB / 0.9273 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/2.75, allocations: 11.39 MB / 0.9384 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/2.754, allocations: 1.201 MB / 0.9396 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/2.756, allocations: 87.81 kB / 0.9396 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004876/2.761, allocations: 253.2 kB / 0.9399 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/2.763, allocations: 440.2 kB / 0.9403 GB, free: 68.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006093/2.763, allocations: 118.1 kB / 0.9404 GB, free: 68.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008769/2.772, allocations: 3.567 MB / 0.9439 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.305e-06/2.772, allocations: 3.969 kB / 0.9439 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00992/2.782, allocations: 1.915 MB / 0.9458 GB, free: 67.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,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,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 (241): * Single equations (assignments): 228 * 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 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/2.784, allocations: 0.67 MB / 0.9464 GB, free: 67.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0148/2.798, allocations: 7.475 MB / 0.9537 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.395e-06/2.799, allocations: 3.375 kB / 0.9537 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/2.809, allocations: 5.357 MB / 0.959 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009292/2.819, allocations: 1.585 MB / 0.9605 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/2.858, allocations: 15.18 MB / 0.9753 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/2.871, allocations: 6.387 MB / 0.9816 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/2.873, allocations: 368.2 kB / 0.9819 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.96e-06/2.873, allocations: 0 / 0.9819 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of Templates: time 2.533/5.406, allocations: 0.8241 GB / 1.806 GB, free: 119.2 MB / 0.5261 GB