Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.963e-05, allocations: 8 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08602, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4694, allocations: 110.3 MB / 427.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4697, allocations: 84.64 kB / 427.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3211/0.7908, allocations: 88.22 MB / 0.5035 GB, free: 8.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.338e-06/0.7909, allocations: 0 / 0.5035 GB, free: 8.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003845/0.7913, allocations: 87.94 kB / 0.5036 GB, free: 8.055 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01321/0.8045, allocations: 3.678 MB / 0.5072 GB, free: 4.312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8045, allocations: 15.97 kB / 0.5072 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/0.8106, allocations: 0.7914 MB / 0.5079 GB, free: 3.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2483/1.059, allocations: 3.66 MB / 0.5115 GB, free: 85.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/1.059, allocations: 269.8 kB / 0.5118 GB, free: 85.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/1.061, allocations: 360 kB / 0.5121 GB, free: 85.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/1.074, allocations: 4.809 MB / 0.5168 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/1.074, allocations: 11.69 kB / 0.5168 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/1.075, allocations: 150 kB / 0.517 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/1.075, allocations: 158.4 kB / 0.5171 GB, free: 84.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/1.087, allocations: 3.963 MB / 0.521 GB, free: 84.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03428/1.121, allocations: 15.97 MB / 0.5366 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007684/1.129, allocations: 7.665 MB / 0.5441 GB, free: 76.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/1.132, allocations: 1.66 MB / 0.5457 GB, free: 76.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009442/1.141, allocations: 4.625 MB / 0.5502 GB, free: 75.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.141, allocations: 55.06 kB / 0.5503 GB, free: 75.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=159): time 5.43e-06/1.141, allocations: 0 / 0.5503 GB, free: 75.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.01145/1.153, allocations: 5.463 MB / 0.5556 GB, free: 73.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.153, allocations: 75.23 kB / 0.5557 GB, free: 72.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/1.156, allocations: 1.875 MB / 0.5575 GB, free: 72.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.157, allocations: 58.66 kB / 0.5576 GB, free: 72.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.158, allocations: 1.616 MB / 0.5591 GB, free: 71.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/1.158, allocations: 0.5373 MB / 0.5597 GB, free: 70.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.158, allocations: 35.56 kB / 0.5597 GB, free: 70.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/1.159, allocations: 382.2 kB / 0.5601 GB, free: 70.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.16, allocations: 0.8773 MB / 0.5609 GB, free: 69.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/1.162, allocations: 1.327 MB / 0.5622 GB, free: 69.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/1.164, allocations: 1.089 MB / 0.5633 GB, free: 68.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.164, allocations: 10.86 kB / 0.5633 GB, free: 68.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006408/1.171, allocations: 3.134 MB / 0.5663 GB, free: 67.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.171, allocations: 9.719 kB / 0.5663 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.171, allocations: 19.14 kB / 0.5664 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/1.173, allocations: 0.7226 MB / 0.5671 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.175, allocations: 367.7 kB / 0.5674 GB, free: 67.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.188, allocations: 10.38 MB / 0.5776 GB, free: 59.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.19, allocations: 95.31 kB / 0.5776 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/1.19, allocations: 74.44 kB / 0.5777 GB, free: 59.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004423/1.191, allocations: 222.2 kB / 0.5779 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/1.191, allocations: 230 kB / 0.5782 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/1.197, allocations: 3.035 MB / 0.5811 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.197, allocations: 14.34 kB / 0.5811 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.198, allocations: 11.47 kB / 0.5811 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.198, allocations: 10.98 kB / 0.5812 GB, free: 57.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.21, allocations: 6.4 MB / 0.5874 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.21, allocations: 3.781 kB / 0.5874 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.211, allocations: 169.5 kB / 0.5876 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/1.215, allocations: 0.9062 MB / 0.5885 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/1.215, allocations: 42.8 kB / 0.5885 GB, free: 54.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.233, allocations: 14.75 MB / 0.6029 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-06/1.233, allocations: 3.625 kB / 0.6029 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008207/1.241, allocations: 4.429 MB / 0.6072 GB, free: 41.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.242, allocations: 0.5184 MB / 0.6077 GB, free: 41.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.243, allocations: 34.94 kB / 0.6078 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.244, allocations: 87.36 kB / 0.6078 GB, free: 40.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.245, allocations: 159.6 kB / 0.608 GB, free: 40.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.245, allocations: 44.81 kB / 0.608 GB, free: 40.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002495/1.247, allocations: 1.438 MB / 0.6094 GB, free: 40.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.25e-07/1.247, allocations: 0 / 0.6094 GB, free: 40.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003173/1.251, allocations: 0.7354 MB / 0.6102 GB, free: 40.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000684/1.251, allocations: 429.4 kB / 0.6106 GB, free: 40.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005143/1.256, allocations: 2.889 MB / 0.6134 GB, free: 38.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.256, allocations: 4.125 kB / 0.6134 GB, free: 38.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/1.261, allocations: 2.122 MB / 0.6155 GB, free: 37.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/1.264, allocations: 0.5934 MB / 0.6161 GB, free: 36.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.275, allocations: 5.538 MB / 0.6215 GB, free: 32.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002851/1.278, allocations: 2.746 MB / 0.6241 GB, free: 29.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002127/1.28, allocations: 463.8 kB / 0.6246 GB, free: 29.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/1.281, allocations: 132.7 kB / 0.6247 GB, free: 29.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.858e-06/1.281, allocations: 2.719 kB / 0.6247 GB, free: 29.47 MB / 426.7 MB Notification: Performance of Templates: time 0.1056/1.386, allocations: 38.38 MB / 0.6622 GB, free: 1.98 MB / 426.7 MB