Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,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.rotorCage.strayInductor.inductor.4..i|aimcM.rotorCage.strayInductor.inductor.5..i|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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.981e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08826, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.04254/0.1309, allocations: 17.38 MB / 284.3 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.1511, allocations: 5.177 MB / 289.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005444/0.1567, allocations: 171.4 kB / 289.7 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005826/0.1625, allocations: 1.049 MB / 290.7 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1727, allocations: 1.573 MB / 292.3 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.1789, allocations: 0.8889 MB / 293.2 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.1966, allocations: 5.086 MB / 298.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.265/0.4616, allocations: 4.288 MB / 302.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.4676, allocations: 2.4 MB / 304.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008455/0.4761, allocations: 3.065 MB / 308 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.4812, allocations: 437.1 kB / 308.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.4844, allocations: 312.1 kB / 308.7 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004424/0.4888, allocations: 1.677 MB / 310.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.4932, allocations: 0.7392 MB / 311.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02619/0.5194, allocations: 14.36 MB / 325.5 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5195, allocations: 0 / 325.5 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 5.05e-06/0.5195, allocations: 64 / 325.5 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 0.0005805/0.5201, allocations: 3.047 kB / 325.5 MB, free: 0 / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.03614/0.5563, allocations: 8.153 MB / 333.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5564, allocations: 12.03 kB / 333.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.5691, allocations: 1.529 MB / 335.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/0.5859, allocations: 5.112 MB / 340.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000948/0.5869, allocations: 0.5736 MB / 340.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003496/0.5904, allocations: 0.7722 MB / 341.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03948/0.63, allocations: 10.76 MB / 352.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004515/0.6305, allocations: 15.89 kB / 352.4 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/0.6333, allocations: 322.6 kB / 352.8 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005144/0.6339, allocations: 347.7 kB / 353.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03263/0.6665, allocations: 9.079 MB / 362.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09307/0.7597, allocations: 32.75 MB / 394.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/0.7766, allocations: 8.244 MB / 403.2 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.7772, allocations: 46.39 kB / 403.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.7773, allocations: 73.33 kB / 403.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=351): time 7.314e-06/0.7773, allocations: 0 / 403.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=411): time 0.0782/0.8555, allocations: 19.5 MB / 422.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.8557, allocations: 93.45 kB / 422.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/0.8669, allocations: 3.78 MB / 426.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008984/0.8679, allocations: 93.7 kB / 426.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004308/0.8722, allocations: 3.364 MB / 430.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002325/0.8746, allocations: 1.375 MB / 431.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/0.8751, allocations: 92 kB / 431.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004146/0.8756, allocations: 479.4 kB / 432 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006953/0.8825, allocations: 2.226 MB / 434.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008309/0.8909, allocations: 3.185 MB / 437.5 MB, free: 2.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2484/1.139, allocations: 2.78 MB / 440.2 MB, free: 111.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-05/1.139, allocations: 7.562 kB / 440.2 MB, free: 111.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.02424/1.164, allocations: 7.44 MB / 447.7 MB, free: 110.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/1.164, allocations: 20.47 kB / 447.7 MB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.215e-05/1.164, allocations: 26.72 kB / 447.7 MB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006202/1.17, allocations: 1.488 MB / 449.2 MB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/1.177, allocations: 0.857 MB / 450.1 MB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03539/1.213, allocations: 20.57 MB / 470.6 MB, free: 96.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/1.218, allocations: 183 kB / 470.8 MB, free: 96.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/1.22, allocations: 165.2 kB / 471 MB, free: 95.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (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 (445): * Single equations (assignments): 437 * 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: 6 * 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: 6 {(4,100.0%) 27,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 41,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007137/1.227, allocations: 2.654 MB / 473.6 MB, free: 94.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.228, allocations: 489.2 kB / 474.1 MB, free: 94.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.248, allocations: 7.341 MB / 481.4 MB, free: 91.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/1.248, allocations: 38.81 kB / 481.5 MB, free: 91.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.602e-05/1.248, allocations: 23.12 kB / 481.5 MB, free: 91.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-05/1.249, allocations: 21.94 kB / 481.5 MB, free: 91.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04458/1.293, allocations: 17.18 MB / 498.7 MB, free: 75.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-05/1.293, allocations: 4 kB / 498.7 MB, free: 75.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/1.297, allocations: 495.8 kB / 499.2 MB, free: 75.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006762/1.304, allocations: 1.825 MB / 0.4893 GB, free: 73.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007417/1.305, allocations: 108 kB / 0.4894 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04591/1.351, allocations: 28.84 MB / 0.5176 GB, free: 43.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.351, allocations: 8 kB / 0.5176 GB, free: 43.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.377, allocations: 10.97 MB / 0.5283 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003863/1.381, allocations: 1.065 MB / 0.5293 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/1.383, allocations: 102.2 kB / 0.5294 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/1.388, allocations: 183.9 kB / 0.5296 GB, free: 30.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001559/1.39, allocations: 362.3 kB / 0.5299 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000467/1.39, allocations: 108 kB / 0.53 GB, free: 30.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007278/1.398, allocations: 2.906 MB / 0.5329 GB, free: 27.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.398, allocations: 4 kB / 0.5329 GB, free: 27.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008302/1.406, allocations: 1.527 MB / 0.5344 GB, free: 25.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcM.rotorCage.strayInductor.inductor[4].i,aimcM.rotorCage.strayInductor.inductor[5].i,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.stator.strayReluctance.Phi.re,aimc3.stator.strayReluctance.Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (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 (255): * Single equations (assignments): 246 * 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,77.8%) 40,(1,100.0%) 1,(1,100.0%) 8,(5,92.0%) 25,(1,100.0%) 1,(1,100.0%) 8,(6,72.2%) 46,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/1.407, allocations: 223.3 kB / 0.5346 GB, free: 25.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01779/1.425, allocations: 6.975 MB / 0.5414 GB, free: 18.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.425, allocations: 2.109 kB / 0.5414 GB, free: 18.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01912/1.444, allocations: 5.06 MB / 0.5463 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/1.457, allocations: 1.167 MB / 0.5475 GB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04939/1.507, allocations: 18.4 MB / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/1.519, allocations: 5.367 MB / 0.5707 GB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005864/1.525, allocations: 0.9697 MB / 0.5716 GB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.527, allocations: 279.4 kB / 0.5719 GB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/1.527, allocations: 0 / 0.5719 GB, free: 2.988 MB / 378.7 MB Notification: Performance of Templates: time 0.5211/2.048, allocations: 75.89 MB / 0.646 GB, free: 62.25 MB / 378.7 MB