Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.482e-05, allocations: 0 / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08163, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4635, allocations: 114.6 MB / 431.6 MB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4638, allocations: 84.02 kB / 431.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9789/1.443, allocations: 220.3 MB / 0.6367 GB, free: 37.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.989e-06/1.443, allocations: 0 / 0.6367 GB, free: 37.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007933/1.444, allocations: 251.7 kB / 0.637 GB, free: 37.41 MB / 426.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.03103/1.475, allocations: 9.57 MB / 0.6463 GB, free: 27.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.475, allocations: 12.03 kB / 0.6463 GB, free: 27.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/1.489, allocations: 2.122 MB / 0.6484 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/1.513, allocations: 8.912 MB / 0.6571 GB, free: 16.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007326/1.514, allocations: 0.7503 MB / 0.6578 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003845/1.518, allocations: 0.9803 MB / 0.6588 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.554, allocations: 13.67 MB / 0.6721 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/1.554, allocations: 11.84 kB / 0.6721 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/1.556, allocations: 428 kB / 0.6725 GB, free: 424 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2663/1.823, allocations: 455.7 kB / 0.673 GB, free: 43.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03172/1.854, allocations: 11.3 MB / 0.684 GB, free: 43.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08858/1.943, allocations: 44.14 MB / 0.7271 GB, free: 34.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.966, allocations: 24.45 MB / 0.751 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009256/1.976, allocations: 4.901 MB / 0.7558 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02726/2.003, allocations: 12.1 MB / 0.7676 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.417e-05/2.003, allocations: 77.67 kB / 0.7677 GB, free: 6.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=419): time 1.616e-05/2.003, allocations: 0 / 0.7677 GB, free: 6.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=425): time 0.05023/2.053, allocations: 13.85 MB / 0.7812 GB, free: 15.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/2.054, allocations: 92.25 kB / 0.7813 GB, free: 15.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/2.07, allocations: 4.683 MB / 0.7859 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/2.071, allocations: 99.7 kB / 0.786 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006839/2.078, allocations: 4.44 MB / 0.7903 GB, free: 10.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002983/2.081, allocations: 1.414 MB / 0.7917 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006929/2.082, allocations: 97.62 kB / 0.7918 GB, free: 9.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000622/2.082, allocations: 0.4918 MB / 0.7922 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008785/2.091, allocations: 2.255 MB / 0.7945 GB, free: 7.973 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.103, allocations: 3.38 MB / 0.7978 GB, free: 5.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006114/2.109, allocations: 2.812 MB / 0.8005 GB, free: 4.645 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/2.109, allocations: 9.781 kB / 0.8005 GB, free: 4.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01731/2.126, allocations: 7.705 MB / 0.808 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/2.126, allocations: 20.62 kB / 0.8081 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.931e-05/2.126, allocations: 37.86 kB / 0.8081 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005725/2.132, allocations: 1.505 MB / 0.8096 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/2.138, allocations: 0.9877 MB / 0.8105 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0352/2.173, allocations: 26.65 MB / 0.8365 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/2.179, allocations: 236.2 kB / 0.8368 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/2.179, allocations: 195.3 kB / 0.837 GB, free: 3.934 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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,68.8%) 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.001181/2.181, allocations: 402.2 kB / 0.8373 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/2.182, allocations: 0.5751 MB / 0.8379 GB, free: 2.961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3087/2.491, allocations: 8.268 MB / 0.846 GB, free: 81.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.998e-05/2.491, allocations: 44.61 kB / 0.846 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.729e-05/2.491, allocations: 28.03 kB / 0.8461 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.97e-05/2.491, allocations: 20.39 kB / 0.8461 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03715/2.528, allocations: 16.34 MB / 0.862 GB, free: 79.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/2.528, allocations: 6.562 kB / 0.862 GB, free: 79.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/2.531, allocations: 452.5 kB / 0.8625 GB, free: 79.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006875/2.538, allocations: 2.247 MB / 0.8647 GB, free: 79.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/2.538, allocations: 90.2 kB / 0.8647 GB, free: 79.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04084/2.579, allocations: 34.49 MB / 0.8984 GB, free: 63.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.837e-06/2.579, allocations: 9.672 kB / 0.8984 GB, free: 63.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/2.6, allocations: 11.44 MB / 0.9096 GB, free: 61.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/2.604, allocations: 1.197 MB / 0.9108 GB, free: 61.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/2.605, allocations: 85.94 kB / 0.9109 GB, free: 61.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/2.609, allocations: 259.1 kB / 0.9111 GB, free: 61.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/2.611, allocations: 440.7 kB / 0.9115 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004079/2.611, allocations: 114 kB / 0.9116 GB, free: 61.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007036/2.618, allocations: 3.576 MB / 0.9151 GB, free: 60.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.22e-06/2.618, allocations: 0 / 0.9151 GB, free: 60.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008507/2.627, allocations: 1.903 MB / 0.917 GB, free: 60.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.001335/2.628, allocations: 0.6656 MB / 0.9176 GB, free: 60.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/2.641, allocations: 7.465 MB / 0.9249 GB, free: 56.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.756e-06/2.641, allocations: 3.75 kB / 0.9249 GB, free: 56.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009966/2.651, allocations: 5.425 MB / 0.9302 GB, free: 53.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/2.66, allocations: 1.602 MB / 0.9318 GB, free: 53.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/2.695, allocations: 15.28 MB / 0.9467 GB, free: 47.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/2.706, allocations: 6.552 MB / 0.9531 GB, free: 45.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006521/2.713, allocations: 1.278 MB / 0.9544 GB, free: 45.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/2.714, allocations: 334.5 kB / 0.9547 GB, free: 45.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.902e-06/2.714, allocations: 0 / 0.9547 GB, free: 45.09 MB / 474.7 MB Notification: Performance of Templates: time 0.5492/3.263, allocations: 96.24 MB / 1.049 GB, free: 59.25 MB / 474.7 MB