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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.699e-05, allocations: 6.188 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09329, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.03109/0.1244, allocations: 17.39 MB / 284.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.14, allocations: 5.177 MB / 289.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.1444, allocations: 175.4 kB / 289.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.1495, allocations: 1.033 MB / 290.7 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008379/0.1579, allocations: 1.565 MB / 292.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.1628, allocations: 0.8889 MB / 293.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.1765, allocations: 5.092 MB / 298.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2637/0.4403, allocations: 4.281 MB / 302.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007697/0.448, allocations: 2.395 MB / 304.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.4591, allocations: 3.072 MB / 308 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005769/0.4649, allocations: 439.9 kB / 308.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003847/0.4688, allocations: 312.8 kB / 308.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00537/0.4742, allocations: 1.684 MB / 310.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005664/0.4799, allocations: 0.7336 MB / 311.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04236/0.5224, allocations: 14.47 MB / 325.6 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5225, allocations: 0 / 325.6 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5225, allocations: 2.844 kB / 325.6 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 0.0006352/0.5231, allocations: 0 / 325.6 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.05157/0.5747, allocations: 8.157 MB / 333.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5748, allocations: 8.031 kB / 333.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.5938, allocations: 1.527 MB / 335.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02615/0.62, allocations: 5.116 MB / 340.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/0.6215, allocations: 0.5767 MB / 341 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005107/0.6266, allocations: 0.7638 MB / 341.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04186/0.6686, allocations: 10.77 MB / 352.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004453/0.6691, allocations: 11.89 kB / 352.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/0.6721, allocations: 322.4 kB / 352.8 MB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005193/0.6727, allocations: 346.9 kB / 353.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03516/0.7079, allocations: 9.073 MB / 362.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09813/0.806, allocations: 32.76 MB / 395 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.018/0.8241, allocations: 8.236 MB / 403.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/0.8247, allocations: 42.2 kB / 403.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.537e-05/0.8248, allocations: 81.03 kB / 403.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=351): time 7.264e-06/0.8248, allocations: 4 kB / 403.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=411): time 0.07624/0.9011, allocations: 19.5 MB / 422.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.9012, allocations: 94.64 kB / 423 MB, free: 2.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/0.9114, allocations: 3.78 MB / 426.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009091/0.9124, allocations: 93.7 kB / 426.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003593/0.916, allocations: 3.114 MB / 429.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002617/0.9187, allocations: 1.371 MB / 431.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.9193, allocations: 84 kB / 431.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004523/0.9197, allocations: 488.3 kB / 431.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007063/0.9268, allocations: 2.23 MB / 434.1 MB, free: 6.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008237/0.9351, allocations: 3.18 MB / 437.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/0.9436, allocations: 2.788 MB / 440.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.109e-05/0.9437, allocations: 7.938 kB / 440.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.2737/1.217, allocations: 7.145 MB / 447.2 MB, free: 110.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/1.218, allocations: 15.62 kB / 447.2 MB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.867e-05/1.218, allocations: 27.12 kB / 447.3 MB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006376/1.224, allocations: 1.491 MB / 448.8 MB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/1.231, allocations: 0.8588 MB / 449.6 MB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03594/1.267, allocations: 20.57 MB / 470.2 MB, free: 96.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/1.273, allocations: 179.5 kB / 470.4 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.274, allocations: 164.5 kB / 470.5 MB, free: 96.55 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.007437/1.281, allocations: 2.658 MB / 473.2 MB, free: 95.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.283, allocations: 478.7 kB / 473.6 MB, free: 95.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02012/1.303, allocations: 7.346 MB / 481 MB, free: 91.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/1.303, allocations: 42.44 kB / 481 MB, free: 91.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.015e-05/1.303, allocations: 26.38 kB / 481.1 MB, free: 91.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.825e-05/1.303, allocations: 18.7 kB / 481.1 MB, free: 91.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04565/1.349, allocations: 17.17 MB / 498.2 MB, free: 76.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.747e-05/1.349, allocations: 8 kB / 498.2 MB, free: 76.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004259/1.353, allocations: 493.8 kB / 498.7 MB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006946/1.36, allocations: 1.826 MB / 0.4888 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000804/1.361, allocations: 95.97 kB / 0.4889 GB, free: 73.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0457/1.407, allocations: 28.86 MB / 0.5171 GB, free: 44.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.407, allocations: 11.94 kB / 0.5171 GB, free: 44.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/1.433, allocations: 10.96 MB / 0.5278 GB, free: 32.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/1.437, allocations: 1.065 MB / 0.5289 GB, free: 31.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/1.44, allocations: 95.98 kB / 0.529 GB, free: 31.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005352/1.445, allocations: 191.9 kB / 0.5291 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001635/1.447, allocations: 350.4 kB / 0.5295 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005962/1.447, allocations: 116 kB / 0.5296 GB, free: 30.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007909/1.455, allocations: 2.902 MB / 0.5324 GB, free: 28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.455, allocations: 3.938 kB / 0.5324 GB, free: 28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008937/1.464, allocations: 1.527 MB / 0.5339 GB, free: 26.47 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.001138/1.465, allocations: 227.1 kB / 0.5341 GB, free: 26.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01833/1.484, allocations: 6.97 MB / 0.5409 GB, free: 19.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.484, allocations: 4 kB / 0.5409 GB, free: 19.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01386/1.498, allocations: 5.063 MB / 0.5459 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009359/1.507, allocations: 1.163 MB / 0.547 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04833/1.556, allocations: 18.35 MB / 0.5649 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/1.569, allocations: 5.252 MB / 0.5701 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/1.571, allocations: 299.4 kB / 0.5703 GB, free: 4.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/1.571, allocations: 0 / 0.5703 GB, free: 4.824 MB / 378.7 MB Notification: Performance of Templates: time 1.425/2.996, allocations: 429.3 MB / 0.9896 GB, free: 10.18 MB / 394.7 MB