Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.095e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2524, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.434, allocations: 105 MB / 368.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.4344, allocations: 87.94 kB / 369 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4575/0.8919, allocations: 61.6 MB / 430.6 MB, free: 45.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.892, allocations: 0 / 430.6 MB, free: 45.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.8922, allocations: 75.94 kB / 430.7 MB, free: 45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.009439/0.9017, allocations: 2.99 MB / 433.6 MB, free: 41.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9018, allocations: 12.03 kB / 433.7 MB, free: 41.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001356/0.9031, allocations: 458.1 kB / 434.1 MB, free: 41.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.9054, allocations: 483.5 kB / 434.6 MB, free: 41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005814/0.9113, allocations: 1.975 MB / 436.5 MB, free: 38.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.9116, allocations: 375.8 kB / 436.9 MB, free: 38.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.9124, allocations: 291.9 kB / 437.2 MB, free: 38.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009118/0.9215, allocations: 3.585 MB / 440.8 MB, free: 34.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.9217, allocations: 11.91 kB / 440.8 MB, free: 34.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.9221, allocations: 120 kB / 440.9 MB, free: 34.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.9223, allocations: 113.5 kB / 441 MB, free: 34.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007602/0.9299, allocations: 2.825 MB / 443.8 MB, free: 31.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.9589, allocations: 11.78 MB / 455.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.9634, allocations: 2.778 MB / 458.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.9659, allocations: 1.101 MB / 459.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.9663, allocations: 142.4 kB / 459.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/0.9686, allocations: 1.124 MB / 460.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 4.017e-06/0.9686, allocations: 0 / 460.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.03105/0.9997, allocations: 7.965 MB / 468.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.9998, allocations: 338.4 kB / 469.1 MB, free: 5.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/1.004, allocations: 1.749 MB / 470.8 MB, free: 3.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004437/1.004, allocations: 61.69 kB / 470.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/1.005, allocations: 1.352 MB / 472.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/1.006, allocations: 0.5931 MB / 472.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/1.006, allocations: 40 kB / 472.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/1.006, allocations: 394 kB / 473.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/1.009, allocations: 0.9958 MB / 474.2 MB, free: 264 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/1.012, allocations: 1.533 MB / 475.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/1.015, allocations: 1.208 MB / 477 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/1.015, allocations: 4 kB / 477 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01178/1.027, allocations: 3.616 MB / 480.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/1.027, allocations: 8 kB / 480.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.027, allocations: 20 kB / 480.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/1.033, allocations: 1.182 MB / 481.8 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/1.036, allocations: 383.4 kB / 482.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03511/1.071, allocations: 14.55 MB / 496.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.074, allocations: 175.8 kB / 496.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/1.075, allocations: 83.98 kB / 497 MB, free: 8.426 MB / 346.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].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * 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.0006136/1.075, allocations: 245 kB / 497.2 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.076, allocations: 233.2 kB / 497.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.09, allocations: 3.38 MB / 0.4891 GB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/1.09, allocations: 16 kB / 0.4891 GB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.09, allocations: 4 kB / 0.4891 GB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.32e-05/1.09, allocations: 12.05 kB / 0.4891 GB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2681/1.358, allocations: 6.648 MB / 0.4956 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.358, allocations: 6.062 kB / 0.4956 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.36, allocations: 208 kB / 0.4958 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/1.366, allocations: 1.386 MB / 0.4972 GB, free: 77.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/1.366, allocations: 45.47 kB / 0.4972 GB, free: 77.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/1.391, allocations: 14.56 MB / 0.5114 GB, free: 70.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.391, allocations: 3.469 kB / 0.5114 GB, free: 70.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.403, allocations: 4.88 MB / 0.5162 GB, free: 70.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.405, allocations: 0.5242 MB / 0.5167 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/1.406, allocations: 50.12 kB / 0.5168 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/1.409, allocations: 142.2 kB / 0.5169 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.411, allocations: 237.1 kB / 0.5171 GB, free: 69.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.411, allocations: 52.97 kB / 0.5172 GB, free: 69.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005246/1.416, allocations: 1.338 MB / 0.5185 GB, free: 69.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.073e-06/1.417, allocations: 3.438 kB / 0.5185 GB, free: 69.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006094/1.423, allocations: 0.7582 MB / 0.5192 GB, free: 69.81 MB / 346.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].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * 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.04395/1.467, allocations: 6.301 MB / 0.5254 GB, free: 67.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02089/1.488, allocations: 3.567 MB / 0.5289 GB, free: 66.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.488, allocations: 0 / 0.5289 GB, free: 66.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0093/1.497, allocations: 2.41 MB / 0.5312 GB, free: 64.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/1.502, allocations: 0.5023 MB / 0.5317 GB, free: 64.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.523, allocations: 5.829 MB / 0.5374 GB, free: 62.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/1.526, allocations: 2.279 MB / 0.5396 GB, free: 61.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002528/1.528, allocations: 432.2 kB / 0.54 GB, free: 61.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/1.531, allocations: 1.133 MB / 0.5411 GB, free: 60.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.924e-06/1.531, allocations: 0 / 0.5411 GB, free: 60.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.678, allocations: 64.68 MB / 0.6043 GB, free: 7.406 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.679, allocations: 214.3 kB / 0.6045 GB, free: 7.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.038/6.717, allocations: 0 / 0.6045 GB, free: 7.184 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat