Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.268/2.268, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.107e-05, allocations: 3.188 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.6676, allocations: 102.4 MB / 396.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.668, allocations: 88.75 kB / 396.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4008/1.069, allocations: 78.39 MB / 475.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.069, allocations: 0 / 475.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004146/1.069, allocations: 79.88 kB / 475.2 MB, free: 12.17 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01697/1.086, allocations: 3.164 MB / 478.4 MB, free: 8.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.086, allocations: 16.02 kB / 478.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007768/1.094, allocations: 0.7183 MB / 479.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/1.11, allocations: 3.264 MB / 482.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/1.11, allocations: 103.9 kB / 482.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.111, allocations: 183.9 kB / 482.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/1.124, allocations: 3.101 MB / 485.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.139, allocations: 3.601 MB / 489.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/1.139, allocations: 7.922 kB / 489.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007092/1.14, allocations: 8 kB / 489.4 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/1.14, allocations: 154.2 kB / 489.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04243/1.183, allocations: 12.62 MB / 0.4904 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3306/1.513, allocations: 6.746 MB / 0.497 GB, free: 72.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/1.518, allocations: 1.266 MB / 0.4982 GB, free: 72.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.529, allocations: 3.597 MB / 0.5017 GB, free: 72.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/1.529, allocations: 46.84 kB / 0.5018 GB, free: 72.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.64e-06/1.529, allocations: 1.125 kB / 0.5018 GB, free: 72.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01519/1.544, allocations: 4.003 MB / 0.5057 GB, free: 71.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.545, allocations: 67.47 kB / 0.5058 GB, free: 71.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/1.548, allocations: 1.204 MB / 0.5069 GB, free: 70.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003051/1.549, allocations: 27.14 kB / 0.507 GB, free: 70.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.55, allocations: 1.416 MB / 0.5083 GB, free: 70.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006689/1.551, allocations: 404.4 kB / 0.5087 GB, free: 70.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.551, allocations: 1.969 kB / 0.5087 GB, free: 70.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/1.551, allocations: 368 kB / 0.5091 GB, free: 69.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.553, allocations: 0.5614 MB / 0.5096 GB, free: 69.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/1.555, allocations: 1.02 MB / 0.5106 GB, free: 69.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/1.558, allocations: 0.8929 MB / 0.5115 GB, free: 69.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/1.558, allocations: 10.66 kB / 0.5115 GB, free: 69.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007478/1.565, allocations: 2.161 MB / 0.5136 GB, free: 69.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/1.566, allocations: 14.58 kB / 0.5136 GB, free: 69.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/1.566, allocations: 18.44 kB / 0.5137 GB, free: 69.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/1.567, allocations: 260 kB / 0.5139 GB, free: 69.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.57, allocations: 354.7 kB / 0.5142 GB, free: 69.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/1.578, allocations: 5.457 MB / 0.5196 GB, free: 65.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.58, allocations: 49.25 kB / 0.5196 GB, free: 65.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/1.581, allocations: 72.88 kB / 0.5197 GB, free: 65.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004563/1.581, allocations: 152.4 kB / 0.5198 GB, free: 65.18 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006257/1.588, allocations: 1.905 MB / 0.5217 GB, free: 64.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/1.588, allocations: 162.6 kB / 0.5218 GB, free: 64.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/1.595, allocations: 2.037 MB / 0.5238 GB, free: 64.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/1.595, allocations: 14.41 kB / 0.5238 GB, free: 64.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.595, allocations: 7.562 kB / 0.5239 GB, free: 64.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/1.595, allocations: 4.688 kB / 0.5239 GB, free: 64.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/1.607, allocations: 4.302 MB / 0.5281 GB, free: 63.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.607, allocations: 3.5 kB / 0.5281 GB, free: 63.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.609, allocations: 167.2 kB / 0.5282 GB, free: 63.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/1.611, allocations: 430.5 kB / 0.5286 GB, free: 63.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.612, allocations: 26.52 kB / 0.5287 GB, free: 63.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.625, allocations: 9.666 MB / 0.5381 GB, free: 57.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.625, allocations: 6.906 kB / 0.5381 GB, free: 57.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007933/1.633, allocations: 2.971 MB / 0.541 GB, free: 56.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.634, allocations: 372.5 kB / 0.5414 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/1.635, allocations: 20.55 kB / 0.5414 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.637, allocations: 53.69 kB / 0.5414 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.637, allocations: 95.48 kB / 0.5415 GB, free: 56.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.637, allocations: 40.91 kB / 0.5416 GB, free: 56.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002037/1.639, allocations: 0.9006 MB / 0.5424 GB, free: 56.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.639, allocations: 0 / 0.5424 GB, free: 56.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003297/1.643, allocations: 0.4996 MB / 0.5429 GB, free: 56.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,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,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 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%) 1,(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.008311/1.651, allocations: 4.205 MB / 0.547 GB, free: 54.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004308/1.655, allocations: 1.873 MB / 0.5489 GB, free: 53.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.655, allocations: 3.594 kB / 0.5489 GB, free: 53.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/1.659, allocations: 1.413 MB / 0.5503 GB, free: 52.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.662, allocations: 352.6 kB / 0.5506 GB, free: 52.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.677, allocations: 5.072 MB / 0.5555 GB, free: 50.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/1.68, allocations: 2.333 MB / 0.5578 GB, free: 48.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002623/1.683, allocations: 363.1 kB / 0.5582 GB, free: 48.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/1.686, allocations: 1.083 MB / 0.5592 GB, free: 47.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/1.686, allocations: 0 / 0.5592 GB, free: 47.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/1.831, allocations: 41.39 MB / 0.5996 GB, free: 32.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003006/1.832, allocations: 175.7 kB / 0.5998 GB, free: 32.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.755/6.587, allocations: 0 / 0.5998 GB, free: 32.28 MB / 394.7 MB