Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.082e-05, allocations: 4 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3142, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.03054/0.3448, allocations: 18.56 MB / 321.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.36, allocations: 5.669 MB / 327.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/0.3643, allocations: 179.4 kB / 327.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005009/0.3694, allocations: 1.119 MB / 328.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008266/0.3777, allocations: 1.772 MB / 330.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.3824, allocations: 0.924 MB / 331.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.396, allocations: 5.252 MB / 336.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/0.4048, allocations: 4.179 MB / 341 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.4104, allocations: 2.47 MB / 343.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006974/0.4174, allocations: 3.181 MB / 346.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.4209, allocations: 467.8 kB / 347.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.4227, allocations: 312 kB / 347.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002749/0.4255, allocations: 1.674 MB / 349.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.4287, allocations: 0.7383 MB / 349.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.4491, allocations: 13.89 MB / 363.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4492, allocations: 0 / 363.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4492, allocations: 0 / 363.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004697/0.4497, allocations: 0 / 363.7 MB, free: 1.066 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03393/0.4836, allocations: 8.297 MB / 372 MB, free: 8.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4837, allocations: 8.031 kB / 372 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.5013, allocations: 2.038 MB / 374 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.5175, allocations: 5.322 MB / 379.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008913/0.5184, allocations: 0.5823 MB / 379.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/0.5222, allocations: 0.785 MB / 380.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05288/0.5751, allocations: 11.22 MB / 391.9 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005784/0.5758, allocations: 15.83 kB / 392 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003519/0.5793, allocations: 328 kB / 392.3 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008255/0.5802, allocations: 380.3 kB / 392.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04558/0.6258, allocations: 9.863 MB / 402.5 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6301/1.256, allocations: 34.61 MB / 437.1 MB, free: 79.59 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02824/1.284, allocations: 19.82 MB / 456.9 MB, free: 64.37 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02127/1.306, allocations: 7.902 MB / 464.9 MB, free: 60.08 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/1.306, allocations: 71.83 kB / 464.9 MB, free: 60.01 MB / 362.8 MB Notification: Performance of pre-optimization done (n=339): time 6.522e-06/1.306, allocations: 0 / 464.9 MB, free: 60.01 MB / 362.8 MB Notification: Performance of matching and sorting (n=347): time 0.05987/1.366, allocations: 16.18 MB / 481.1 MB, free: 50.63 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.366, allocations: 90.14 kB / 481.2 MB, free: 50.53 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00829/1.374, allocations: 3.824 MB / 485 MB, free: 46.7 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007063/1.375, allocations: 81.7 kB / 485.1 MB, free: 46.61 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/1.378, allocations: 3.498 MB / 488.6 MB, free: 43.09 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.379, allocations: 1.166 MB / 489.8 MB, free: 41.93 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/1.38, allocations: 80 kB / 489.8 MB, free: 41.86 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0002636/1.38, allocations: 470.6 kB / 490.3 MB, free: 41.39 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/1.385, allocations: 1.909 MB / 492.2 MB, free: 39.47 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/1.391, allocations: 2.958 MB / 495.2 MB, free: 36.04 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/1.397, allocations: 2.401 MB / 497.6 MB, free: 33.62 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/1.397, allocations: 8 kB / 497.6 MB, free: 33.62 MB / 362.8 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.0167/1.414, allocations: 6.28 MB / 0.492 GB, free: 27.26 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/1.414, allocations: 19.95 kB / 0.4921 GB, free: 27.24 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.587e-05/1.414, allocations: 33.64 kB / 0.4921 GB, free: 27.21 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/1.417, allocations: 0.8636 MB / 0.4929 GB, free: 26.32 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.424, allocations: 0.8619 MB / 0.4938 GB, free: 25.45 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/1.444, allocations: 15.54 MB / 0.5089 GB, free: 8.988 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.449, allocations: 188 kB / 0.5091 GB, free: 8.805 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/1.45, allocations: 167.9 kB / 0.5093 GB, free: 8.641 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: 8 (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 (448): * Single equations (assignments): 439 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006314/1.457, allocations: 2.585 MB / 0.5118 GB, free: 6.043 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.458, allocations: 458.4 kB / 0.5122 GB, free: 5.59 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/1.475, allocations: 5.964 MB / 0.5181 GB, free: 15.52 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/1.475, allocations: 32 kB / 0.5181 GB, free: 15.49 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.454e-05/1.475, allocations: 20 kB / 0.5181 GB, free: 15.47 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.572e-05/1.475, allocations: 19.89 kB / 0.5181 GB, free: 15.45 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03794/1.513, allocations: 13.51 MB / 0.5313 GB, free: 1.762 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/1.513, allocations: 4 kB / 0.5313 GB, free: 1.758 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00382/1.517, allocations: 423.9 kB / 0.5317 GB, free: 1.344 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006462/1.523, allocations: 1.435 MB / 0.5331 GB, free: 15.88 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006344/1.524, allocations: 99.95 kB / 0.5332 GB, free: 15.79 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0445/1.568, allocations: 24.71 MB / 0.5574 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.568, allocations: 8 kB / 0.5574 GB, free: 5.895 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/1.593, allocations: 9.061 MB / 0.5662 GB, free: 12.43 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003727/1.597, allocations: 0.9757 MB / 0.5672 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.599, allocations: 87.98 kB / 0.5673 GB, free: 11.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004596/1.603, allocations: 191.9 kB / 0.5675 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001446/1.605, allocations: 342 kB / 0.5678 GB, free: 10.82 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005184/1.605, allocations: 95.97 kB / 0.5679 GB, free: 10.73 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007608/1.613, allocations: 2.927 MB / 0.5707 GB, free: 7.801 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.52e-07/1.613, allocations: 0 / 0.5707 GB, free: 7.801 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007927/1.621, allocations: 1.453 MB / 0.5721 GB, free: 6.348 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (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 (217): * Single equations (assignments): 208 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/1.622, allocations: 228 kB / 0.5724 GB, free: 6.125 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0162/1.638, allocations: 5.88 MB / 0.5781 GB, free: 100 kB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.638, allocations: 12 kB / 0.5781 GB, free: 88 kB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2841/1.922, allocations: 4.273 MB / 0.5823 GB, free: 144.7 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008222/1.931, allocations: 1.16 MB / 0.5834 GB, free: 144.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/1.969, allocations: 17.45 MB / 0.6005 GB, free: 136.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009221/1.978, allocations: 5.253 MB / 0.6056 GB, free: 134.5 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006243/1.985, allocations: 1.034 MB / 0.6066 GB, free: 134.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.986, allocations: 281.6 kB / 0.6069 GB, free: 134.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.182e-06/1.986, allocations: 0 / 0.6069 GB, free: 134.3 MB / 426.8 MB Notification: Performance of Templates: time 0.1749/2.161, allocations: 68.25 MB / 0.6735 GB, free: 66.9 MB / 426.8 MB