Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.046/2.046, allocations: 214.7 MB / 226.8 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.253e-05, allocations: 7.984 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 49.71 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.626, allocations: 121.5 MB / 450.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.6263, allocations: 76.34 kB / 450.9 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7537/1.38, allocations: 104.2 MB / 0.5421 GB, free: 95.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.38, allocations: 0 / 0.5421 GB, free: 95.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006007/1.381, allocations: 106.7 kB / 0.5422 GB, free: 95.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.02503/1.406, allocations: 4.193 MB / 0.5462 GB, free: 94.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/1.406, allocations: 8.531 kB / 0.5463 GB, free: 94.22 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003589/1.409, allocations: 0.6222 MB / 0.5469 GB, free: 94.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.422, allocations: 0.9551 MB / 0.5478 GB, free: 93.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.444, allocations: 3.968 MB / 0.5517 GB, free: 93.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007039/1.444, allocations: 481.5 kB / 0.5521 GB, free: 93.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/1.447, allocations: 417.3 kB / 0.5525 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0246/1.471, allocations: 5.153 MB / 0.5576 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/1.472, allocations: 2.844 kB / 0.5576 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/1.474, allocations: 173.4 kB / 0.5577 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003376/1.474, allocations: 175.8 kB / 0.5579 GB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/1.495, allocations: 4.114 MB / 0.5619 GB, free: 92.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07017/1.565, allocations: 17.96 MB / 0.5795 GB, free: 84.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/1.581, allocations: 8.102 MB / 0.5874 GB, free: 77.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007246/1.588, allocations: 1.819 MB / 0.5891 GB, free: 76.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0233/1.612, allocations: 5.417 MB / 0.5944 GB, free: 73.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003929/1.616, allocations: 1.182 MB / 0.5956 GB, free: 73.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 7.785e-06/1.616, allocations: 0 / 0.5956 GB, free: 73.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.03306/1.649, allocations: 6.922 MB / 0.6023 GB, free: 70 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/1.649, allocations: 337.1 kB / 0.6027 GB, free: 69.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008061/1.657, allocations: 2.164 MB / 0.6048 GB, free: 68.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006347/1.658, allocations: 64.27 kB / 0.6048 GB, free: 68.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003151/1.661, allocations: 1.928 MB / 0.6067 GB, free: 67.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.663, allocations: 0.696 MB / 0.6074 GB, free: 66.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/1.663, allocations: 53.03 kB / 0.6075 GB, free: 66.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/1.663, allocations: 404.4 kB / 0.6078 GB, free: 66.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.667, allocations: 1.033 MB / 0.6089 GB, free: 65.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/1.672, allocations: 1.782 MB / 0.6106 GB, free: 64.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/1.674, allocations: 1.314 MB / 0.6119 GB, free: 64.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/1.675, allocations: 7.719 kB / 0.6119 GB, free: 64.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.009305/1.684, allocations: 3.824 MB / 0.6156 GB, free: 62.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001717/1.686, allocations: 8.477 MB / 0.6239 GB, free: 52.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/1.686, allocations: 23.7 kB / 0.6239 GB, free: 52.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/1.69, allocations: 1.018 MB / 0.6249 GB, free: 51.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/1.694, allocations: 480.4 kB / 0.6254 GB, free: 51.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02475/1.718, allocations: 14.14 MB / 0.6392 GB, free: 37.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.724, allocations: 170 kB / 0.6393 GB, free: 37.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/1.725, allocations: 103.8 kB / 0.6394 GB, free: 37.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.725, allocations: 4 kB / 0.6394 GB, free: 37.42 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/1.737, allocations: 3.548 MB / 0.6429 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.274e-05/1.737, allocations: 20 kB / 0.6429 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005094/1.742, allocations: 1.004 MB / 0.6439 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/1.747, allocations: 478.4 kB / 0.6444 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/1.771, allocations: 14.12 MB / 0.6582 GB, free: 19.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/1.776, allocations: 153.7 kB / 0.6583 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007252/1.777, allocations: 111.9 kB / 0.6584 GB, free: 18.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$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,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * 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.001066/1.778, allocations: 275.2 kB / 0.6587 GB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.78, allocations: 280.6 kB / 0.6589 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.793, allocations: 3.237 MB / 0.6621 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.793, allocations: 23.95 kB / 0.6621 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.793, allocations: 0 / 0.6621 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-05/1.793, allocations: 10.36 kB / 0.6621 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.817, allocations: 7.011 MB / 0.669 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.817, allocations: 0 / 0.669 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01195/1.829, allocations: 284.7 kB / 0.6692 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/1.84, allocations: 1.038 MB / 0.6703 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005628/1.841, allocations: 54.64 kB / 0.6703 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3623/2.203, allocations: 11.67 MB / 0.6817 GB, free: 82.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/2.203, allocations: 2.594 kB / 0.6817 GB, free: 82.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/2.215, allocations: 4.642 MB / 0.6862 GB, free: 82.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/2.218, allocations: 0.595 MB / 0.6868 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009195/2.219, allocations: 59.59 kB / 0.6869 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/2.222, allocations: 132.6 kB / 0.687 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009234/2.223, allocations: 231 kB / 0.6872 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/2.223, allocations: 59.16 kB / 0.6873 GB, free: 82.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004681/2.228, allocations: 1.635 MB / 0.6889 GB, free: 81.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.228, allocations: 0 / 0.6889 GB, free: 81.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00914/2.237, allocations: 1.508 MB / 0.6904 GB, free: 81.98 MB / 442.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.pulseStart,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 (148): * Single equations (assignments): 140 * 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 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/2.251, allocations: 5.984 MB / 0.6962 GB, free: 80.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01447/2.265, allocations: 6.256 MB / 0.7023 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/2.265, allocations: 3.188 kB / 0.7023 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005451/2.271, allocations: 2.113 MB / 0.7044 GB, free: 78.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/2.276, allocations: 0.6352 MB / 0.705 GB, free: 78.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/2.301, allocations: 7.522 MB / 0.7123 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/2.305, allocations: 2.918 MB / 0.7152 GB, free: 76.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006663/2.312, allocations: 1.04 MB / 0.7162 GB, free: 76.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003175/2.315, allocations: 1.556 MB / 0.7177 GB, free: 76.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.854e-06/2.315, allocations: 0 / 0.7177 GB, free: 76.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2251/2.54, allocations: 84.34 MB / 0.8001 GB, free: 28.42 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/2.54, allocations: 183.6 kB / 0.8003 GB, free: 28.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.104/8.645, allocations: 0 / 0.8003 GB, free: 28.2 MB / 442.7 MB