Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.964e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.0908, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5443, allocations: 114.9 MB / 414.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5446, allocations: 87.22 kB / 415 MB, free: 8.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3913/0.9359, allocations: 101.5 MB / 0.5043 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.936, allocations: 7.938 kB / 0.5043 GB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004849/0.9365, allocations: 99.94 kB / 0.5044 GB, free: 15.71 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.01783/0.9543, allocations: 4.152 MB / 0.5085 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.9544, allocations: 16.03 kB / 0.5085 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002563/0.957, allocations: 0.6108 MB / 0.5091 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008114/0.9651, allocations: 0.9429 MB / 0.51 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/0.9808, allocations: 3.918 MB / 0.5139 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000617/0.9815, allocations: 478.4 kB / 0.5143 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/0.9831, allocations: 411.9 kB / 0.5147 GB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2924/1.276, allocations: 5.148 MB / 0.5197 GB, free: 67.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/1.276, allocations: 4.547 kB / 0.5197 GB, free: 67.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/1.277, allocations: 173.4 kB / 0.5199 GB, free: 67.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/1.277, allocations: 166.3 kB / 0.5201 GB, free: 67.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/1.292, allocations: 4.146 MB / 0.5241 GB, free: 66.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06232/1.354, allocations: 17.71 MB / 0.5414 GB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.368, allocations: 8.125 MB / 0.5493 GB, free: 57.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006191/1.374, allocations: 1.796 MB / 0.5511 GB, free: 57.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/1.391, allocations: 5.382 MB / 0.5563 GB, free: 56.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002432/1.394, allocations: 1.179 MB / 0.5575 GB, free: 56.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=173): time 5.38e-06/1.394, allocations: 0 / 0.5575 GB, free: 56.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02127/1.415, allocations: 6.845 MB / 0.5642 GB, free: 55.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.415, allocations: 344.6 kB / 0.5645 GB, free: 54.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/1.42, allocations: 2.119 MB / 0.5666 GB, free: 54.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004644/1.421, allocations: 66.06 kB / 0.5666 GB, free: 54.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/1.422, allocations: 1.786 MB / 0.5684 GB, free: 53.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009038/1.423, allocations: 0.683 MB / 0.5691 GB, free: 53.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.424, allocations: 50.62 kB / 0.5691 GB, free: 53.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.424, allocations: 412 kB / 0.5695 GB, free: 53.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.426, allocations: 1.024 MB / 0.5705 GB, free: 52.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/1.429, allocations: 1.778 MB / 0.5722 GB, free: 51.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.432, allocations: 1.307 MB / 0.5735 GB, free: 50.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/1.432, allocations: 3.938 kB / 0.5735 GB, free: 50.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008826/1.441, allocations: 3.676 MB / 0.5771 GB, free: 49.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001581/1.443, allocations: 7.758 MB / 0.5847 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/1.443, allocations: 25.56 kB / 0.5847 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/1.447, allocations: 1.011 MB / 0.5857 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/1.45, allocations: 468.7 kB / 0.5861 GB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.47, allocations: 14.14 MB / 0.5999 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.474, allocations: 163.6 kB / 0.6001 GB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/1.475, allocations: 105.2 kB / 0.6002 GB, free: 30.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.475, allocations: 3.906 kB / 0.6002 GB, free: 30.03 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008557/1.483, allocations: 3.578 MB / 0.6037 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.659e-05/1.483, allocations: 18.72 kB / 0.6037 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/1.487, allocations: 0.9868 MB / 0.6047 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/1.49, allocations: 471.6 kB / 0.6051 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.509, allocations: 14.15 MB / 0.6189 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.512, allocations: 157.9 kB / 0.6191 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/1.512, allocations: 106.6 kB / 0.6192 GB, free: 17.41 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.000703/1.513, allocations: 275.8 kB / 0.6195 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008422/1.514, allocations: 282.4 kB / 0.6197 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/1.523, allocations: 3.188 MB / 0.6228 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.523, allocations: 19.06 kB / 0.6229 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.523, allocations: 7.578 kB / 0.6229 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.394e-05/1.523, allocations: 11.2 kB / 0.6229 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.54, allocations: 6.953 MB / 0.6297 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.54, allocations: 0 / 0.6297 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.542, allocations: 276.2 kB / 0.6299 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004032/1.547, allocations: 1.03 MB / 0.6309 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/1.547, allocations: 54.34 kB / 0.631 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/1.567, allocations: 11.51 MB / 0.6422 GB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.567, allocations: 7.828 kB / 0.6422 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.577, allocations: 4.596 MB / 0.6467 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.58, allocations: 0.5921 MB / 0.6473 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008857/1.58, allocations: 66.55 kB / 0.6474 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.583, allocations: 122.6 kB / 0.6475 GB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007833/1.584, allocations: 242.3 kB / 0.6477 GB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.584, allocations: 57.42 kB / 0.6478 GB, free: 17.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003637/1.588, allocations: 1.607 MB / 0.6493 GB, free: 17.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.914e-06/1.588, allocations: 0 / 0.6493 GB, free: 17.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007479/1.596, allocations: 1.506 MB / 0.6508 GB, free: 15.68 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.0129/1.609, allocations: 5.955 MB / 0.6566 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01636/1.625, allocations: 6.293 MB / 0.6628 GB, free: 4.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.625, allocations: 0 / 0.6628 GB, free: 4.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005443/1.63, allocations: 2.031 MB / 0.6648 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004865/1.635, allocations: 0.6161 MB / 0.6654 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.661, allocations: 7.326 MB / 0.6725 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005066/1.666, allocations: 2.851 MB / 0.6753 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004033/1.67, allocations: 1.587 MB / 0.6769 GB, free: 7.715 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/1.67, allocations: 0 / 0.6769 GB, free: 7.715 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.115/6.785, allocations: 180.7 MB / 0.8533 GB, free: 94.76 MB / 458.7 MB