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.998/1.998, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.957e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5051, allocations: 103 MB / 397.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5055, allocations: 79.95 kB / 397.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5363/1.042, allocations: 79.17 MB / 476.5 MB, free: 72.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.042, allocations: 0 / 476.5 MB, free: 72.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003047/1.042, allocations: 83.78 kB / 476.5 MB, free: 72.28 MB / 362.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.01287/1.055, allocations: 3.207 MB / 479.8 MB, free: 69.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.055, allocations: 13.09 kB / 479.8 MB, free: 69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/1.061, allocations: 0.7296 MB / 480.5 MB, free: 68.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.073, allocations: 3.335 MB / 483.8 MB, free: 64.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/1.073, allocations: 104 kB / 483.9 MB, free: 64.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/1.074, allocations: 199.8 kB / 484.1 MB, free: 64.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009534/1.084, allocations: 3.156 MB / 487.3 MB, free: 61.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/1.096, allocations: 3.645 MB / 490.9 MB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/1.096, allocations: 4 kB / 490.9 MB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005744/1.097, allocations: 0 / 490.9 MB, free: 57.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/1.097, allocations: 142.2 kB / 491.1 MB, free: 57.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03212/1.129, allocations: 12.95 MB / 0.4922 GB, free: 44.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008705/1.138, allocations: 6.73 MB / 0.4988 GB, free: 36.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003239/1.141, allocations: 1.315 MB / 0.5001 GB, free: 35.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0093/1.151, allocations: 3.508 MB / 0.5035 GB, free: 31.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.151, allocations: 47.88 kB / 0.5035 GB, free: 31.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.899e-06/1.151, allocations: 4 kB / 0.5035 GB, free: 31.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=142): time 0.01666/1.167, allocations: 5.194 MB / 0.5086 GB, free: 26.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/1.167, allocations: 64.72 kB / 0.5087 GB, free: 26.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/1.17, allocations: 1.338 MB / 0.51 GB, free: 25.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003104/1.171, allocations: 25.7 kB / 0.51 GB, free: 25.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/1.172, allocations: 1.434 MB / 0.5114 GB, free: 23.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/1.172, allocations: 476.9 kB / 0.5119 GB, free: 23.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.173, allocations: 0 / 0.5119 GB, free: 23.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/1.173, allocations: 373.9 kB / 0.5122 GB, free: 22.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.174, allocations: 0.6833 MB / 0.5129 GB, free: 22.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.176, allocations: 1.123 MB / 0.514 GB, free: 20.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/1.179, allocations: 1.021 MB / 0.515 GB, free: 19.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/1.179, allocations: 4 kB / 0.515 GB, free: 19.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006929/1.186, allocations: 2.496 MB / 0.5174 GB, free: 17.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.186, allocations: 8 kB / 0.5174 GB, free: 17.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.186, allocations: 16 kB / 0.5174 GB, free: 17.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/1.188, allocations: 492.9 kB / 0.5179 GB, free: 16.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/1.191, allocations: 391.4 kB / 0.5183 GB, free: 16.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.202, allocations: 6.136 MB / 0.5243 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.204, allocations: 51.8 kB / 0.5243 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.204, allocations: 67.98 kB / 0.5244 GB, free: 9.902 MB / 362.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.0003896/1.205, allocations: 148.6 kB / 0.5245 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005831/1.21, allocations: 2.251 MB / 0.5267 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/1.211, allocations: 193.6 kB / 0.5269 GB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006374/1.218, allocations: 2.393 MB / 0.5293 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/1.218, allocations: 15.95 kB / 0.5293 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.218, allocations: 8 kB / 0.5293 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.218, allocations: 7.969 kB / 0.5293 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.231, allocations: 4.965 MB / 0.5341 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.231, allocations: 0 / 0.5341 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/1.233, allocations: 215.9 kB / 0.5343 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.235, allocations: 499.7 kB / 0.5348 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.235, allocations: 19.98 kB / 0.5348 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.251, allocations: 10.01 MB / 0.5446 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.251, allocations: 4.062 kB / 0.5446 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009006/1.26, allocations: 3.504 MB / 0.548 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.262, allocations: 434.8 kB / 0.5485 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/1.262, allocations: 15.95 kB / 0.5485 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.264, allocations: 51.95 kB / 0.5485 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/1.264, allocations: 117.5 kB / 0.5486 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.264, allocations: 36 kB / 0.5487 GB, free: 88 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002505/1.267, allocations: 1.008 MB / 0.5496 GB, free: 15.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.267, allocations: 0 / 0.5496 GB, free: 15.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00359/1.27, allocations: 0.5469 MB / 0.5502 GB, free: 14.54 MB / 394.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.01022/1.281, allocations: 4.659 MB / 0.5547 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006538/1.287, allocations: 2.172 MB / 0.5569 GB, free: 7.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.287, allocations: 0 / 0.5569 GB, free: 7.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004175/1.292, allocations: 1.596 MB / 0.5584 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.295, allocations: 365.2 kB / 0.5588 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.313, allocations: 5.495 MB / 0.5641 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2697/1.583, allocations: 2.423 MB / 0.5665 GB, free: 97.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00256/1.585, allocations: 391.3 kB / 0.5669 GB, free: 97.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/1.588, allocations: 1.12 MB / 0.568 GB, free: 97.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/1.588, allocations: 0 / 0.568 GB, free: 97.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.718, allocations: 45.63 MB / 0.6125 GB, free: 86.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.719, allocations: 176.4 kB / 0.6127 GB, free: 86.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/5.693, allocations: 4 kB / 0.6127 GB, free: 86.11 MB / 394.7 MB