Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.684/2.684, allocations: 195 MB / 202.9 MB, free: 6.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.133e-05, allocations: 3.906 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 44.52 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5706/0.6764, allocations: 114.3 MB / 408.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.6769, allocations: 87.27 kB / 408.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9576/1.634, allocations: 100.7 MB / 0.4974 GB, free: 66.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.998e-06/1.635, allocations: 0 / 0.4974 GB, free: 66.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006158/1.635, allocations: 108.8 kB / 0.4975 GB, free: 66.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.02311/1.658, allocations: 4.156 MB / 0.5015 GB, free: 64.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.658, allocations: 9.75 kB / 0.5016 GB, free: 64.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003299/1.662, allocations: 461.5 kB / 0.502 GB, free: 64.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/1.673, allocations: 0.9481 MB / 0.5029 GB, free: 64.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.692, allocations: 3.916 MB / 0.5067 GB, free: 63.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005586/1.693, allocations: 349.8 kB / 0.5071 GB, free: 63.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/1.695, allocations: 243.9 kB / 0.5073 GB, free: 63.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01541/1.71, allocations: 3.91 MB / 0.5111 GB, free: 63.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/1.73, allocations: 4.558 MB / 0.5156 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/1.73, allocations: 5.969 kB / 0.5156 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/1.731, allocations: 7.688 kB / 0.5156 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002404/1.732, allocations: 167.4 kB / 0.5158 GB, free: 63.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05322/1.785, allocations: 16.93 MB / 0.5323 GB, free: 59.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.797, allocations: 8.003 MB / 0.5401 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005299/1.803, allocations: 1.733 MB / 0.5418 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/1.82, allocations: 5.238 MB / 0.5469 GB, free: 52.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002687/1.823, allocations: 1.118 MB / 0.548 GB, free: 51.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=173): time 6.162e-06/1.823, allocations: 6.844 kB / 0.548 GB, free: 51.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.0288/1.852, allocations: 7.058 MB / 0.5549 GB, free: 48.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/1.852, allocations: 336.9 kB / 0.5552 GB, free: 48.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/1.857, allocations: 1.777 MB / 0.557 GB, free: 47.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000525/1.857, allocations: 36.92 kB / 0.557 GB, free: 47.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002467/1.86, allocations: 1.914 MB / 0.5589 GB, free: 46.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.861, allocations: 0.6688 MB / 0.5595 GB, free: 45.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/1.861, allocations: 0 / 0.5595 GB, free: 45.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/1.862, allocations: 406 kB / 0.5599 GB, free: 45.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.864, allocations: 0.9733 MB / 0.5609 GB, free: 44.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/1.868, allocations: 1.718 MB / 0.5625 GB, free: 43.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004537/1.873, allocations: 1.388 MB / 0.5639 GB, free: 43.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/1.873, allocations: 8.938 kB / 0.5639 GB, free: 43.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01242/1.885, allocations: 3.707 MB / 0.5675 GB, free: 41.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001792/1.887, allocations: 8.173 MB / 0.5755 GB, free: 33.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.309e-05/1.887, allocations: 20.19 kB / 0.5755 GB, free: 33.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/1.892, allocations: 0.9904 MB / 0.5765 GB, free: 32.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/1.896, allocations: 471 kB / 0.5769 GB, free: 32.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.919, allocations: 13.65 MB / 0.5903 GB, free: 22.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/1.923, allocations: 119.2 kB / 0.5904 GB, free: 22.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006916/1.924, allocations: 104.5 kB / 0.5905 GB, free: 22.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.924, allocations: 3.875 kB / 0.5905 GB, free: 22.23 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01076/1.935, allocations: 3.42 MB / 0.5938 GB, free: 20.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.959e-05/1.935, allocations: 20.69 kB / 0.5938 GB, free: 20.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/1.939, allocations: 0.9935 MB / 0.5948 GB, free: 20.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00404/1.944, allocations: 463.2 kB / 0.5953 GB, free: 20.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/1.966, allocations: 13.63 MB / 0.6086 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.97, allocations: 108.6 kB / 0.6087 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007442/1.971, allocations: 105.7 kB / 0.6088 GB, free: 9.992 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[3]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[1]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[2]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * 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: 6 * 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 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009206/1.972, allocations: 198.4 kB / 0.609 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009753/1.973, allocations: 256.9 kB / 0.6092 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.984, allocations: 3.117 MB / 0.6122 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/1.985, allocations: 23.94 kB / 0.6123 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.985, allocations: 0 / 0.6123 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.328e-05/1.985, allocations: 15.2 kB / 0.6123 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/2.005, allocations: 6.34 MB / 0.6185 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/2.005, allocations: 7.062 kB / 0.6185 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/2.008, allocations: 282.6 kB / 0.6188 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005067/2.013, allocations: 1.014 MB / 0.6197 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/2.013, allocations: 27.55 kB / 0.6198 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0262/2.04, allocations: 11.16 MB / 0.6307 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/2.04, allocations: 4 kB / 0.6307 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/2.056, allocations: 4.527 MB / 0.6351 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/2.059, allocations: 0.5585 MB / 0.6356 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.06, allocations: 27.22 kB / 0.6357 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/2.064, allocations: 93.17 kB / 0.6358 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.065, allocations: 240.7 kB / 0.636 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/2.066, allocations: 54.89 kB / 0.636 GB, free: 1.234 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00459/2.07, allocations: 1.324 MB / 0.6373 GB, free: 32 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.07, allocations: 0 / 0.6373 GB, free: 32 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.4242/2.494, allocations: 1.326 MB / 0.6386 GB, free: 71.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 54,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01798/2.513, allocations: 5.811 MB / 0.6443 GB, free: 70.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01944/2.532, allocations: 6.071 MB / 0.6502 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.532, allocations: 3.5 kB / 0.6502 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006711/2.539, allocations: 2.008 MB / 0.6522 GB, free: 68.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/2.545, allocations: 486.1 kB / 0.6527 GB, free: 68.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.586, allocations: 7.214 MB / 0.6597 GB, free: 66.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/2.592, allocations: 2.899 MB / 0.6625 GB, free: 65.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008815/2.601, allocations: 0.9639 MB / 0.6635 GB, free: 65.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004241/2.605, allocations: 1.531 MB / 0.665 GB, free: 65.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/2.605, allocations: 0 / 0.665 GB, free: 65.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4112/3.016, allocations: 75.59 MB / 0.7388 GB, free: 36.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0008516/3.017, allocations: 174.4 kB / 0.739 GB, free: 36.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.281/11.3, allocations: 0 / 0.739 GB, free: 36.37 MB / 410.7 MB