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 2.027/2.027, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.402e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3011, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5025, allocations: 114.3 MB / 408.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.5029, allocations: 83.95 kB / 408.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6299/1.133, allocations: 100.2 MB / 0.4969 GB, free: 41.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.133, allocations: 0 / 0.4969 GB, free: 41.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004212/1.133, allocations: 103.6 kB / 0.497 GB, free: 41.77 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: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01624/1.15, allocations: 4.156 MB / 0.501 GB, free: 37.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.15, allocations: 8.031 kB / 0.501 GB, free: 37.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007644/1.157, allocations: 0.9468 MB / 0.502 GB, free: 36.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.171, allocations: 3.921 MB / 0.5058 GB, free: 32.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/1.172, allocations: 342.4 kB / 0.5061 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/1.173, allocations: 247.9 kB / 0.5064 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01198/1.185, allocations: 3.902 MB / 0.5102 GB, free: 28.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.201, allocations: 4.559 MB / 0.5146 GB, free: 23.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/1.201, allocations: 7.938 kB / 0.5146 GB, free: 23.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007772/1.202, allocations: 11.92 kB / 0.5146 GB, free: 23.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.202, allocations: 176.1 kB / 0.5148 GB, free: 23.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04292/1.245, allocations: 16.92 MB / 0.5313 GB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.256, allocations: 7.992 MB / 0.5391 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/1.261, allocations: 1.736 MB / 0.5408 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/1.279, allocations: 5.24 MB / 0.5459 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002976/1.282, allocations: 1.12 MB / 0.547 GB, free: 4.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=173): time 8.015e-06/1.282, allocations: 0 / 0.547 GB, free: 4.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.02837/1.31, allocations: 7.052 MB / 0.5539 GB, free: 13.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/1.311, allocations: 342.4 kB / 0.5542 GB, free: 13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004718/1.315, allocations: 1.772 MB / 0.556 GB, free: 11.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005/1.316, allocations: 41.69 kB / 0.556 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.319, allocations: 1.915 MB / 0.5579 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.32, allocations: 0.6583 MB / 0.5585 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.32, allocations: 0 / 0.5585 GB, free: 8.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/1.32, allocations: 407 kB / 0.5589 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/1.323, allocations: 0.9733 MB / 0.5599 GB, free: 7.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.326, allocations: 1.712 MB / 0.5615 GB, free: 5.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004362/1.331, allocations: 1.392 MB / 0.5629 GB, free: 3.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/1.331, allocations: 8 kB / 0.5629 GB, free: 3.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3207/1.652, allocations: 3.705 MB / 0.5665 GB, free: 75.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001715/1.653, allocations: 8.169 MB / 0.5745 GB, free: 66.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.874e-05/1.653, allocations: 22.66 kB / 0.5745 GB, free: 66.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/1.658, allocations: 0.9967 MB / 0.5755 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/1.662, allocations: 473.5 kB / 0.5759 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.681, allocations: 13.65 MB / 0.5893 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/1.685, allocations: 120.1 kB / 0.5894 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006053/1.686, allocations: 103.6 kB / 0.5895 GB, free: 59.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.686, allocations: 3.75 kB / 0.5895 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008949/1.695, allocations: 3.42 MB / 0.5928 GB, free: 58.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.656e-05/1.695, allocations: 18.59 kB / 0.5929 GB, free: 58.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/1.698, allocations: 0.9946 MB / 0.5938 GB, free: 58.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/1.702, allocations: 464.8 kB / 0.5943 GB, free: 58.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.72, allocations: 13.63 MB / 0.6076 GB, free: 51.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.723, allocations: 110.2 kB / 0.6077 GB, free: 51.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/1.724, allocations: 103.5 kB / 0.6078 GB, free: 51.18 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.0007319/1.725, allocations: 193.8 kB / 0.608 GB, free: 51.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008721/1.733, allocations: 2.98 MB / 0.6109 GB, free: 50.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009321/1.734, allocations: 255.9 kB / 0.6111 GB, free: 50.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00908/1.743, allocations: 3.121 MB / 0.6142 GB, free: 50.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/1.744, allocations: 18.91 kB / 0.6142 GB, free: 50.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.744, allocations: 2 kB / 0.6142 GB, free: 50.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/1.744, allocations: 10.97 kB / 0.6142 GB, free: 50.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/1.76, allocations: 6.351 MB / 0.6204 GB, free: 50.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.76, allocations: 10.06 kB / 0.6204 GB, free: 50.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.762, allocations: 277.3 kB / 0.6207 GB, free: 50.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/1.766, allocations: 1.015 MB / 0.6217 GB, free: 50.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.767, allocations: 32.41 kB / 0.6217 GB, free: 50.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/1.784, allocations: 11.15 MB / 0.6326 GB, free: 43.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.784, allocations: 6.938 kB / 0.6326 GB, free: 43.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.795, allocations: 4.519 MB / 0.637 GB, free: 41.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.797, allocations: 0.564 MB / 0.6376 GB, free: 41.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008702/1.798, allocations: 26.27 kB / 0.6376 GB, free: 41.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.8, allocations: 90.7 kB / 0.6377 GB, free: 41.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/1.801, allocations: 236.5 kB / 0.6379 GB, free: 41.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.801, allocations: 58.86 kB / 0.638 GB, free: 41.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002839/1.804, allocations: 1.323 MB / 0.6392 GB, free: 40.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.804, allocations: 0 / 0.6392 GB, free: 40.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007861/1.812, allocations: 1.322 MB / 0.6405 GB, free: 40.8 MB / 394.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.01193/1.824, allocations: 5.812 MB / 0.6462 GB, free: 37.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01422/1.838, allocations: 6.075 MB / 0.6521 GB, free: 34.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.838, allocations: 2.5 kB / 0.6521 GB, free: 34.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.843, allocations: 2.015 MB / 0.6541 GB, free: 33.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/1.85, allocations: 484.5 kB / 0.6546 GB, free: 33.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/1.881, allocations: 7.205 MB / 0.6616 GB, free: 29.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/1.885, allocations: 2.901 MB / 0.6644 GB, free: 27.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006224/1.891, allocations: 0.962 MB / 0.6654 GB, free: 26.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/1.895, allocations: 1.534 MB / 0.6669 GB, free: 25.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/1.895, allocations: 0 / 0.6669 GB, free: 25.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4806/2.375, allocations: 73.05 MB / 0.7382 GB, free: 77.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/2.376, allocations: 165.2 kB / 0.7384 GB, free: 77.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.76/8.135, allocations: 0 / 0.7384 GB, free: 77.56 MB / 410.7 MB