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.957/1.957, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.042e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09185, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.5878, allocations: 114.9 MB / 414.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5882, allocations: 85.77 kB / 415 MB, free: 7.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.407/0.9952, allocations: 101.5 MB / 0.5044 GB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9952, allocations: 0 / 0.5044 GB, free: 15.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005635/0.9958, allocations: 103.9 kB / 0.5045 GB, free: 15.09 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.01953/1.015, allocations: 4.156 MB / 0.5086 GB, free: 10.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.015, allocations: 12.03 kB / 0.5086 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003043/1.018, allocations: 0.6147 MB / 0.5092 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008368/1.027, allocations: 0.9507 MB / 0.5101 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.044, allocations: 3.91 MB / 0.5139 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/1.044, allocations: 482.4 kB / 0.5144 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/1.046, allocations: 411.9 kB / 0.5148 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3077/1.354, allocations: 5.1 MB / 0.5197 GB, free: 67.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/1.354, allocations: 5.953 kB / 0.5198 GB, free: 67.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/1.356, allocations: 173.7 kB / 0.5199 GB, free: 67.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/1.356, allocations: 168.3 kB / 0.5201 GB, free: 67.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.372, allocations: 4.093 MB / 0.5241 GB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0986/1.471, allocations: 17.7 MB / 0.5414 GB, free: 63.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.482, allocations: 8.092 MB / 0.5493 GB, free: 58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005122/1.487, allocations: 1.802 MB / 0.551 GB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/1.505, allocations: 5.382 MB / 0.5563 GB, free: 56.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/1.508, allocations: 1.168 MB / 0.5574 GB, free: 56.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=173): time 6.422e-06/1.508, allocations: 1.969 kB / 0.5574 GB, free: 56.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02451/1.532, allocations: 6.843 MB / 0.5641 GB, free: 55.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.533, allocations: 342.7 kB / 0.5644 GB, free: 55.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/1.539, allocations: 2.114 MB / 0.5665 GB, free: 55.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005977/1.539, allocations: 67.91 kB / 0.5666 GB, free: 55.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002574/1.542, allocations: 1.911 MB / 0.5684 GB, free: 54.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.543, allocations: 0.6908 MB / 0.5691 GB, free: 53.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/1.543, allocations: 49.25 kB / 0.5692 GB, free: 53.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002342/1.544, allocations: 400.6 kB / 0.5695 GB, free: 53.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.546, allocations: 1.025 MB / 0.5705 GB, free: 52.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/1.55, allocations: 1.758 MB / 0.5723 GB, free: 51.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/1.554, allocations: 1.303 MB / 0.5735 GB, free: 51.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/1.554, allocations: 6.719 kB / 0.5735 GB, free: 51.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01152/1.565, allocations: 3.798 MB / 0.5772 GB, free: 49.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001898/1.567, allocations: 8.283 MB / 0.5853 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/1.567, allocations: 18.28 kB / 0.5853 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/1.572, allocations: 0.9979 MB / 0.5863 GB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.575, allocations: 472.3 kB / 0.5868 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/1.596, allocations: 14.12 MB / 0.6006 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.601, allocations: 168.2 kB / 0.6007 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006603/1.602, allocations: 104.1 kB / 0.6008 GB, free: 29.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.602, allocations: 3.844 kB / 0.6008 GB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009924/1.611, allocations: 3.525 MB / 0.6043 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.7e-05/1.612, allocations: 18.16 kB / 0.6043 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/1.616, allocations: 1.005 MB / 0.6053 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.619, allocations: 472.3 kB / 0.6057 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/1.64, allocations: 14.11 MB / 0.6195 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.644, allocations: 161.3 kB / 0.6197 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000635/1.644, allocations: 101 kB / 0.6197 GB, free: 16.9 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.0008132/1.645, allocations: 288.5 kB / 0.62 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009136/1.646, allocations: 281.2 kB / 0.6203 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.657, allocations: 3.187 MB / 0.6234 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.657, allocations: 20.94 kB / 0.6234 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.657, allocations: 3.953 kB / 0.6234 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.854e-05/1.657, allocations: 10.59 kB / 0.6234 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.676, allocations: 6.957 MB / 0.6302 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/1.677, allocations: 0 / 0.6302 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.679, allocations: 281.2 kB / 0.6305 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/1.684, allocations: 1.026 MB / 0.6315 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/1.684, allocations: 50.22 kB / 0.6315 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/1.705, allocations: 11.53 MB / 0.6428 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.705, allocations: 9.203 kB / 0.6428 GB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.717, allocations: 4.593 MB / 0.6473 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/1.719, allocations: 0.5922 MB / 0.6479 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.72, allocations: 58.89 kB / 0.6479 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003594/1.724, allocations: 131 kB / 0.6481 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.725, allocations: 228.6 kB / 0.6483 GB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.725, allocations: 61.44 kB / 0.6483 GB, free: 17.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004602/1.73, allocations: 1.614 MB / 0.6499 GB, free: 16.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.683e-06/1.73, allocations: 0 / 0.6499 GB, free: 16.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009526/1.74, allocations: 1.506 MB / 0.6514 GB, free: 15.13 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.0162/1.756, allocations: 5.968 MB / 0.6572 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01786/1.774, allocations: 6.2 MB / 0.6633 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.774, allocations: 0 / 0.6633 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006302/1.78, allocations: 2.054 MB / 0.6653 GB, free: 1.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/1.786, allocations: 0.6207 MB / 0.6659 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/1.816, allocations: 7.456 MB / 0.6732 GB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/1.822, allocations: 2.901 MB / 0.676 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007482/1.829, allocations: 1.041 MB / 0.677 GB, free: 8.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003931/1.833, allocations: 1.537 MB / 0.6785 GB, free: 6.617 MB / 442.7 MB Notification: Performance of SimCode: time 2.083e-06/1.833, allocations: 0 / 0.6785 GB, free: 6.617 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5596/2.393, allocations: 84.8 MB / 0.7613 GB, free: 81.08 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/2.393, allocations: 209.2 kB / 0.7615 GB, free: 80.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.511/8.905, allocations: 0 / 0.7615 GB, free: 80.86 MB / 442.7 MB