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.312/2.312, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.012e-05, allocations: 4.094 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5395/0.6424, allocations: 114.3 MB / 408.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.6427, allocations: 82.52 kB / 408.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7819/1.425, allocations: 100.2 MB / 0.4969 GB, free: 66.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.425, allocations: 0 / 0.4969 GB, free: 66.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005825/1.425, allocations: 100.8 kB / 0.497 GB, free: 66.14 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.02119/1.446, allocations: 4.169 MB / 0.5011 GB, free: 64.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.447, allocations: 9.156 kB / 0.5011 GB, free: 64.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009534/1.456, allocations: 0.9427 MB / 0.502 GB, free: 64.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.474, allocations: 3.912 MB / 0.5058 GB, free: 63.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005504/1.475, allocations: 345.2 kB / 0.5062 GB, free: 63.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/1.477, allocations: 247.4 kB / 0.5064 GB, free: 63.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01416/1.491, allocations: 3.9 MB / 0.5102 GB, free: 63.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/1.508, allocations: 4.57 MB / 0.5147 GB, free: 63.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/1.508, allocations: 10.56 kB / 0.5147 GB, free: 63.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008/1.509, allocations: 2.406 kB / 0.5147 GB, free: 63.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002249/1.509, allocations: 172.6 kB / 0.5149 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04903/1.558, allocations: 16.92 MB / 0.5314 GB, free: 59.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.57, allocations: 7.991 MB / 0.5392 GB, free: 53.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/1.575, allocations: 1.729 MB / 0.5409 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/1.591, allocations: 5.242 MB / 0.546 GB, free: 52.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002527/1.594, allocations: 1.128 MB / 0.5471 GB, free: 51.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=173): time 6.402e-06/1.594, allocations: 0 / 0.5471 GB, free: 51.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.02783/1.622, allocations: 7.046 MB / 0.554 GB, free: 49.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.622, allocations: 340 kB / 0.5543 GB, free: 48.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/1.626, allocations: 1.785 MB / 0.556 GB, free: 47.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005231/1.627, allocations: 37.23 kB / 0.5561 GB, free: 47.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.629, allocations: 1.912 MB / 0.5579 GB, free: 46.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.63, allocations: 0.6651 MB / 0.5586 GB, free: 45.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.631, allocations: 0 / 0.5586 GB, free: 45.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/1.631, allocations: 404 kB / 0.559 GB, free: 45.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/1.633, allocations: 0.9725 MB / 0.5599 GB, free: 45.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/1.637, allocations: 1.714 MB / 0.5616 GB, free: 43.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/1.641, allocations: 1.397 MB / 0.563 GB, free: 43.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/1.641, allocations: 7.562 kB / 0.563 GB, free: 43.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01183/1.653, allocations: 3.704 MB / 0.5666 GB, free: 41.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00183/1.655, allocations: 8.171 MB / 0.5746 GB, free: 33.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-05/1.655, allocations: 21.45 kB / 0.5746 GB, free: 33.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/1.66, allocations: 0.9945 MB / 0.5756 GB, free: 32.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.664, allocations: 473.5 kB / 0.576 GB, free: 32.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/1.686, allocations: 13.65 MB / 0.5893 GB, free: 22.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/1.691, allocations: 120.4 kB / 0.5895 GB, free: 22.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/1.691, allocations: 105.8 kB / 0.5896 GB, free: 22.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.691, allocations: 3.938 kB / 0.5896 GB, free: 22.43 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01135/1.703, allocations: 3.409 MB / 0.5929 GB, free: 21.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.703, allocations: 24.3 kB / 0.5929 GB, free: 21.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/1.707, allocations: 0.9843 MB / 0.5939 GB, free: 20.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/1.711, allocations: 462.8 kB / 0.5943 GB, free: 20.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/1.734, allocations: 13.64 MB / 0.6076 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/1.738, allocations: 112.9 kB / 0.6077 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/1.739, allocations: 106.4 kB / 0.6078 GB, free: 10.4 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.0008945/1.74, allocations: 207.2 kB / 0.608 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01084/1.75, allocations: 2.983 MB / 0.611 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.752, allocations: 256.9 kB / 0.6112 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.764, allocations: 3.111 MB / 0.6142 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/1.764, allocations: 23.95 kB / 0.6143 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.764, allocations: 3.938 kB / 0.6143 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/1.764, allocations: 10.59 kB / 0.6143 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.785, allocations: 6.354 MB / 0.6205 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.785, allocations: 0 / 0.6205 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.788, allocations: 283.2 kB / 0.6208 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005357/1.793, allocations: 1.004 MB / 0.6217 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005028/1.794, allocations: 27.64 kB / 0.6218 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02611/1.82, allocations: 11.17 MB / 0.6327 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.82, allocations: 3.938 kB / 0.6327 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.836, allocations: 4.537 MB / 0.6371 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3501/2.186, allocations: 0.5541 MB / 0.6376 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.187, allocations: 26.94 kB / 0.6377 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004116/2.191, allocations: 89.55 kB / 0.6378 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.193, allocations: 235.4 kB / 0.638 GB, free: 71.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.193, allocations: 58.41 kB / 0.638 GB, free: 71.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004527/2.198, allocations: 1.323 MB / 0.6393 GB, free: 71.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.198, allocations: 0 / 0.6393 GB, free: 71.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01179/2.209, allocations: 1.321 MB / 0.6406 GB, free: 71.3 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.01758/2.227, allocations: 5.804 MB / 0.6463 GB, free: 69.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01909/2.246, allocations: 6.074 MB / 0.6522 GB, free: 68.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/2.246, allocations: 3.812 kB / 0.6522 GB, free: 68.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007731/2.254, allocations: 2.009 MB / 0.6542 GB, free: 67.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/2.26, allocations: 473.3 kB / 0.6546 GB, free: 67.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/2.291, allocations: 7.225 MB / 0.6617 GB, free: 66.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006294/2.297, allocations: 2.894 MB / 0.6645 GB, free: 65.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008253/2.305, allocations: 0.9629 MB / 0.6655 GB, free: 65.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004/2.309, allocations: 1.529 MB / 0.6669 GB, free: 65.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/2.309, allocations: 3.406 kB / 0.667 GB, free: 65.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2204/2.53, allocations: 73.06 MB / 0.7383 GB, free: 37.33 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002319/2.53, allocations: 170.5 kB / 0.7385 GB, free: 37.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.987/9.517, allocations: 0 / 0.7385 GB, free: 37.13 MB / 410.7 MB