Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|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|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.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.833e-05, allocations: 4 kB / 228.1 MB, free: 7.965 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08715, allocations: 38.76 MB / 266.9 MB, free: 1.117 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.03491/0.1221, allocations: 20.41 MB / 287.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.1395, allocations: 6.183 MB / 293.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.1448, allocations: 207.3 kB / 293.7 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.1506, allocations: 1.29 MB / 295 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.1602, allocations: 1.904 MB / 296.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.1661, allocations: 1.049 MB / 297.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2428/0.4089, allocations: 6.234 MB / 304.2 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01493/0.4239, allocations: 5.447 MB / 309.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008763/0.4327, allocations: 3.027 MB / 312.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.4435, allocations: 3.819 MB / 316.5 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007283/0.4509, allocations: 0.5038 MB / 317 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004087/0.455, allocations: 388.9 kB / 317.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005158/0.4602, allocations: 2.064 MB / 319.4 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005495/0.4658, allocations: 0.9093 MB / 320.3 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02673/0.4926, allocations: 16.93 MB / 337.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4926, allocations: 0 / 337.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4927, allocations: 4 kB / 337.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0007285/0.4934, allocations: 0 / 337.2 MB, free: 7.492 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04313/0.5365, allocations: 9.947 MB / 347.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5366, allocations: 8.031 kB / 347.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.5505, allocations: 1.748 MB / 349 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02334/0.5739, allocations: 6.739 MB / 355.7 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/0.5752, allocations: 0.6933 MB / 356.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004434/0.5796, allocations: 0.9244 MB / 357.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04923/0.6289, allocations: 13.22 MB / 370.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005775/0.6295, allocations: 15.27 kB / 370.5 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003643/0.6332, allocations: 392 kB / 370.9 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005971/0.6338, allocations: 395 kB / 371.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0404/0.6743, allocations: 11.15 MB / 382.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1176/0.7919, allocations: 40.71 MB / 423.2 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.8114, allocations: 9.065 MB / 432.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.8121, allocations: 58.81 kB / 432.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.8122, allocations: 77.95 kB / 432.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=431): time 8.116e-06/0.8122, allocations: 0 / 432.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=439): time 0.5722/1.384, allocations: 22.34 MB / 454.7 MB, free: 104.5 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.385, allocations: 98.72 kB / 454.8 MB, free: 104.4 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.398, allocations: 4.645 MB / 459.5 MB, free: 102.8 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009857/1.399, allocations: 97.39 kB / 459.5 MB, free: 102.7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003478/1.402, allocations: 3.812 MB / 463.4 MB, free: 99.67 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002167/1.405, allocations: 1.463 MB / 464.8 MB, free: 98.53 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.405, allocations: 95.78 kB / 464.9 MB, free: 98.46 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0003408/1.405, allocations: 0.4959 MB / 465.4 MB, free: 98.06 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006843/1.412, allocations: 2.411 MB / 467.8 MB, free: 97.17 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009719/1.422, allocations: 3.502 MB / 471.3 MB, free: 94.98 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/1.435, allocations: 2.951 MB / 474.3 MB, free: 93.71 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.478e-05/1.435, allocations: 10.28 kB / 474.3 MB, free: 93.71 MB / 362.8 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.02219/1.457, allocations: 7.735 MB / 482 MB, free: 90.38 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.457, allocations: 16.22 kB / 482 MB, free: 90.38 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/1.457, allocations: 33.69 kB / 482.1 MB, free: 90.38 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006223/1.464, allocations: 1.569 MB / 483.6 MB, free: 89.82 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/1.471, allocations: 1.005 MB / 484.6 MB, free: 89.72 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03389/1.505, allocations: 27.81 MB / 0.5004 GB, free: 60.61 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/1.512, allocations: 223.8 kB / 0.5007 GB, free: 60.39 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.513, allocations: 184 kB / 0.5008 GB, free: 60.21 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (525): * Single equations (assignments): 509 * 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%) 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.008845/1.522, allocations: 3.161 MB / 0.5039 GB, free: 57.04 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/1.524, allocations: 0.5674 MB / 0.5045 GB, free: 56.46 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/1.547, allocations: 7.973 MB / 0.5123 GB, free: 48.35 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/1.547, allocations: 40 kB / 0.5123 GB, free: 48.31 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/1.547, allocations: 28 kB / 0.5123 GB, free: 48.28 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/1.547, allocations: 35.89 kB / 0.5124 GB, free: 48.25 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05007/1.597, allocations: 17.79 MB / 0.5297 GB, free: 30.24 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.207e-05/1.597, allocations: 8 kB / 0.5297 GB, free: 30.23 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004162/1.601, allocations: 478.7 kB / 0.5302 GB, free: 29.77 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009352/1.611, allocations: 2.343 MB / 0.5325 GB, free: 27.39 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008537/1.612, allocations: 95.98 kB / 0.5326 GB, free: 27.3 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0599/1.672, allocations: 35.81 MB / 0.5675 GB, free: 5.801 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.672, allocations: 11.94 kB / 0.5676 GB, free: 5.789 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3158/1.987, allocations: 12.17 MB / 0.5794 GB, free: 104 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006898/1.994, allocations: 1.191 MB / 0.5806 GB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003768/1.998, allocations: 89.86 kB / 0.5807 GB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009358/2.008, allocations: 242.8 kB / 0.5809 GB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0028/2.011, allocations: 425.9 kB / 0.5813 GB, free: 103.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001252/2.012, allocations: 120.8 kB / 0.5814 GB, free: 103.9 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.01547/2.027, allocations: 3.563 MB / 0.5849 GB, free: 103.7 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.332e-06/2.027, allocations: 0 / 0.5849 GB, free: 103.7 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0167/2.044, allocations: 1.812 MB / 0.5867 GB, free: 103.7 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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,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 (253): * Single equations (assignments): 240 * 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,54.5%) 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.001816/2.046, allocations: 244 kB / 0.5869 GB, free: 103.6 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02794/2.074, allocations: 7.949 MB / 0.5947 GB, free: 100.3 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/2.074, allocations: 1.562 kB / 0.5947 GB, free: 100.3 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02185/2.096, allocations: 5.922 MB / 0.6005 GB, free: 97.07 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01779/2.114, allocations: 1.567 MB / 0.602 GB, free: 96.64 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07815/2.192, allocations: 21.25 MB / 0.6228 GB, free: 84.48 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0193/2.211, allocations: 6.148 MB / 0.6288 GB, free: 79.94 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003558/2.215, allocations: 354.3 kB / 0.6291 GB, free: 79.61 MB / 378.8 MB Notification: Performance of SimCode: time 2.505e-06/2.215, allocations: 0 / 0.6291 GB, free: 79.61 MB / 378.8 MB Notification: Performance of Templates: time 2.695/4.91, allocations: 0.7855 GB / 1.415 GB, free: 30.98 MB / 410.8 MB