Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.525e-05, allocations: 0 / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01738/0.3048, allocations: 10.57 MB / 313.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3152, allocations: 4.065 MB / 318 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.3173, allocations: 91.69 kB / 318 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.3205, allocations: 0.7578 MB / 318.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3253, allocations: 1.086 MB / 319.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.3282, allocations: 0.6447 MB / 320.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.3342, allocations: 2.183 MB / 322.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.3376, allocations: 1.648 MB / 324.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3399, allocations: 1.021 MB / 325.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.3428, allocations: 1.328 MB / 326.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.3445, allocations: 303.8 kB / 327 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006654/0.3452, allocations: 132 kB / 327.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008777/0.3461, allocations: 0.6499 MB / 327.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.3472, allocations: 296 kB / 328.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008273/0.3554, allocations: 5.504 MB / 333.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3555, allocations: 0 / 333.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.324e-06/0.3555, allocations: 4 kB / 333.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.3557, allocations: 3.938 kB / 333.6 MB, free: 15.25 MB / 282.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.01385/0.3696, allocations: 3.581 MB / 337.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3696, allocations: 12.03 kB / 337.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006923/0.3766, allocations: 0.827 MB / 338 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.3829, allocations: 2.194 MB / 340.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.3832, allocations: 238.4 kB / 340.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009945/0.3842, allocations: 331.9 kB / 340.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3973, allocations: 4.233 MB / 345 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.3974, allocations: 7.906 kB / 345 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.398, allocations: 136 kB / 345.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.3983, allocations: 150.4 kB / 345.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.4098, allocations: 3.601 MB / 348.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.4437, allocations: 13.44 MB / 362.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.4548, allocations: 6.912 MB / 369.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008421/0.4633, allocations: 3.269 MB / 372.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002209/0.4656, allocations: 0.9001 MB / 373.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=141): time 4.037e-06/0.4656, allocations: 0 / 373.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.02249/0.4881, allocations: 6.851 MB / 380.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.4883, allocations: 222.9 kB / 380.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003688/0.492, allocations: 1.631 MB / 382.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.4923, allocations: 57.7 kB / 382.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.4941, allocations: 1.451 MB / 383.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007387/0.4948, allocations: 0.5083 MB / 384.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.495, allocations: 36 kB / 384.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4952, allocations: 381.8 kB / 384.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4973, allocations: 0.6989 MB / 385.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.4999, allocations: 1.23 MB / 386.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.5023, allocations: 0.9517 MB / 387.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.5024, allocations: 4 kB / 387.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006907/0.5093, allocations: 2.54 MB / 389.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.5094, allocations: 49.72 kB / 390 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5094, allocations: 12 kB / 390 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.5106, allocations: 291.2 kB / 390.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/0.5137, allocations: 395.3 kB / 390.7 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/0.5222, allocations: 5.919 MB / 396.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.5247, allocations: 95.86 kB / 396.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.525, allocations: 72.19 kB / 396.8 MB, free: 13.55 MB / 346.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: 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 (203): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 1 * 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%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002676/0.5277, allocations: 1.036 MB / 397.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.5282, allocations: 201.5 kB / 398 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/0.5349, allocations: 2.348 MB / 400.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.5349, allocations: 16 kB / 400.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.535, allocations: 15.94 kB / 400.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/0.535, allocations: 7.969 kB / 400.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5489, allocations: 5.42 MB / 405.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.549, allocations: 3.953 kB / 405.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.5507, allocations: 211.9 kB / 406 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.5527, allocations: 463.9 kB / 406.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.5529, allocations: 35.98 kB / 406.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.5682, allocations: 10.29 MB / 416.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5682, allocations: 4.188 kB / 416.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008892/0.5771, allocations: 3.378 MB / 420.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.5786, allocations: 438.5 kB / 420.6 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000554/0.5792, allocations: 43.98 kB / 420.6 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.5809, allocations: 67.95 kB / 420.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.5813, allocations: 113.1 kB / 420.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.5814, allocations: 39.98 kB / 420.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002885/0.5843, allocations: 1.255 MB / 422.1 MB, free: 3.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5844, allocations: 192 / 422.1 MB, free: 3.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003056/0.5874, allocations: 0.582 MB / 422.7 MB, free: 2.566 MB / 362.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.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 (112): * Single equations (assignments): 105 * 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%) 13,(1,100.0%) 3,(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.001355/0.5888, allocations: 431.8 kB / 423.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.25/0.8388, allocations: 2.317 MB / 425.4 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.8389, allocations: 1.812 kB / 425.4 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004554/0.8435, allocations: 1.626 MB / 427.1 MB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/0.8476, allocations: 0.4908 MB / 427.6 MB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.8623, allocations: 7.059 MB / 434.6 MB, free: 100.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.8648, allocations: 2.418 MB / 437 MB, free: 99.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002373/0.8672, allocations: 414.6 kB / 437.4 MB, free: 99.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.8677, allocations: 136.1 kB / 437.6 MB, free: 99.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8678, allocations: 0 / 437.6 MB, free: 99.66 MB / 362.7 MB Notification: Performance of Templates: time 0.0715/0.9393, allocations: 27.72 MB / 465.3 MB, free: 74.92 MB / 362.7 MB