Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.649e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09587, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.4953, allocations: 112.8 MB / 429.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4956, allocations: 87.14 kB / 429.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3039/0.7995, allocations: 83.62 MB / 0.5014 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7996, allocations: 0 / 0.5014 GB, free: 10.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000292/0.7999, allocations: 79.94 kB / 0.5015 GB, free: 10.25 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01163/0.8115, allocations: 3.3 MB / 0.5047 GB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8116, allocations: 12.03 kB / 0.5047 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/0.8172, allocations: 0.745 MB / 0.5055 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.8286, allocations: 3.364 MB / 0.5088 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.829, allocations: 242.4 kB / 0.509 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008131/0.8298, allocations: 315.9 kB / 0.5093 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2977/1.128, allocations: 4.093 MB / 0.5133 GB, free: 88.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/1.128, allocations: 2.453 kB / 0.5133 GB, free: 88.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007926/1.129, allocations: 133.6 kB / 0.5134 GB, free: 88.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/1.129, allocations: 147 kB / 0.5136 GB, free: 88.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/1.144, allocations: 3.296 MB / 0.5168 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04541/1.19, allocations: 13.48 MB / 0.5299 GB, free: 85.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.201, allocations: 6.854 MB / 0.5366 GB, free: 80.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/1.206, allocations: 1.348 MB / 0.5379 GB, free: 80.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/1.218, allocations: 3.835 MB / 0.5417 GB, free: 79.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/1.221, allocations: 0.8036 MB / 0.5425 GB, free: 79.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 9.007e-06/1.221, allocations: 2.75 kB / 0.5425 GB, free: 79.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=137): time 0.01843/1.239, allocations: 5.027 MB / 0.5474 GB, free: 78.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.239, allocations: 229.4 kB / 0.5476 GB, free: 78.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/1.243, allocations: 1.655 MB / 0.5492 GB, free: 78.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/1.243, allocations: 55.14 kB / 0.5493 GB, free: 78.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.245, allocations: 1.489 MB / 0.5507 GB, free: 77.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/1.245, allocations: 475.9 kB / 0.5512 GB, free: 77.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/1.245, allocations: 35.81 kB / 0.5512 GB, free: 77.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/1.246, allocations: 369.4 kB / 0.5516 GB, free: 76.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.247, allocations: 0.6279 MB / 0.5522 GB, free: 76.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/1.249, allocations: 1.163 MB / 0.5533 GB, free: 75.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.25, allocations: 0.8527 MB / 0.5542 GB, free: 75.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.25, allocations: 3.969 kB / 0.5542 GB, free: 75.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.004798/1.255, allocations: 2.304 MB / 0.5564 GB, free: 74.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.255, allocations: 10.97 kB / 0.5564 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.255, allocations: 14.09 kB / 0.5564 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/1.256, allocations: 289.1 kB / 0.5567 GB, free: 74.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.258, allocations: 375.1 kB / 0.5571 GB, free: 74.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.264, allocations: 5.839 MB / 0.5628 GB, free: 69.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.266, allocations: 99.83 kB / 0.5629 GB, free: 69.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.266, allocations: 71.06 kB / 0.5629 GB, free: 69.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * 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: 3 * 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: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003474/1.266, allocations: 208.4 kB / 0.5631 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.267, allocations: 201.5 kB / 0.5633 GB, free: 68.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/1.271, allocations: 2.196 MB / 0.5655 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.271, allocations: 12.94 kB / 0.5655 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.271, allocations: 9.594 kB / 0.5655 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.271, allocations: 11.14 kB / 0.5655 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009611/1.281, allocations: 5.102 MB / 0.5705 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.962e-06/1.281, allocations: 6.219 kB / 0.5705 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.282, allocations: 178.8 kB / 0.5707 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/1.284, allocations: 456.2 kB / 0.5711 GB, free: 65.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.284, allocations: 42.41 kB / 0.5711 GB, free: 65.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.294, allocations: 10.13 MB / 0.581 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.932e-06/1.294, allocations: 3.562 kB / 0.581 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/1.3, allocations: 3.104 MB / 0.5841 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009562/1.301, allocations: 435 kB / 0.5845 GB, free: 54.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/1.301, allocations: 38.77 kB / 0.5845 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.302, allocations: 70.81 kB / 0.5846 GB, free: 54.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.302, allocations: 109.7 kB / 0.5847 GB, free: 54.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.303, allocations: 36.22 kB / 0.5847 GB, free: 54.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002276/1.305, allocations: 1.264 MB / 0.586 GB, free: 54.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.812e-06/1.305, allocations: 3.938 kB / 0.586 GB, free: 54.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002636/1.308, allocations: 0.6365 MB / 0.5866 GB, free: 54.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(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.001782/1.309, allocations: 0.6867 MB / 0.5873 GB, free: 54.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003649/1.313, allocations: 2.042 MB / 0.5892 GB, free: 53.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.801e-06/1.313, allocations: 320 / 0.5892 GB, free: 53.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/1.316, allocations: 1.487 MB / 0.5907 GB, free: 52.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.319, allocations: 0.4917 MB / 0.5912 GB, free: 52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/1.328, allocations: 4.652 MB / 0.5957 GB, free: 49.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.331, allocations: 2.422 MB / 0.5981 GB, free: 48.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002132/1.333, allocations: 409 kB / 0.5985 GB, free: 48.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/1.334, allocations: 135.8 kB / 0.5986 GB, free: 48.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/1.334, allocations: 0 / 0.5986 GB, free: 48.79 MB / 426.7 MB Notification: Performance of Templates: time 0.07409/1.408, allocations: 30.84 MB / 0.6287 GB, free: 36.91 MB / 426.7 MB