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.308/2.308, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.501e-05, allocations: 0 / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3675, allocations: 44.49 MB / 294.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.5924, allocations: 109.8 MB / 404.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.5929, allocations: 91.94 kB / 404.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6051/1.198, allocations: 61.26 MB / 465.5 MB, free: 84.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.198, allocations: 0 / 465.5 MB, free: 84.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003995/1.198, allocations: 79.88 kB / 465.5 MB, free: 84.82 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.01263/1.211, allocations: 2.982 MB / 468.5 MB, free: 81.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.211, allocations: 12.03 kB / 468.5 MB, free: 81.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/1.215, allocations: 471.6 kB / 469 MB, free: 81.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007907/1.223, allocations: 2.051 MB / 471 MB, free: 79.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/1.223, allocations: 287.8 kB / 471.3 MB, free: 78.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.224, allocations: 171.9 kB / 471.5 MB, free: 78.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009688/1.234, allocations: 2.655 MB / 474.1 MB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/1.246, allocations: 3.155 MB / 477.3 MB, free: 72.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/1.246, allocations: 7.984 kB / 477.3 MB, free: 72.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005017/1.247, allocations: 7.984 kB / 477.3 MB, free: 72.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.247, allocations: 109.5 kB / 477.4 MB, free: 72.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/1.282, allocations: 11.2 MB / 488.6 MB, free: 61.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/1.287, allocations: 2.723 MB / 491.3 MB, free: 58.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/1.29, allocations: 1.058 MB / 492.4 MB, free: 57.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/1.291, allocations: 134.4 kB / 492.5 MB, free: 57.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00277/1.293, allocations: 1.079 MB / 493.6 MB, free: 56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 6.853e-06/1.293, allocations: 0 / 493.6 MB, free: 56 MB / 362.7 MB Notification: Performance of matching and sorting (n=179): time 0.0242/1.318, allocations: 6.382 MB / 500 MB, free: 49.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.318, allocations: 308.7 kB / 0.4886 GB, free: 49.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/1.322, allocations: 1.533 MB / 0.4901 GB, free: 47.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000503/1.322, allocations: 41.69 kB / 0.4901 GB, free: 47.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.324, allocations: 1.363 MB / 0.4914 GB, free: 46.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.325, allocations: 0.5774 MB / 0.492 GB, free: 45.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/1.325, allocations: 0 / 0.492 GB, free: 45.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/1.326, allocations: 382 kB / 0.4924 GB, free: 45.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/1.328, allocations: 0.9606 MB / 0.4933 GB, free: 44.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.331, allocations: 1.466 MB / 0.4947 GB, free: 42.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.335, allocations: 1.161 MB / 0.4959 GB, free: 41.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/1.335, allocations: 8 kB / 0.4959 GB, free: 41.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01072/1.345, allocations: 3.328 MB / 0.4991 GB, free: 38.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001206/1.347, allocations: 5.161 MB / 0.5042 GB, free: 32.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-05/1.347, allocations: 15.94 kB / 0.5042 GB, free: 32.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005797/1.353, allocations: 1.179 MB / 0.5053 GB, free: 31.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/1.356, allocations: 375.3 kB / 0.5057 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/1.38, allocations: 13.98 MB / 0.5194 GB, free: 16.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/1.384, allocations: 147.8 kB / 0.5195 GB, free: 16.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006129/1.385, allocations: 76 kB / 0.5196 GB, free: 16.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.385, allocations: 4 kB / 0.5196 GB, free: 16.05 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009542/1.395, allocations: 3.078 MB / 0.5226 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.009e-05/1.395, allocations: 19.94 kB / 0.5226 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00536/1.4, allocations: 1.151 MB / 0.5237 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/1.403, allocations: 375.3 kB / 0.5241 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/1.429, allocations: 13.99 MB / 0.5377 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/1.433, allocations: 123.9 kB / 0.5379 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/1.433, allocations: 83.98 kB / 0.5379 GB, free: 12.51 MB / 378.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.0008753/1.434, allocations: 181.1 kB / 0.5381 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01274/1.447, allocations: 3.073 MB / 0.5411 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.448, allocations: 217.5 kB / 0.5413 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.462, allocations: 3.211 MB / 0.5445 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.462, allocations: 16 kB / 0.5445 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.462, allocations: 4 kB / 0.5445 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/1.462, allocations: 7.969 kB / 0.5445 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/1.485, allocations: 6.102 MB / 0.5504 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.485, allocations: 4 kB / 0.5504 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.487, allocations: 207.7 kB / 0.5506 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007824/1.495, allocations: 1.378 MB / 0.552 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/1.496, allocations: 19.97 kB / 0.552 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3772/1.873, allocations: 14.11 MB / 0.5658 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.109e-05/1.873, allocations: 3.031 kB / 0.5658 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02401/1.897, allocations: 4.692 MB / 0.5704 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003248/1.9, allocations: 0.5078 MB / 0.5709 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.902, allocations: 21.97 kB / 0.5709 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005375/1.907, allocations: 110.2 kB / 0.571 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/1.909, allocations: 228.1 kB / 0.5712 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004675/1.91, allocations: 51.62 kB / 0.5713 GB, free: 100.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005511/1.915, allocations: 1.157 MB / 0.5724 GB, free: 100.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.783e-06/1.915, allocations: 0 / 0.5724 GB, free: 100.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01235/1.928, allocations: 1.101 MB / 0.5735 GB, free: 100.5 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.022/1.95, allocations: 6.118 MB / 0.5794 GB, free: 98.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01789/1.968, allocations: 5.921 MB / 0.5852 GB, free: 97.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.968, allocations: 3.875 kB / 0.5852 GB, free: 97.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007441/1.975, allocations: 2.32 MB / 0.5875 GB, free: 96.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/1.98, allocations: 413.6 kB / 0.5879 GB, free: 96.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.002, allocations: 5.713 MB / 0.5935 GB, free: 95.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/2.005, allocations: 2.309 MB / 0.5957 GB, free: 94.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005944/2.011, allocations: 0.8403 MB / 0.5965 GB, free: 94.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/2.014, allocations: 1.101 MB / 0.5976 GB, free: 94.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/2.014, allocations: 3.969 kB / 0.5976 GB, free: 94.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1888/2.203, allocations: 63.57 MB / 0.6597 GB, free: 45.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002207/2.203, allocations: 178.8 kB / 0.6599 GB, free: 44.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.201/8.404, allocations: 0 / 0.6599 GB, free: 44.84 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat