Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.155/2.155, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.034e-05, allocations: 7.984 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09197, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5384, allocations: 110.5 MB / 410.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5388, allocations: 82.14 kB / 410.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2767/0.8155, allocations: 62.04 MB / 472.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8156, allocations: 0 / 472.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003997/0.816, allocations: 75.94 kB / 472.6 MB, free: 11.71 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.01186/0.8279, allocations: 2.998 MB / 475.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.8279, allocations: 12.03 kB / 475.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001926/0.8299, allocations: 442.1 kB / 476.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.833, allocations: 483.5 kB / 476.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/0.8406, allocations: 2.037 MB / 478.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/0.8412, allocations: 379.8 kB / 479 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.8424, allocations: 287.9 kB / 479.2 MB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.8558, allocations: 3.562 MB / 482.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.856, allocations: 7.906 kB / 482.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/0.8571, allocations: 123.9 kB / 482.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.8574, allocations: 113.5 kB / 483.1 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.868, allocations: 2.805 MB / 485.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03757/0.9056, allocations: 11.76 MB / 497.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.9125, allocations: 2.792 MB / 0.4887 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.9157, allocations: 1.097 MB / 0.4897 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.9162, allocations: 151.7 kB / 0.4899 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003251/0.9195, allocations: 1.116 MB / 0.491 GB, free: 12.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 8.636e-06/0.9196, allocations: 0 / 0.491 GB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.03389/0.9535, allocations: 7.965 MB / 0.4988 GB, free: 4.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/0.9537, allocations: 312.7 kB / 0.4991 GB, free: 4.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.9589, allocations: 1.804 MB / 0.5008 GB, free: 2.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005113/0.9594, allocations: 65.7 kB / 0.5009 GB, free: 2.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.9616, allocations: 1.352 MB / 0.5022 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.9627, allocations: 0.597 MB / 0.5028 GB, free: 380 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.963, allocations: 40 kB / 0.5028 GB, free: 340 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.9633, allocations: 390 kB / 0.5032 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.9662, allocations: 0.9997 MB / 0.5042 GB, free: 14.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/0.97, allocations: 1.517 MB / 0.5057 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.9736, allocations: 1.212 MB / 0.5068 GB, free: 12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.9736, allocations: 4 kB / 0.5068 GB, free: 12 MB / 410.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01136/0.985, allocations: 3.55 MB / 0.5103 GB, free: 8.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002837/0.9879, allocations: 5.215 MB / 0.5154 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/0.988, allocations: 16 kB / 0.5154 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/0.9936, allocations: 1.195 MB / 0.5166 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/0.9967, allocations: 379.4 kB / 0.5169 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3243/1.321, allocations: 14.55 MB / 0.5312 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.325, allocations: 169.1 kB / 0.5313 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/1.325, allocations: 88.11 kB / 0.5314 GB, free: 90.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.325, allocations: 3.125 kB / 0.5314 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009375/1.335, allocations: 3.326 MB / 0.5347 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-05/1.335, allocations: 13.19 kB / 0.5347 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00625/1.341, allocations: 1.186 MB / 0.5358 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/1.345, allocations: 371.9 kB / 0.5362 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/1.375, allocations: 14.52 MB / 0.5504 GB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.38, allocations: 167.8 kB / 0.5505 GB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/1.38, allocations: 79.5 kB / 0.5506 GB, free: 82.93 MB / 410.7 MB 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 {(4,100.0%) 14,(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.0008734/1.381, allocations: 247.3 kB / 0.5508 GB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/1.382, allocations: 228.2 kB / 0.551 GB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.396, allocations: 3.386 MB / 0.5544 GB, free: 82.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/1.396, allocations: 22.95 kB / 0.5544 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.396, allocations: 6.531 kB / 0.5544 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-05/1.396, allocations: 11.16 kB / 0.5544 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02707/1.423, allocations: 6.642 MB / 0.5609 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/1.423, allocations: 3.625 kB / 0.5609 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.426, allocations: 204.3 kB / 0.5611 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009317/1.435, allocations: 1.389 MB / 0.5624 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000551/1.436, allocations: 44.8 kB / 0.5625 GB, free: 81.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03806/1.474, allocations: 14.58 MB / 0.5767 GB, free: 71.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.474, allocations: 7.422 kB / 0.5767 GB, free: 71.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.492, allocations: 4.877 MB / 0.5815 GB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.495, allocations: 0.529 MB / 0.582 GB, free: 68.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.496, allocations: 52.84 kB / 0.5821 GB, free: 68.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/1.501, allocations: 141.2 kB / 0.5822 GB, free: 68.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/1.502, allocations: 228.6 kB / 0.5824 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003385/1.503, allocations: 51.66 kB / 0.5825 GB, free: 68.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005229/1.508, allocations: 1.39 MB / 0.5838 GB, free: 68.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.508, allocations: 0 / 0.5838 GB, free: 68.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01036/1.518, allocations: 1.253 MB / 0.585 GB, free: 68.09 MB / 410.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.02031/1.539, allocations: 6.309 MB / 0.5912 GB, free: 64.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02023/1.559, allocations: 6.249 MB / 0.5973 GB, free: 61.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.559, allocations: 3.688 kB / 0.5973 GB, free: 61.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006127/1.565, allocations: 2.416 MB / 0.5997 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/1.569, allocations: 0.4986 MB / 0.6001 GB, free: 60.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.588, allocations: 5.925 MB / 0.6059 GB, free: 56.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/1.591, allocations: 2.31 MB / 0.6082 GB, free: 54.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00503/1.596, allocations: 0.8998 MB / 0.6091 GB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.598, allocations: 1.108 MB / 0.6101 GB, free: 52.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.598, allocations: 4 kB / 0.6102 GB, free: 52.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4423/2.04, allocations: 73.54 MB / 0.682 GB, free: 90.48 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/2.041, allocations: 229 kB / 0.6822 GB, free: 90.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.154/8.195, allocations: 0 / 0.6822 GB, free: 90.25 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat