Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.061e-05, allocations: 4 kB / 269.5 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09865, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5572, allocations: 107.2 MB / 424.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5576, allocations: 89.8 kB / 424.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1981/0.7557, allocations: 44.47 MB / 468.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7558, allocations: 4 kB / 468.8 MB, free: 7.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.756, allocations: 55.94 kB / 468.9 MB, free: 7.215 MB / 378.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.007841/0.7639, allocations: 2.073 MB / 470.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.7639, allocations: 12.03 kB / 470.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/0.7652, allocations: 282.3 kB / 471.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.7667, allocations: 269.1 kB / 471.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/0.7721, allocations: 1.432 MB / 472.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.7724, allocations: 139.8 kB / 473.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008906/0.7733, allocations: 191.9 kB / 473.2 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/0.7811, allocations: 2.344 MB / 475.6 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.7813, allocations: 15.84 kB / 475.6 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/0.7816, allocations: 79.98 kB / 475.7 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.7817, allocations: 87.67 kB / 475.8 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006172/0.7879, allocations: 1.811 MB / 477.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02132/0.8093, allocations: 7.437 MB / 485 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.8125, allocations: 1.339 MB / 486.4 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.8145, allocations: 0.7223 MB / 487.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/0.8149, allocations: 142 kB / 487.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.8165, allocations: 0.6817 MB / 487.9 MB, free: 3.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.967e-06/0.8166, allocations: 0 / 487.9 MB, free: 3.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.03014/0.8467, allocations: 7.624 MB / 495.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.8469, allocations: 205.2 kB / 495.7 MB, free: 11.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.8497, allocations: 1.211 MB / 496.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003138/0.8501, allocations: 45.7 kB / 497 MB, free: 10.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.8513, allocations: 0.9288 MB / 497.9 MB, free: 9.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/0.852, allocations: 457.5 kB / 498.4 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.8522, allocations: 32 kB / 498.4 MB, free: 9.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.8524, allocations: 353.9 kB / 498.7 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.8543, allocations: 0.6716 MB / 499.4 MB, free: 8.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.8565, allocations: 1.021 MB / 0.4887 GB, free: 6.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.8586, allocations: 0.8325 MB / 0.4895 GB, free: 6.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8587, allocations: 0 / 0.4895 GB, free: 6.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007813/0.8665, allocations: 2.443 MB / 0.4919 GB, free: 3.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.8666, allocations: 8 kB / 0.4919 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.8666, allocations: 12 kB / 0.4919 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.8697, allocations: 0.6643 MB / 0.4926 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.8722, allocations: 303.5 kB / 0.4928 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.8854, allocations: 6.456 MB / 0.4992 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.8876, allocations: 99.97 kB / 0.4992 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.8879, allocations: 52 kB / 0.4993 GB, free: 11.79 MB / 426.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 (149): * Single equations (assignments): 145 * 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: 2 * 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: 2 {(5,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.8883, allocations: 192.6 kB / 0.4995 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.8887, allocations: 158 kB / 0.4996 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/0.8957, allocations: 2.336 MB / 0.5019 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.8958, allocations: 19.98 kB / 0.5019 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.8958, allocations: 4 kB / 0.5019 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.8958, allocations: 15.94 kB / 0.502 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.9095, allocations: 4.839 MB / 0.5067 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.9096, allocations: 0 / 0.5067 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.9113, allocations: 184 kB / 0.5069 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/0.915, allocations: 0.737 MB / 0.5076 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/0.9153, allocations: 39.97 kB / 0.5076 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2988/1.214, allocations: 8.144 MB / 0.5156 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.214, allocations: 8.953 kB / 0.5156 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009392/1.224, allocations: 3.417 MB / 0.5189 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.225, allocations: 391.1 kB / 0.5193 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007215/1.226, allocations: 34.47 kB / 0.5193 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.228, allocations: 78.36 kB / 0.5194 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/1.229, allocations: 104 kB / 0.5195 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.229, allocations: 42.5 kB / 0.5195 GB, free: 113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002728/1.232, allocations: 0.9339 MB / 0.5204 GB, free: 112.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.232, allocations: 1.75 kB / 0.5204 GB, free: 112.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003123/1.235, allocations: 0.5126 MB / 0.5209 GB, free: 112.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (101): * Single equations (assignments): 95 * 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: 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 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01144/1.246, allocations: 4.993 MB / 0.5258 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006032/1.252, allocations: 2.291 MB / 0.5281 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.252, allocations: 0 / 0.5281 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004175/1.257, allocations: 1.563 MB / 0.5296 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.26, allocations: 380.2 kB / 0.5299 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.272, allocations: 4.042 MB / 0.5339 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/1.274, allocations: 1.768 MB / 0.5356 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001853/1.275, allocations: 320.5 kB / 0.5359 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.277, allocations: 0.7687 MB / 0.5367 GB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.277, allocations: 0 / 0.5367 GB, free: 108.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.405, allocations: 43.75 MB / 0.5794 GB, free: 91.49 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.406, allocations: 244 kB / 0.5796 GB, free: 91.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/5.635, allocations: 0 / 0.5796 GB, free: 91.16 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat