Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.318e-05, allocations: 0 / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09035, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.4955, allocations: 118.1 MB / 460.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4959, allocations: 104.9 kB / 460.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.958/1.454, allocations: 221.8 MB / 0.6665 GB, free: 23.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.442e-06/1.454, allocations: 0 / 0.6665 GB, free: 23.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009005/1.455, allocations: 247.7 kB / 0.6668 GB, free: 22.84 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.03283/1.488, allocations: 9.627 MB / 0.6762 GB, free: 13.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.488, allocations: 12.03 kB / 0.6762 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/1.502, allocations: 2.118 MB / 0.6783 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/1.528, allocations: 8.904 MB / 0.687 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008342/1.529, allocations: 0.7426 MB / 0.6877 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/1.533, allocations: 0.9881 MB / 0.6887 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3267/1.859, allocations: 13.64 MB / 0.702 GB, free: 33.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/1.86, allocations: 13.55 kB / 0.702 GB, free: 33.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003075/1.863, allocations: 430.6 kB / 0.7024 GB, free: 33.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/1.863, allocations: 455.2 kB / 0.7028 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/1.896, allocations: 11.3 MB / 0.7139 GB, free: 33.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09681/1.993, allocations: 44.11 MB / 0.7569 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02776/2.021, allocations: 24.47 MB / 0.7808 GB, free: 16.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01027/2.031, allocations: 4.932 MB / 0.7857 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03013/2.061, allocations: 12.13 MB / 0.7975 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.384e-05/2.061, allocations: 83.47 kB / 0.7976 GB, free: 8.758 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 8.247e-06/2.061, allocations: 2.156 kB / 0.7976 GB, free: 8.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=427): time 0.03259/2.094, allocations: 13.87 MB / 0.8111 GB, free: 2.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/2.094, allocations: 95.02 kB / 0.8112 GB, free: 2.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/2.104, allocations: 4.683 MB / 0.8158 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007752/2.105, allocations: 97.02 kB / 0.8159 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007754/2.113, allocations: 4.623 MB / 0.8204 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/2.115, allocations: 1.417 MB / 0.8218 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/2.115, allocations: 95.16 kB / 0.8219 GB, free: 12.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004116/2.116, allocations: 0.4917 MB / 0.8224 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/2.12, allocations: 2.266 MB / 0.8246 GB, free: 11.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005951/2.126, allocations: 3.376 MB / 0.8279 GB, free: 9.211 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005974/2.132, allocations: 2.823 MB / 0.8306 GB, free: 8.129 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/2.132, allocations: 12.53 kB / 0.8306 GB, free: 8.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01807/2.15, allocations: 7.719 MB / 0.8382 GB, free: 2.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/2.151, allocations: 20 kB / 0.8382 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-05/2.151, allocations: 32 kB / 0.8382 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00512/2.156, allocations: 1.473 MB / 0.8397 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/2.161, allocations: 0.9737 MB / 0.8406 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03489/2.196, allocations: 26.68 MB / 0.8667 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/2.201, allocations: 238.6 kB / 0.8669 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006682/2.202, allocations: 193 kB / 0.8671 GB, free: 5.637 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.001147/2.203, allocations: 393.7 kB / 0.8675 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/2.205, allocations: 0.577 MB / 0.868 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3142/2.519, allocations: 7.693 MB / 0.8755 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-05/2.519, allocations: 43.41 kB / 0.8756 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-05/2.519, allocations: 28.62 kB / 0.8756 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.236e-05/2.519, allocations: 20.67 kB / 0.8756 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04188/2.561, allocations: 16.35 MB / 0.8916 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/2.561, allocations: 3.312 kB / 0.8916 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/2.564, allocations: 461.4 kB / 0.892 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007409/2.572, allocations: 2.233 MB / 0.8942 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000772/2.573, allocations: 93.53 kB / 0.8943 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/2.618, allocations: 34.5 MB / 0.928 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.087e-06/2.618, allocations: 6.156 kB / 0.928 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0229/2.641, allocations: 11.38 MB / 0.9391 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004244/2.645, allocations: 1.201 MB / 0.9403 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/2.647, allocations: 87.75 kB / 0.9404 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/2.652, allocations: 258 kB / 0.9406 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/2.653, allocations: 435.6 kB / 0.941 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004791/2.654, allocations: 116.2 kB / 0.9411 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008214/2.662, allocations: 3.574 MB / 0.9446 GB, free: 67.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.143e-06/2.662, allocations: 0 / 0.9446 GB, free: 67.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009189/2.671, allocations: 1.904 MB / 0.9465 GB, free: 67.47 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.001524/2.673, allocations: 0.6828 MB / 0.9472 GB, free: 67.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01389/2.686, allocations: 7.479 MB / 0.9545 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.687, allocations: 1.594 kB / 0.9545 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/2.697, allocations: 5.363 MB / 0.9597 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009586/2.707, allocations: 1.601 MB / 0.9613 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/2.744, allocations: 15.25 MB / 0.9762 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/2.755, allocations: 6.548 MB / 0.9826 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006729/2.762, allocations: 1.273 MB / 0.9838 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.763, allocations: 338.2 kB / 0.9841 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.879e-06/2.763, allocations: 0 / 0.9841 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.5907/3.354, allocations: 96.4 MB / 1.078 GB, free: 66.91 MB / 0.4948 GB