Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.322e-05, allocations: 4 kB / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.4634, allocations: 104.4 MB / 362.7 MB, free: 5.395 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4638, allocations: 87.95 kB / 362.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4878/0.9516, allocations: 60.83 MB / 423.6 MB, free: 53.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.9517, allocations: 0 / 423.6 MB, free: 53.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002477/0.952, allocations: 71.94 kB / 423.7 MB, free: 53.52 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.008875/0.9608, allocations: 2.99 MB / 426.7 MB, free: 50.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9609, allocations: 8.031 kB / 426.7 MB, free: 50.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.9633, allocations: 483.6 kB / 427.1 MB, free: 49.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005356/0.9687, allocations: 1.978 MB / 429.1 MB, free: 47.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.969, allocations: 299.8 kB / 429.4 MB, free: 47.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005744/0.9696, allocations: 167.9 kB / 429.6 MB, free: 47.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006402/0.976, allocations: 2.659 MB / 432.2 MB, free: 44.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006907/0.9829, allocations: 3.176 MB / 435.4 MB, free: 41.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.705e-05/0.983, allocations: 4 kB / 435.4 MB, free: 41.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.9834, allocations: 4 kB / 435.4 MB, free: 41.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.9836, allocations: 117.5 kB / 435.5 MB, free: 41.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/1.008, allocations: 11.24 MB / 446.8 MB, free: 29.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/1.012, allocations: 2.704 MB / 449.5 MB, free: 26.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.013, allocations: 1.05 MB / 450.5 MB, free: 25.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/1.014, allocations: 151.8 kB / 450.7 MB, free: 25.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/1.016, allocations: 1.071 MB / 451.8 MB, free: 24.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 4.078e-06/1.016, allocations: 0 / 451.8 MB, free: 24.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.01767/1.034, allocations: 6.363 MB / 458.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.034, allocations: 346.4 kB / 458.5 MB, free: 17.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.036, allocations: 1.47 MB / 459.9 MB, free: 16.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.037, allocations: 33.69 kB / 460 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.038, allocations: 1.295 MB / 461.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005708/1.038, allocations: 0.5736 MB / 461.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.039, allocations: 3.938 kB / 461.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/1.039, allocations: 398.8 kB / 462.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.041, allocations: 0.9606 MB / 463.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/1.043, allocations: 1.47 MB / 464.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.045, allocations: 1.157 MB / 465.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.045, allocations: 11.89 kB / 465.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007706/1.053, allocations: 3.263 MB / 469.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/1.053, allocations: 8 kB / 469.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.053, allocations: 16 kB / 469.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/1.057, allocations: 1.164 MB / 470.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.06, allocations: 371.4 kB / 470.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/1.081, allocations: 14 MB / 484.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/1.085, allocations: 131.8 kB / 484.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.085, allocations: 79.98 kB / 484.8 MB, free: 6.398 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.0006176/1.085, allocations: 189 kB / 485 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009237/1.095, allocations: 3.069 MB / 488.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/1.095, allocations: 217.5 kB / 488.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2418/1.337, allocations: 3.199 MB / 491.5 MB, free: 67.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/1.337, allocations: 17.38 kB / 491.5 MB, free: 67.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.337, allocations: 3.969 kB / 491.5 MB, free: 67.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/1.337, allocations: 8.172 kB / 491.5 MB, free: 67.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.354, allocations: 6.112 MB / 497.6 MB, free: 66.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/1.354, allocations: 3.625 kB / 497.6 MB, free: 66.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.356, allocations: 201.3 kB / 497.8 MB, free: 66.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00531/1.361, allocations: 1.374 MB / 499.2 MB, free: 66.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/1.361, allocations: 23.73 kB / 499.2 MB, free: 66.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/1.384, allocations: 14.09 MB / 0.5013 GB, free: 60.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.384, allocations: 2.781 kB / 0.5013 GB, free: 60.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.395, allocations: 4.697 MB / 0.5059 GB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.396, allocations: 0.501 MB / 0.5064 GB, free: 60.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/1.397, allocations: 22.69 kB / 0.5064 GB, free: 60.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.4, allocations: 110.1 kB / 0.5065 GB, free: 60.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/1.401, allocations: 238.9 kB / 0.5067 GB, free: 60.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.401, allocations: 54.06 kB / 0.5068 GB, free: 60.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002338/1.403, allocations: 1.11 MB / 0.5079 GB, free: 59.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.403, allocations: 0 / 0.5079 GB, free: 59.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003936/1.407, allocations: 0.6401 MB / 0.5085 GB, free: 59.95 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.0117/1.419, allocations: 6.12 MB / 0.5145 GB, free: 56.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008048/1.427, allocations: 3.369 MB / 0.5178 GB, free: 55.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.427, allocations: 0 / 0.5178 GB, free: 55.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005844/1.433, allocations: 2.227 MB / 0.5199 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.003775/1.437, allocations: 387.3 kB / 0.5203 GB, free: 53.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.455, allocations: 5.626 MB / 0.5258 GB, free: 51.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/1.458, allocations: 2.249 MB / 0.528 GB, free: 50.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/1.46, allocations: 1.128 MB / 0.5291 GB, free: 50.04 MB / 330.7 MB Notification: Performance of SimCode: time 2.515e-06/1.46, allocations: 0 / 0.5291 GB, free: 50.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.425/5.886, allocations: 129 MB / 0.6551 GB, free: 92.15 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat