Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.495/2.495, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.925e-05, allocations: 4.125 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 44.52 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5495/0.6533, allocations: 109.8 MB / 404.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.6537, allocations: 87.08 kB / 404.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3406/0.9944, allocations: 61.56 MB / 465.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.9945, allocations: 4 kB / 465.7 MB, free: 5.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004311/0.9949, allocations: 79.92 kB / 465.8 MB, free: 5.789 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.01399/1.009, allocations: 2.99 MB / 468.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/1.009, allocations: 16.03 kB / 468.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001957/1.011, allocations: 330.1 kB / 469.1 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/1.014, allocations: 479.5 kB / 469.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008736/1.023, allocations: 2.037 MB / 471.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/1.024, allocations: 295.8 kB / 471.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/1.025, allocations: 167.9 kB / 472.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01055/1.036, allocations: 2.651 MB / 474.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/1.049, allocations: 3.156 MB / 477.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/1.049, allocations: 15.83 kB / 477.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004926/1.049, allocations: 4 kB / 477.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/1.049, allocations: 117.5 kB / 478 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/1.091, allocations: 11.2 MB / 489.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/1.097, allocations: 2.72 MB / 492 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003424/1.101, allocations: 1.046 MB / 493 MB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/1.101, allocations: 151.7 kB / 493.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003694/1.105, allocations: 1.071 MB / 494.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 6.101e-06/1.105, allocations: 0 / 494.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.02763/1.133, allocations: 6.394 MB / 0.4889 GB, free: 2.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/1.133, allocations: 308.7 kB / 0.4892 GB, free: 1.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/1.138, allocations: 1.525 MB / 0.4907 GB, free: 144 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005077/1.138, allocations: 33.69 kB / 0.4907 GB, free: 104 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3251/1.463, allocations: 1.37 MB / 0.492 GB, free: 90.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.465, allocations: 0.5738 MB / 0.4926 GB, free: 90.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.465, allocations: 0 / 0.4926 GB, free: 90.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/1.465, allocations: 385.9 kB / 0.493 GB, free: 90.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/1.468, allocations: 0.957 MB / 0.4939 GB, free: 90.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/1.472, allocations: 1.474 MB / 0.4953 GB, free: 89.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/1.476, allocations: 1.154 MB / 0.4965 GB, free: 89.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.713e-05/1.476, allocations: 3.719 kB / 0.4965 GB, free: 89.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01235/1.489, allocations: 3.332 MB / 0.4997 GB, free: 89.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001263/1.49, allocations: 5.156 MB / 0.5048 GB, free: 83.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.687e-05/1.49, allocations: 14.06 kB / 0.5048 GB, free: 83.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006424/1.496, allocations: 1.17 MB / 0.5059 GB, free: 83.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/1.5, allocations: 379.5 kB / 0.5063 GB, free: 83.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/1.526, allocations: 14 MB / 0.52 GB, free: 76.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/1.53, allocations: 135.1 kB / 0.5201 GB, free: 76.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005327/1.53, allocations: 78.69 kB / 0.5202 GB, free: 76.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.53, allocations: 6.188 kB / 0.5202 GB, free: 76.22 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009552/1.54, allocations: 3.082 MB / 0.5232 GB, free: 76.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/1.54, allocations: 14.06 kB / 0.5232 GB, free: 76.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005693/1.546, allocations: 1.166 MB / 0.5243 GB, free: 76.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/1.549, allocations: 370.7 kB / 0.5247 GB, free: 76.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0251/1.574, allocations: 14 MB / 0.5384 GB, free: 67.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/1.579, allocations: 119.7 kB / 0.5385 GB, free: 67.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/1.579, allocations: 81.17 kB / 0.5385 GB, free: 67.97 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (209): * Single equations (assignments): 202 * 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%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008963/1.58, allocations: 191.6 kB / 0.5387 GB, free: 67.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008459/1.581, allocations: 216 kB / 0.5389 GB, free: 67.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.592, allocations: 3.2 MB / 0.5421 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.593, allocations: 16.78 kB / 0.5421 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.593, allocations: 7.359 kB / 0.5421 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/1.593, allocations: 10.78 kB / 0.5421 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/1.614, allocations: 6.106 MB / 0.5481 GB, free: 64.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/1.614, allocations: 0 / 0.5481 GB, free: 64.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/1.616, allocations: 207.4 kB / 0.5483 GB, free: 64.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007127/1.623, allocations: 1.374 MB / 0.5496 GB, free: 63.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004017/1.623, allocations: 24.98 kB / 0.5496 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.652, allocations: 14.11 MB / 0.5634 GB, free: 54.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.652, allocations: 6.844 kB / 0.5634 GB, free: 54.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.666, allocations: 4.689 MB / 0.568 GB, free: 52.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.668, allocations: 0.5102 MB / 0.5685 GB, free: 52.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/1.669, allocations: 25.75 kB / 0.5685 GB, free: 52.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/1.673, allocations: 106.4 kB / 0.5686 GB, free: 52.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/1.674, allocations: 230.9 kB / 0.5688 GB, free: 52.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/1.674, allocations: 55.2 kB / 0.5689 GB, free: 52.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003179/1.677, allocations: 1.154 MB / 0.57 GB, free: 51.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.677, allocations: 0 / 0.57 GB, free: 51.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007868/1.685, allocations: 1.1 MB / 0.5711 GB, free: 51.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * 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 (116): * Single equations (assignments): 107 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01439/1.7, allocations: 6.126 MB / 0.5771 GB, free: 48.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.716, allocations: 5.917 MB / 0.5828 GB, free: 42.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.716, allocations: 0 / 0.5828 GB, free: 42.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00717/1.724, allocations: 2.324 MB / 0.5851 GB, free: 40.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/1.729, allocations: 404 kB / 0.5855 GB, free: 40.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.751, allocations: 5.726 MB / 0.5911 GB, free: 35.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/1.756, allocations: 2.308 MB / 0.5933 GB, free: 33.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005932/1.761, allocations: 0.8367 MB / 0.5942 GB, free: 32.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/1.764, allocations: 1.105 MB / 0.5952 GB, free: 31.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/1.764, allocations: 4 kB / 0.5952 GB, free: 31.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5873/2.352, allocations: 66.19 MB / 0.6599 GB, free: 95.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002903/2.352, allocations: 179.7 kB / 0.6601 GB, free: 95.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.981/9.333, allocations: 0 / 0.6601 GB, free: 95.4 MB / 410.7 MB