Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.812e-05/4.808e-05, allocations: 7.906 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3615, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01363/0.3752, allocations: 7.47 MB / 310.8 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008199/0.3835, allocations: 2.954 MB / 313.7 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.3851, allocations: 55.81 kB / 313.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.3874, allocations: 0.5441 MB / 314.3 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3906, allocations: 0.6191 MB / 314.9 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3922, allocations: 279.5 kB / 315.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.3959, allocations: 1.178 MB / 316.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.398, allocations: 0.9496 MB / 317.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.3996, allocations: 0.6155 MB / 318 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.4018, allocations: 0.8917 MB / 318.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4029, allocations: 167.9 kB / 319 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005121/0.4035, allocations: 83.94 kB / 319.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009962/0.4045, allocations: 0.5412 MB / 319.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000815/0.4053, allocations: 192 kB / 319.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.4104, allocations: 2.953 MB / 322.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4104, allocations: 0 / 322.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4104, allocations: 0 / 322.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001309/0.4106, allocations: 0 / 322.8 MB, free: 10.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006938/0.4175, allocations: 2.119 MB / 324.9 MB, free: 7.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4176, allocations: 12.03 kB / 324.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.419, allocations: 273 kB / 325.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.4229, allocations: 1.248 MB / 326.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.4231, allocations: 139.7 kB / 326.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007254/0.4239, allocations: 196 kB / 326.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.4317, allocations: 2.405 MB / 329.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.4319, allocations: 19.84 kB / 329.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.4322, allocations: 72 kB / 329.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.4324, allocations: 99.61 kB / 329.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006966/0.4393, allocations: 1.978 MB / 331.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.4616, allocations: 7.394 MB / 338.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.4654, allocations: 1.349 MB / 340.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.4659, allocations: 130 kB / 340.2 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.4682, allocations: 0.6828 MB / 340.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 5.049e-06/0.4683, allocations: 0 / 340.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.02842/0.4967, allocations: 7.388 MB / 348.3 MB, free: 24 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.4969, allocations: 171.2 kB / 348.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.4998, allocations: 1.208 MB / 349.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.5001, allocations: 45.7 kB / 349.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.5012, allocations: 0.8946 MB / 350.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/0.5019, allocations: 425.9 kB / 351 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5021, allocations: 27.94 kB / 351 MB, free: 13.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5023, allocations: 366.8 kB / 351.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.5042, allocations: 0.6481 MB / 352 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.5066, allocations: 1.005 MB / 353 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.5091, allocations: 0.8318 MB / 353.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.5092, allocations: 4 kB / 353.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006684/0.5159, allocations: 2.276 MB / 356.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.516, allocations: 45.69 kB / 356.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.516, allocations: 8 kB / 356.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.518, allocations: 476.1 kB / 356.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.5204, allocations: 303.5 kB / 357 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.5312, allocations: 6.519 MB / 363.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.5332, allocations: 91.92 kB / 363.6 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.5334, allocations: 64.06 kB / 363.6 MB, free: 15.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001718/0.5352, allocations: 0.6315 MB / 364.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.5357, allocations: 150.1 kB / 364.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/0.542, allocations: 2.15 MB / 366.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.5421, allocations: 12 kB / 366.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.5421, allocations: 4 kB / 366.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.5421, allocations: 7.984 kB / 366.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.555, allocations: 4.421 MB / 371 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.5551, allocations: 4 kB / 371 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.5568, allocations: 199.7 kB / 371.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.5593, allocations: 0.5118 MB / 371.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.5596, allocations: 39.98 kB / 371.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.5722, allocations: 7.971 MB / 379.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.5723, allocations: 7.938 kB / 379.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008661/0.581, allocations: 3.245 MB / 383 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.5822, allocations: 371.1 kB / 383.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.5827, allocations: 31.98 kB / 383.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.5841, allocations: 71.94 kB / 383.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.5845, allocations: 100.8 kB / 383.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.5846, allocations: 39.98 kB / 383.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002119/0.5868, allocations: 0.9281 MB / 384.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5868, allocations: 0 / 384.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002378/0.5892, allocations: 452 kB / 384.9 MB, free: 9.684 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.5906, allocations: 413.4 kB / 385.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.5975, allocations: 2.341 MB / 387.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5975, allocations: 0 / 387.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004056/0.6016, allocations: 1.511 MB / 389.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.6047, allocations: 368.6 kB / 389.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6165, allocations: 5.072 MB / 394.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.6187, allocations: 1.729 MB / 396.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/0.6196, allocations: 115.4 kB / 396.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6196, allocations: 0 / 396.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.3642/0.9838, allocations: 68.94 MB / 465.4 MB, free: 75.96 MB / 362.7 MB