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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.031e-05, allocations: 4 kB / 258.8 MB, free: 8.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3431, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.05282/0.396, allocations: 18.57 MB / 321.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.4209, allocations: 5.681 MB / 327.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006311/0.4273, allocations: 175.4 kB / 327.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007492/0.4349, allocations: 1.115 MB / 328.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.4481, allocations: 1.775 MB / 330.6 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007423/0.4555, allocations: 0.9093 MB / 331.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02012/0.4757, allocations: 5.248 MB / 336.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.4904, allocations: 4.187 MB / 341 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008826/0.4993, allocations: 2.466 MB / 343.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.5111, allocations: 3.177 MB / 346.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/0.5168, allocations: 467.8 kB / 347.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/0.5206, allocations: 312 kB / 347.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00568/0.5263, allocations: 1.682 MB / 349 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005692/0.5321, allocations: 0.7422 MB / 349.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03185/0.564, allocations: 13.89 MB / 363.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5641, allocations: 0 / 363.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.028e-06/0.5641, allocations: 0 / 363.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0006121/0.5648, allocations: 0 / 363.7 MB, free: 1.172 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.05405/0.6188, allocations: 8.289 MB / 372 MB, free: 8.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/0.6189, allocations: 8.031 kB / 372 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0298/0.6488, allocations: 2.042 MB / 374 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02686/0.6757, allocations: 5.31 MB / 379.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001503/0.6773, allocations: 0.5901 MB / 379.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004675/0.682, allocations: 0.785 MB / 380.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04383/0.7259, allocations: 11.22 MB / 391.9 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004473/0.7264, allocations: 11.84 kB / 391.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/0.7291, allocations: 328 kB / 392.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005787/0.7297, allocations: 376.3 kB / 392.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03435/0.7641, allocations: 9.859 MB / 402.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6234/1.388, allocations: 34.62 MB / 437.1 MB, free: 79.21 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0295/1.417, allocations: 19.83 MB / 456.9 MB, free: 64.07 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/1.44, allocations: 7.9 MB / 464.8 MB, free: 59.71 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/1.44, allocations: 72.12 kB / 464.9 MB, free: 59.65 MB / 362.8 MB Notification: Performance of pre-optimization done (n=339): time 6.733e-06/1.44, allocations: 3.625 kB / 464.9 MB, free: 59.65 MB / 362.8 MB Notification: Performance of matching and sorting (n=347): time 0.08083/1.521, allocations: 16.17 MB / 481.1 MB, free: 50.31 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/1.521, allocations: 93.5 kB / 481.2 MB, free: 50.24 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.534, allocations: 3.82 MB / 485 MB, free: 46.75 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007874/1.534, allocations: 89.7 kB / 485.1 MB, free: 46.66 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.537, allocations: 3.235 MB / 488.3 MB, free: 43.41 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.539, allocations: 1.167 MB / 489.5 MB, free: 42.25 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/1.539, allocations: 80 kB / 489.5 MB, free: 42.17 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0002764/1.54, allocations: 467.5 kB / 490 MB, free: 41.7 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.545, allocations: 1.917 MB / 491.9 MB, free: 39.78 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006487/1.552, allocations: 2.95 MB / 494.9 MB, free: 36.36 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/1.559, allocations: 2.405 MB / 497.3 MB, free: 33.94 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-05/1.559, allocations: 12 kB / 497.3 MB, free: 33.93 MB / 362.8 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.01879/1.577, allocations: 5.99 MB / 0.4915 GB, free: 27.86 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/1.578, allocations: 22.34 kB / 0.4915 GB, free: 27.84 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/1.578, allocations: 32 kB / 0.4915 GB, free: 27.81 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003656/1.581, allocations: 0.8677 MB / 0.4924 GB, free: 26.91 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/1.588, allocations: 0.8658 MB / 0.4932 GB, free: 26.05 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.61, allocations: 15.53 MB / 0.5084 GB, free: 9.59 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/1.615, allocations: 187.8 kB / 0.5086 GB, free: 9.406 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008585/1.616, allocations: 168 kB / 0.5087 GB, free: 9.242 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.006768/1.623, allocations: 2.589 MB / 0.5113 GB, free: 6.641 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.624, allocations: 458.4 kB / 0.5117 GB, free: 6.188 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.642, allocations: 5.96 MB / 0.5175 GB, free: 124 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/1.642, allocations: 40.12 kB / 0.5176 GB, free: 84 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-05/1.642, allocations: 24 kB / 0.5176 GB, free: 60 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-05/1.642, allocations: 18.34 kB / 0.5176 GB, free: 44 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04248/1.684, allocations: 13.5 MB / 0.5308 GB, free: 2.367 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/1.685, allocations: 4 kB / 0.5308 GB, free: 2.363 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003883/1.688, allocations: 424 kB / 0.5312 GB, free: 1.949 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006437/1.695, allocations: 1.439 MB / 0.5326 GB, free: 500 kB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006774/1.696, allocations: 99.95 kB / 0.5327 GB, free: 400 kB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04664/1.742, allocations: 24.72 MB / 0.5568 GB, free: 6.504 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.742, allocations: 4 kB / 0.5568 GB, free: 6.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02571/1.768, allocations: 9.063 MB / 0.5657 GB, free: 13.04 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003918/1.772, allocations: 0.9757 MB / 0.5666 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/1.774, allocations: 83.98 kB / 0.5667 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004728/1.779, allocations: 195.8 kB / 0.5669 GB, free: 11.77 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/1.78, allocations: 338 kB / 0.5672 GB, free: 11.44 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000453/1.781, allocations: 99.97 kB / 0.5673 GB, free: 11.34 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.01465/1.795, allocations: 2.927 MB / 0.5702 GB, free: 8.41 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.12e-07/1.795, allocations: 3.938 kB / 0.5702 GB, free: 8.406 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008331/1.804, allocations: 1.449 MB / 0.5716 GB, free: 6.957 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.00109/1.805, allocations: 232 kB / 0.5718 GB, free: 6.727 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02042/1.825, allocations: 5.894 MB / 0.5776 GB, free: 0.6875 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.825, allocations: 4 kB / 0.5776 GB, free: 0.6836 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.3489/2.174, allocations: 4.268 MB / 0.5817 GB, free: 144.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009553/2.184, allocations: 1.157 MB / 0.5829 GB, free: 144.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/2.227, allocations: 17.39 MB / 0.5999 GB, free: 136.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/2.237, allocations: 5.136 MB / 0.6049 GB, free: 134.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/2.24, allocations: 312.2 kB / 0.6052 GB, free: 134.4 MB / 426.8 MB Notification: Performance of SimCode: time 1.903e-06/2.24, allocations: 0 / 0.6052 GB, free: 134.4 MB / 426.8 MB Notification: Performance of Templates: time 1.208/3.448, allocations: 446 MB / 1.041 GB, free: 14.12 MB / 442.8 MB