Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.287e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09055, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5665, allocations: 114.9 MB / 414.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.5669, allocations: 80.95 kB / 415 MB, free: 8.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3927/0.9597, allocations: 101.5 MB / 0.5044 GB, free: 15.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9597, allocations: 3.938 kB / 0.5044 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005084/0.9602, allocations: 107.9 kB / 0.5045 GB, free: 15.24 MB / 410.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.01834/0.9786, allocations: 4.16 MB / 0.5085 GB, free: 11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.9787, allocations: 8.031 kB / 0.5086 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002794/0.9815, allocations: 0.6147 MB / 0.5092 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008188/0.9897, allocations: 0.9429 MB / 0.5101 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/1.006, allocations: 3.922 MB / 0.5139 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007862/1.007, allocations: 478.4 kB / 0.5144 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/1.009, allocations: 403.9 kB / 0.5147 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3049/1.314, allocations: 5.153 MB / 0.5198 GB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/1.314, allocations: 3.312 kB / 0.5198 GB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/1.316, allocations: 179 kB / 0.5199 GB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/1.316, allocations: 165.3 kB / 0.5201 GB, free: 67.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/1.331, allocations: 4.143 MB / 0.5242 GB, free: 67.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/1.38, allocations: 17.7 MB / 0.5414 GB, free: 64.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.39, allocations: 8.112 MB / 0.5494 GB, free: 58.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/1.395, allocations: 1.81 MB / 0.5511 GB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.41, allocations: 5.376 MB / 0.5564 GB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002538/1.413, allocations: 1.183 MB / 0.5575 GB, free: 57.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=173): time 5.219e-06/1.413, allocations: 3.172 kB / 0.5575 GB, free: 57.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02136/1.434, allocations: 6.847 MB / 0.5642 GB, free: 56.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.434, allocations: 338.8 kB / 0.5646 GB, free: 55.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/1.439, allocations: 2.116 MB / 0.5666 GB, free: 55.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004687/1.44, allocations: 67.64 kB / 0.5667 GB, free: 55.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.442, allocations: 1.911 MB / 0.5685 GB, free: 54.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009283/1.443, allocations: 0.6845 MB / 0.5692 GB, free: 53.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/1.443, allocations: 56.38 kB / 0.5693 GB, free: 53.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/1.443, allocations: 400.4 kB / 0.5697 GB, free: 53.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/1.446, allocations: 1.024 MB / 0.5707 GB, free: 53.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/1.449, allocations: 1.771 MB / 0.5724 GB, free: 51.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/1.452, allocations: 1.306 MB / 0.5737 GB, free: 51.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/1.452, allocations: 6.5 kB / 0.5737 GB, free: 51.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0102/1.463, allocations: 3.849 MB / 0.5774 GB, free: 49.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001905/1.464, allocations: 8.273 MB / 0.5855 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-05/1.465, allocations: 19.5 kB / 0.5855 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/1.469, allocations: 1.009 MB / 0.5865 GB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/1.472, allocations: 470 kB / 0.587 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/1.492, allocations: 14.13 MB / 0.6008 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/1.496, allocations: 164 kB / 0.6009 GB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.497, allocations: 108.7 kB / 0.601 GB, free: 29.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.497, allocations: 3.219 kB / 0.601 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/1.507, allocations: 3.576 MB / 0.6045 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.642e-05/1.507, allocations: 18.78 kB / 0.6045 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/1.511, allocations: 0.9991 MB / 0.6055 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/1.514, allocations: 473 kB / 0.606 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.534, allocations: 14.12 MB / 0.6197 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/1.537, allocations: 158.2 kB / 0.6199 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/1.538, allocations: 111.7 kB / 0.62 GB, free: 17.09 MB / 410.7 MB 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.000724/1.539, allocations: 277.2 kB / 0.6203 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/1.539, allocations: 270.2 kB / 0.6205 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009041/1.549, allocations: 3.212 MB / 0.6237 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.549, allocations: 16.94 kB / 0.6237 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.549, allocations: 3.953 kB / 0.6237 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.924e-05/1.549, allocations: 12.3 kB / 0.6237 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.566, allocations: 6.953 MB / 0.6305 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.566, allocations: 4.031 kB / 0.6305 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.568, allocations: 278.4 kB / 0.6307 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004061/1.572, allocations: 1.018 MB / 0.6317 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/1.573, allocations: 57.14 kB / 0.6318 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/1.592, allocations: 11.52 MB / 0.643 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.593, allocations: 14.64 kB / 0.6431 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.603, allocations: 4.593 MB / 0.6475 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.605, allocations: 0.5917 MB / 0.6481 GB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/1.606, allocations: 54.91 kB / 0.6482 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.609, allocations: 132 kB / 0.6483 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/1.61, allocations: 233.1 kB / 0.6485 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.61, allocations: 58.2 kB / 0.6486 GB, free: 17.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003713/1.614, allocations: 1.608 MB / 0.6501 GB, free: 16.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.614, allocations: 2.953 kB / 0.6502 GB, free: 16.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007659/1.621, allocations: 1.506 MB / 0.6516 GB, free: 15.22 MB / 426.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.01312/1.634, allocations: 5.962 MB / 0.6574 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01692/1.651, allocations: 6.375 MB / 0.6637 GB, free: 3.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.651, allocations: 4 kB / 0.6637 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005919/1.657, allocations: 2.102 MB / 0.6657 GB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.663, allocations: 0.6087 MB / 0.6663 GB, free: 1.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3381/2.001, allocations: 7.506 MB / 0.6737 GB, free: 75.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/2.007, allocations: 2.902 MB / 0.6765 GB, free: 74.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007657/2.014, allocations: 1.041 MB / 0.6775 GB, free: 74.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003446/2.018, allocations: 1.533 MB / 0.679 GB, free: 74.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/2.018, allocations: 0 / 0.679 GB, free: 74.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/2.214, allocations: 84.84 MB / 0.7618 GB, free: 50.93 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/2.214, allocations: 212.2 kB / 0.762 GB, free: 50.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/8.785, allocations: 0 / 0.762 GB, free: 50.7 MB / 426.7 MB