Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.789e-05, allocations: 0 / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09927, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.5794, allocations: 103.7 MB / 403.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.5798, allocations: 84.7 kB / 403.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3227/0.9026, allocations: 80.2 MB / 483.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9026, allocations: 4 kB / 483.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003544/0.903, allocations: 75.92 kB / 484 MB, free: 15.87 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0141/0.9171, allocations: 3.199 MB / 487.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.9172, allocations: 16.02 kB / 487.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.9189, allocations: 442.9 kB / 487.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/0.9253, allocations: 0.7295 MB / 488.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.9381, allocations: 3.356 MB / 491.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.9385, allocations: 234.3 kB / 492 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.9399, allocations: 311.9 kB / 492.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.953, allocations: 4.055 MB / 496.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.9531, allocations: 7.922 kB / 496.3 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006203/0.9538, allocations: 136 kB / 496.5 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.954, allocations: 138.3 kB / 496.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.9654, allocations: 3.3 MB / 499.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/1.004, allocations: 13.57 MB / 0.5014 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.015, allocations: 6.769 MB / 0.508 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/1.019, allocations: 1.371 MB / 0.5094 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/1.03, allocations: 3.612 MB / 0.5129 GB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.03, allocations: 51.5 kB / 0.513 GB, free: 4.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.228e-06/1.03, allocations: 4 kB / 0.513 GB, free: 4.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.2871/1.317, allocations: 5.012 MB / 0.5179 GB, free: 85.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.317, allocations: 65 kB / 0.5179 GB, free: 85.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/1.322, allocations: 1.608 MB / 0.5195 GB, free: 85.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.323, allocations: 53.06 kB / 0.5195 GB, free: 85.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/1.324, allocations: 1.432 MB / 0.5209 GB, free: 85.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006666/1.325, allocations: 488.7 kB / 0.5214 GB, free: 85.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.325, allocations: 34.66 kB / 0.5214 GB, free: 85.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/1.325, allocations: 372 kB / 0.5218 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.327, allocations: 0.7172 MB / 0.5225 GB, free: 84.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.329, allocations: 1.153 MB / 0.5236 GB, free: 84.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.332, allocations: 0.9355 MB / 0.5245 GB, free: 84.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/1.332, allocations: 8.594 kB / 0.5245 GB, free: 84.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007829/1.34, allocations: 2.524 MB / 0.527 GB, free: 84.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.34, allocations: 11.5 kB / 0.527 GB, free: 84.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/1.34, allocations: 13.31 kB / 0.527 GB, free: 84.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/1.342, allocations: 0.4935 MB / 0.5275 GB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/1.346, allocations: 385.2 kB / 0.5279 GB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.358, allocations: 6.362 MB / 0.5341 GB, free: 81.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.36, allocations: 84.08 kB / 0.5342 GB, free: 81.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/1.36, allocations: 69.14 kB / 0.5342 GB, free: 81.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004337/1.361, allocations: 206.3 kB / 0.5344 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.361, allocations: 194.9 kB / 0.5346 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/1.367, allocations: 2.402 MB / 0.537 GB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/1.367, allocations: 19.62 kB / 0.537 GB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.368, allocations: 7.656 kB / 0.537 GB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.368, allocations: 9.719 kB / 0.537 GB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.38, allocations: 5.391 MB / 0.5423 GB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/1.38, allocations: 7.656 kB / 0.5423 GB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.382, allocations: 218.6 kB / 0.5425 GB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/1.385, allocations: 498.5 kB / 0.543 GB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/1.385, allocations: 36.16 kB / 0.543 GB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/1.398, allocations: 10.42 MB / 0.5532 GB, free: 73.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.398, allocations: 0 / 0.5532 GB, free: 73.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008395/1.406, allocations: 3.514 MB / 0.5566 GB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.408, allocations: 459.5 kB / 0.557 GB, free: 72.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007072/1.409, allocations: 30.88 kB / 0.5571 GB, free: 72.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.411, allocations: 72.86 kB / 0.5571 GB, free: 72.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.411, allocations: 113.1 kB / 0.5572 GB, free: 72.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.412, allocations: 37.53 kB / 0.5573 GB, free: 72.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002932/1.415, allocations: 1.239 MB / 0.5585 GB, free: 72.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.415, allocations: 0 / 0.5585 GB, free: 72.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00371/1.418, allocations: 0.6283 MB / 0.5591 GB, free: 72.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009006/1.427, allocations: 4.75 MB / 0.5637 GB, free: 70.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006201/1.434, allocations: 2.228 MB / 0.5659 GB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.434, allocations: 0 / 0.5659 GB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003748/1.437, allocations: 1.612 MB / 0.5675 GB, free: 68.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.441, allocations: 488.1 kB / 0.568 GB, free: 68.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/1.458, allocations: 5.674 MB / 0.5735 GB, free: 66.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/1.461, allocations: 2.421 MB / 0.5759 GB, free: 65.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002575/1.464, allocations: 419.5 kB / 0.5763 GB, free: 65.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/1.466, allocations: 1.128 MB / 0.5774 GB, free: 64.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.466, allocations: 0 / 0.5774 GB, free: 64.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/1.611, allocations: 54.13 MB / 0.6302 GB, free: 40.48 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.611, allocations: 194.1 kB / 0.6304 GB, free: 40.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.195/5.807, allocations: 2.688 kB / 0.6304 GB, free: 40.26 MB / 410.7 MB