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.777/1.777, allocations: 171.3 MB / 178.4 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.403e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2586, allocations: 38.77 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.4399, allocations: 104.4 MB / 362.7 MB, free: 5.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4403, allocations: 83.95 kB / 362.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4666/0.9069, allocations: 60.84 MB / 423.6 MB, free: 53.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.907, allocations: 0 / 423.6 MB, free: 53.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003553/0.9074, allocations: 71.94 kB / 423.7 MB, free: 53.46 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.01112/0.9185, allocations: 2.994 MB / 426.7 MB, free: 50.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.9186, allocations: 12.02 kB / 426.7 MB, free: 50.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.9215, allocations: 479.6 kB / 427.2 MB, free: 49.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006013/0.9276, allocations: 1.978 MB / 429.2 MB, free: 47.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.9279, allocations: 291.8 kB / 429.4 MB, free: 47.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009974/0.929, allocations: 171.9 kB / 429.6 MB, free: 47.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008077/0.9371, allocations: 2.659 MB / 432.3 MB, free: 44.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008196/0.9453, allocations: 3.172 MB / 435.4 MB, free: 41.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.9455, allocations: 4 kB / 435.4 MB, free: 41.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.9458, allocations: 12 kB / 435.5 MB, free: 41.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.946, allocations: 109.5 kB / 435.6 MB, free: 41.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.9719, allocations: 11.24 MB / 446.8 MB, free: 29.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/0.976, allocations: 2.71 MB / 449.5 MB, free: 26.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.9781, allocations: 1.05 MB / 450.6 MB, free: 25.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/0.9785, allocations: 150.3 kB / 450.7 MB, free: 25.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.9808, allocations: 1.071 MB / 451.8 MB, free: 24.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 5.29e-06/0.9808, allocations: 0 / 451.8 MB, free: 24.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.01943/1, allocations: 6.366 MB / 458.1 MB, free: 18.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1, allocations: 338.4 kB / 458.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/1.004, allocations: 1.474 MB / 459.9 MB, free: 16.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004529/1.004, allocations: 33.69 kB / 460 MB, free: 16.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.005, allocations: 1.362 MB / 461.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/1.006, allocations: 0.5813 MB / 461.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.006, allocations: 4 kB / 461.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/1.007, allocations: 386 kB / 462.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.009, allocations: 0.9568 MB / 463.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/1.011, allocations: 1.474 MB / 464.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/1.014, allocations: 1.165 MB / 465.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/1.014, allocations: 7.953 kB / 465.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009357/1.023, allocations: 3.383 MB / 469.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/1.023, allocations: 11.98 kB / 469.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.023, allocations: 19.98 kB / 469.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/1.028, allocations: 1.164 MB / 470.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.031, allocations: 371.4 kB / 470.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02462/1.056, allocations: 13.99 MB / 484.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/1.06, allocations: 135.8 kB / 485 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/1.061, allocations: 83.98 kB / 485.1 MB, free: 6.148 MB / 330.7 MB 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] 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] 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 {(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.0009806/1.062, allocations: 176.8 kB / 485.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02719/1.089, allocations: 3.081 MB / 488.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.091, allocations: 213.4 kB / 488.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3079/1.399, allocations: 3.198 MB / 491.7 MB, free: 67.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/1.399, allocations: 17.03 kB / 491.7 MB, free: 67.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.399, allocations: 1.688 kB / 491.7 MB, free: 67.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.399, allocations: 7.688 kB / 491.7 MB, free: 67.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.427, allocations: 6.114 MB / 497.9 MB, free: 66.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/1.427, allocations: 3.719 kB / 497.9 MB, free: 66.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.43, allocations: 203.2 kB / 498.1 MB, free: 66.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00887/1.439, allocations: 1.375 MB / 499.4 MB, free: 66.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005145/1.439, allocations: 21.14 kB / 499.4 MB, free: 66.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03362/1.473, allocations: 14.09 MB / 0.5015 GB, free: 60.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.473, allocations: 2.734 kB / 0.5015 GB, free: 60.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.485, allocations: 4.698 MB / 0.5061 GB, free: 60.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/1.487, allocations: 0.5026 MB / 0.5066 GB, free: 60.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.488, allocations: 25.61 kB / 0.5066 GB, free: 60.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/1.491, allocations: 109.4 kB / 0.5067 GB, free: 60.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/1.492, allocations: 238.3 kB / 0.5069 GB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.493, allocations: 47.56 kB / 0.507 GB, free: 60.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002717/1.495, allocations: 1.114 MB / 0.5081 GB, free: 60 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.495, allocations: 0 / 0.5081 GB, free: 60 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004338/1.5, allocations: 0.6392 MB / 0.5087 GB, free: 59.99 MB / 330.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.01288/1.513, allocations: 6.118 MB / 0.5147 GB, free: 56.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008326/1.521, allocations: 3.368 MB / 0.518 GB, free: 55.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.521, allocations: 0 / 0.518 GB, free: 55.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006229/1.527, allocations: 2.33 MB / 0.5202 GB, free: 54.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.531, allocations: 402.1 kB / 0.5206 GB, free: 53.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.551, allocations: 5.61 MB / 0.5261 GB, free: 51.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.554, allocations: 2.279 MB / 0.5283 GB, free: 50.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002432/1.557, allocations: 410.4 kB / 0.5287 GB, free: 50.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/1.559, allocations: 1.115 MB / 0.5298 GB, free: 50.01 MB / 330.7 MB Notification: Performance of SimCode: time 3.197e-06/1.559, allocations: 0 / 0.5298 GB, free: 50.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/1.707, allocations: 55.41 MB / 0.5839 GB, free: 3.355 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/1.707, allocations: 177.8 kB / 0.5841 GB, free: 3.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.756/6.464, allocations: 4.031 kB / 0.5841 GB, free: 3.156 MB / 330.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