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.789/1.789, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.245e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.4582, allocations: 105 MB / 368.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.4586, allocations: 83.95 kB / 369 MB, free: 428 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4684/0.927, allocations: 61.61 MB / 430.6 MB, free: 44.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.9271, allocations: 0 / 430.6 MB, free: 44.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003296/0.9274, allocations: 79.94 kB / 430.7 MB, free: 44.82 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.01153/0.939, allocations: 3.006 MB / 433.7 MB, free: 41.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.939, allocations: 8.031 kB / 433.7 MB, free: 41.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001658/0.9407, allocations: 442.2 kB / 434.1 MB, free: 41.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.9433, allocations: 479.5 kB / 434.6 MB, free: 40.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006277/0.9496, allocations: 1.979 MB / 436.6 MB, free: 38.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.95, allocations: 387.8 kB / 437 MB, free: 38.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.951, allocations: 283.9 kB / 437.2 MB, free: 38.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009428/0.9605, allocations: 3.555 MB / 440.8 MB, free: 34.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.9607, allocations: 7.906 kB / 440.8 MB, free: 34.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004589/0.9612, allocations: 124 kB / 440.9 MB, free: 34.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.9613, allocations: 109.5 kB / 441 MB, free: 34.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008359/0.9697, allocations: 2.791 MB / 443.8 MB, free: 31.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02895/0.9987, allocations: 11.78 MB / 455.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/1.003, allocations: 2.76 MB / 458.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/1.005, allocations: 1.101 MB / 459.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/1.006, allocations: 139.8 kB / 459.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/1.008, allocations: 1.118 MB / 460.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 4.278e-06/1.008, allocations: 0 / 460.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.02926/1.037, allocations: 7.957 MB / 468.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.038, allocations: 342.4 kB / 469 MB, free: 5.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/1.041, allocations: 1.752 MB / 470.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004411/1.042, allocations: 57.7 kB / 470.8 MB, free: 3.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.043, allocations: 1.352 MB / 472.2 MB, free: 2.223 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000765/1.044, allocations: 0.5931 MB / 472.8 MB, free: 1.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/1.044, allocations: 40 kB / 472.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/1.044, allocations: 398 kB / 473.2 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/1.046, allocations: 0.9919 MB / 474.2 MB, free: 196 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/1.05, allocations: 1.521 MB / 475.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/1.053, allocations: 1.208 MB / 476.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/1.053, allocations: 96 / 476.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01101/1.064, allocations: 3.593 MB / 480.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/1.064, allocations: 8 kB / 480.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.064, allocations: 12 kB / 480.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/1.069, allocations: 1.182 MB / 481.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/1.072, allocations: 387.3 kB / 482.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/1.098, allocations: 14.53 MB / 496.6 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/1.102, allocations: 175.8 kB / 496.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/1.103, allocations: 83.98 kB / 496.9 MB, free: 8.418 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.0006415/1.103, allocations: 247.7 kB / 497.1 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008394/1.104, allocations: 229.2 kB / 497.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.115, allocations: 3.384 MB / 0.489 GB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/1.116, allocations: 19.98 kB / 0.489 GB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.116, allocations: 0 / 0.489 GB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-05/1.116, allocations: 7.969 kB / 0.489 GB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2683/1.384, allocations: 6.644 MB / 0.4955 GB, free: 76.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/1.384, allocations: 3 kB / 0.4955 GB, free: 76.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.386, allocations: 202.3 kB / 0.4957 GB, free: 76.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/1.392, allocations: 1.385 MB / 0.497 GB, free: 76.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004039/1.392, allocations: 47.62 kB / 0.4971 GB, free: 76.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02555/1.418, allocations: 14.57 MB / 0.5113 GB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.418, allocations: 1.781 kB / 0.5113 GB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.43, allocations: 4.875 MB / 0.5161 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.431, allocations: 0.5215 MB / 0.5166 GB, free: 69.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005595/1.432, allocations: 53.89 kB / 0.5166 GB, free: 69.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.435, allocations: 140.2 kB / 0.5168 GB, free: 69.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/1.435, allocations: 233.9 kB / 0.517 GB, free: 69.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/1.436, allocations: 54.92 kB / 0.5171 GB, free: 69.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002971/1.439, allocations: 1.342 MB / 0.5184 GB, free: 69.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.439, allocations: 0 / 0.5184 GB, free: 69.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004399/1.443, allocations: 0.7584 MB / 0.5191 GB, free: 69.72 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.01355/1.457, allocations: 6.307 MB / 0.5253 GB, free: 67.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009015/1.466, allocations: 3.484 MB / 0.5287 GB, free: 66.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.466, allocations: 0 / 0.5287 GB, free: 66.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00642/1.472, allocations: 2.351 MB / 0.531 GB, free: 64.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/1.476, allocations: 0.5049 MB / 0.5315 GB, free: 64.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.495, allocations: 5.819 MB / 0.5371 GB, free: 62.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/1.498, allocations: 2.281 MB / 0.5394 GB, free: 61.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00246/1.501, allocations: 428.5 kB / 0.5398 GB, free: 61.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002415/1.503, allocations: 1.127 MB / 0.5409 GB, free: 60.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/1.503, allocations: 0 / 0.5409 GB, free: 60.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1692/1.672, allocations: 64.35 MB / 0.6037 GB, free: 7.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/1.673, allocations: 213 kB / 0.6039 GB, free: 7.617 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/6.713, allocations: 0 / 0.6039 GB, free: 7.617 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