Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.304e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.4795, allocations: 112.4 MB / 406.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.4798, allocations: 87.95 kB / 406.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6889/1.169, allocations: 131.8 MB / 0.5259 GB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.169, allocations: 0 / 0.5259 GB, free: 11.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004645/1.169, allocations: 123.9 kB / 0.526 GB, free: 11.62 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01787/1.187, allocations: 4.775 MB / 0.5307 GB, free: 6.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.187, allocations: 16 kB / 0.5307 GB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/1.194, allocations: 0.9773 MB / 0.5317 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/1.208, allocations: 4.465 MB / 0.536 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/1.209, allocations: 160 kB / 0.5362 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/1.21, allocations: 287.9 kB / 0.5365 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01516/1.225, allocations: 5.112 MB / 0.5415 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/1.243, allocations: 5.896 MB / 0.5472 GB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/1.243, allocations: 11.84 kB / 0.5472 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006494/1.244, allocations: 7.984 kB / 0.5472 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003501/1.244, allocations: 241.8 kB / 0.5475 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3197/1.564, allocations: 20.01 MB / 0.567 GB, free: 39.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/1.582, allocations: 9.706 MB / 0.5765 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005518/1.587, allocations: 2.305 MB / 0.5787 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.604, allocations: 6.291 MB / 0.5849 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/1.604, allocations: 60.72 kB / 0.5849 GB, free: 32.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 5.42e-06/1.604, allocations: 5.594 kB / 0.5849 GB, free: 32.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=224): time 0.01921/1.624, allocations: 7.241 MB / 0.592 GB, free: 31.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.624, allocations: 78.06 kB / 0.5921 GB, free: 30.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/1.628, allocations: 2.092 MB / 0.5941 GB, free: 30.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/1.628, allocations: 29.61 kB / 0.5942 GB, free: 30.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.63, allocations: 2.163 MB / 0.5963 GB, free: 30.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008908/1.631, allocations: 0.722 MB / 0.597 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.631, allocations: 0 / 0.597 GB, free: 29.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/1.631, allocations: 406.4 kB / 0.5974 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.634, allocations: 1.162 MB / 0.5985 GB, free: 29.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/1.636, allocations: 1.717 MB / 0.6002 GB, free: 28.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/1.64, allocations: 1.576 MB / 0.6017 GB, free: 28.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/1.64, allocations: 10.34 kB / 0.6017 GB, free: 28.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009196/1.649, allocations: 3.879 MB / 0.6055 GB, free: 28.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/1.649, allocations: 10.97 kB / 0.6055 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/1.649, allocations: 17.97 kB / 0.6055 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/1.652, allocations: 0.6374 MB / 0.6062 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/1.656, allocations: 0.5511 MB / 0.6067 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.668, allocations: 9.628 MB / 0.6161 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/1.672, allocations: 59.02 kB / 0.6162 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.672, allocations: 98.53 kB / 0.6163 GB, free: 21.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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: 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005649/1.672, allocations: 164.2 kB / 0.6164 GB, free: 21.22 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008208/1.681, allocations: 3.465 MB / 0.6198 GB, free: 19.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008824/1.682, allocations: 282.1 kB / 0.6201 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.695, allocations: 3.672 MB / 0.6237 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/1.695, allocations: 21.69 kB / 0.6237 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.695, allocations: 9.875 kB / 0.6237 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-05/1.695, allocations: 11.16 kB / 0.6237 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04957/1.745, allocations: 7.668 MB / 0.6312 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.745, allocations: 3.094 kB / 0.6312 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007597/1.753, allocations: 339 kB / 0.6315 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0088/1.761, allocations: 0.81 MB / 0.6323 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003302/1.762, allocations: 31.05 kB / 0.6323 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/1.781, allocations: 13.85 MB / 0.6459 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.781, allocations: 6.125 kB / 0.6459 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.793, allocations: 5.552 MB / 0.6513 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.795, allocations: 0.6355 MB / 0.6519 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007036/1.796, allocations: 26.41 kB / 0.6519 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.798, allocations: 81.52 kB / 0.652 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006144/1.799, allocations: 188.8 kB / 0.6522 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.799, allocations: 64.16 kB / 0.6522 GB, free: 0.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003047/1.802, allocations: 1.572 MB / 0.6538 GB, free: 176 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.802, allocations: 3.188 kB / 0.6538 GB, free: 176 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.004481/1.807, allocations: 0.8554 MB / 0.6546 GB, free: 160 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01401/1.821, allocations: 6.909 MB / 0.6614 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008146/1.829, allocations: 3.567 MB / 0.6649 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.829, allocations: 5.438 kB / 0.6649 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005753/1.835, allocations: 2.45 MB / 0.6673 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/1.84, allocations: 0.6076 MB / 0.6678 GB, free: 5.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.865, allocations: 8.847 MB / 0.6765 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005711/1.871, allocations: 3.513 MB / 0.6799 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004159/1.875, allocations: 0.6831 MB / 0.6806 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/1.879, allocations: 1.824 MB / 0.6824 GB, free: 8.793 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/1.879, allocations: 0 / 0.6824 GB, free: 8.793 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5468/2.426, allocations: 71.34 MB / 0.752 GB, free: 77.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/2.426, allocations: 168.1 kB / 0.7522 GB, free: 77.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.349/7.776, allocations: 0 / 0.7522 GB, free: 77.04 MB / 426.7 MB