Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.185e-05/4.197e-05, allocations: 0 / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2695, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.4366, allocations: 95.76 MB / 359.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.437, allocations: 87.94 kB / 359.7 MB, free: 9.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4142/0.8512, allocations: 45.49 MB / 405.2 MB, free: 68.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.8513, allocations: 0 / 405.2 MB, free: 68.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002552/0.8516, allocations: 59.88 kB / 405.2 MB, free: 68.84 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.007991/0.8596, allocations: 2.235 MB / 407.5 MB, free: 66.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.8596, allocations: 8.031 kB / 407.5 MB, free: 66.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009448/0.8606, allocations: 308 kB / 407.8 MB, free: 66.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.8619, allocations: 296.8 kB / 408.1 MB, free: 65.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.8662, allocations: 1.494 MB / 409.6 MB, free: 64.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.8664, allocations: 156.5 kB / 409.7 MB, free: 64.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005601/0.8669, allocations: 215.9 kB / 409.9 MB, free: 64.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/0.8741, allocations: 2.707 MB / 412.6 MB, free: 61.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.8743, allocations: 3.984 kB / 412.7 MB, free: 61.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.8746, allocations: 92 kB / 412.7 MB, free: 61.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.8747, allocations: 96.17 kB / 412.8 MB, free: 60.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/0.881, allocations: 2.133 MB / 415 MB, free: 58.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/0.9018, allocations: 8.53 MB / 423.5 MB, free: 50.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.9051, allocations: 1.669 MB / 425.2 MB, free: 48.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.9068, allocations: 0.7733 MB / 425.9 MB, free: 47.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.9072, allocations: 142 kB / 426.1 MB, free: 47.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.9073, allocations: 51.5 kB / 426.1 MB, free: 47.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 3.366e-06/0.9073, allocations: 0 / 426.1 MB, free: 47.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.02057/0.9279, allocations: 5.902 MB / 432 MB, free: 41.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.928, allocations: 68.41 kB / 432.1 MB, free: 41.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.9302, allocations: 1.158 MB / 433.3 MB, free: 40.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.9304, allocations: 53.64 kB / 433.3 MB, free: 40.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.9311, allocations: 1.01 MB / 434.3 MB, free: 38.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.9315, allocations: 441.7 kB / 434.7 MB, free: 38.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.9317, allocations: 24 kB / 434.8 MB, free: 38.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9318, allocations: 369.9 kB / 435.1 MB, free: 38.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.9333, allocations: 0.6873 MB / 435.8 MB, free: 37.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.935, allocations: 1.069 MB / 436.9 MB, free: 36.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.9369, allocations: 0.8676 MB / 437.8 MB, free: 35.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.9369, allocations: 4 kB / 437.8 MB, free: 35.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.006081/0.943, allocations: 2.477 MB / 440.2 MB, free: 32.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.9431, allocations: 12 kB / 440.3 MB, free: 32.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.9431, allocations: 16.25 kB / 440.3 MB, free: 32.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.9455, allocations: 0.5802 MB / 440.8 MB, free: 32.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.9477, allocations: 331.5 kB / 441.2 MB, free: 31.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.9579, allocations: 6.316 MB / 447.5 MB, free: 25.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.9599, allocations: 99.95 kB / 447.6 MB, free: 25.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.9601, allocations: 59.98 kB / 447.6 MB, free: 25.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003525/0.9604, allocations: 198.3 kB / 447.8 MB, free: 24.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.9608, allocations: 162 kB / 448 MB, free: 24.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/0.9664, allocations: 2.26 MB / 450.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.9665, allocations: 16 kB / 450.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.9665, allocations: 8 kB / 450.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.9665, allocations: 7.938 kB / 450.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.9774, allocations: 4.637 MB / 454.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.9774, allocations: 4 kB / 454.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.9791, allocations: 208 kB / 455.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.9819, allocations: 0.6314 MB / 455.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.982, allocations: 35.98 kB / 455.8 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.9942, allocations: 8.053 MB / 463.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9943, allocations: 3.938 kB / 463.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007242/1.002, allocations: 3.376 MB / 467.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/1.003, allocations: 387 kB / 467.6 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/1.003, allocations: 35.98 kB / 467.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.004, allocations: 87.91 kB / 467.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.005, allocations: 96.8 kB / 467.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.005, allocations: 43.94 kB / 467.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001677/1.007, allocations: 0.8968 MB / 468.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.007, allocations: 4 kB / 468.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001949/1.009, allocations: 0.5039 MB / 469.3 MB, free: 2.879 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008486/1.017, allocations: 4.723 MB / 474 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005867/1.023, allocations: 2.243 MB / 476.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.023, allocations: 0 / 476.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.027, allocations: 1.462 MB / 477.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.03, allocations: 372.1 kB / 478.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.042, allocations: 4.199 MB / 482.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/1.044, allocations: 1.846 MB / 484.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001968/1.046, allocations: 353.5 kB / 484.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.048, allocations: 0.7961 MB / 485.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/1.048, allocations: 0 / 485.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/1.394, allocations: 43.11 MB / 0.516 GB, free: 87.07 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.394, allocations: 205.8 kB / 0.5162 GB, free: 86.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.956/5.35, allocations: 0 / 0.5162 GB, free: 86.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat