Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.817e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09451, allocations: 44.49 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.5646, allocations: 100.9 MB / 400.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.565, allocations: 83.14 kB / 400.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1856/0.7507, allocations: 45.9 MB / 446.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7507, allocations: 0 / 446.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002729/0.751, allocations: 63.88 kB / 446.9 MB, free: 3.609 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.009059/0.7601, allocations: 2.234 MB / 449.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.7601, allocations: 8.031 kB / 449.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.7613, allocations: 306.7 kB / 449.4 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.7627, allocations: 292.8 kB / 449.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.7682, allocations: 1.575 MB / 451.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.7685, allocations: 161.4 kB / 451.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008679/0.7694, allocations: 217.1 kB / 451.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.7777, allocations: 2.665 MB / 454.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.7779, allocations: 3.906 kB / 454.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.7783, allocations: 95.55 kB / 454.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.7784, allocations: 96.14 kB / 454.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007289/0.7857, allocations: 2.093 MB / 456.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.8112, allocations: 8.581 MB / 465.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.8154, allocations: 1.655 MB / 466.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.8178, allocations: 0.7849 MB / 467.6 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.8184, allocations: 223.1 kB / 467.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.8184, allocations: 47.56 kB / 467.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 3.487e-06/0.8185, allocations: 4 kB / 467.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.02431/0.8428, allocations: 5.924 MB / 473.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.8429, allocations: 68.39 kB / 473.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.8459, allocations: 1.221 MB / 475.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.8463, allocations: 45.7 kB / 475.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.8475, allocations: 1.022 MB / 476.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007744/0.8483, allocations: 437.7 kB / 476.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.8484, allocations: 31.94 kB / 476.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.8487, allocations: 365.9 kB / 477 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.8507, allocations: 0.6912 MB / 477.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.8529, allocations: 1.061 MB / 478.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.8552, allocations: 0.8716 MB / 479.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.8553, allocations: 0 / 479.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.007425/0.8627, allocations: 2.469 MB / 482.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.8628, allocations: 8 kB / 482.1 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.8628, allocations: 12 kB / 482.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.8655, allocations: 0.5726 MB / 482.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.8682, allocations: 335.5 kB / 483 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.8814, allocations: 6.315 MB / 489.3 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.8838, allocations: 104 kB / 489.4 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.8841, allocations: 67.92 kB / 489.5 MB, free: 9.613 MB / 378.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 (156): * Single equations (assignments): 153 * 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.000451/0.8846, allocations: 188.6 kB / 489.7 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.8851, allocations: 158 kB / 489.8 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007082/0.8922, allocations: 2.272 MB / 492.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.8923, allocations: 12 kB / 492.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/0.8924, allocations: 12.11 kB / 492.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.8924, allocations: 7.984 kB / 492.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.907, allocations: 4.676 MB / 496.8 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.9071, allocations: 4 kB / 496.8 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.909, allocations: 203.7 kB / 497 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.9121, allocations: 0.6396 MB / 497.7 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.9123, allocations: 31.98 kB / 497.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/0.9273, allocations: 8.042 MB / 0.4939 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.9273, allocations: 7.938 kB / 0.4939 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/0.9359, allocations: 3.377 MB / 0.4972 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.9373, allocations: 395 kB / 0.4976 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.9376, allocations: 27.98 kB / 0.4976 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.9393, allocations: 95.91 kB / 0.4977 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.9397, allocations: 100.8 kB / 0.4978 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9399, allocations: 36 kB / 0.4978 GB, free: 4.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002244/0.9421, allocations: 0.936 MB / 0.4987 GB, free: 3.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9421, allocations: 0 / 0.4987 GB, free: 3.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00256/0.9447, allocations: 0.5157 MB / 0.4992 GB, free: 3.219 MB / 394.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 (97): * Single equations (assignments): 94 * 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.009738/0.9545, allocations: 4.755 MB / 0.5039 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005927/0.9604, allocations: 2.202 MB / 0.506 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9605, allocations: 0 / 0.506 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004157/0.9647, allocations: 1.422 MB / 0.5074 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.9679, allocations: 376.7 kB / 0.5078 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.9807, allocations: 4.229 MB / 0.5119 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/0.9834, allocations: 1.854 MB / 0.5137 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002085/0.9855, allocations: 353.7 kB / 0.514 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/0.9876, allocations: 0.8273 MB / 0.5148 GB, free: 2.918 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.9876, allocations: 0 / 0.5148 GB, free: 2.918 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3904/1.378, allocations: 43.85 MB / 0.5577 GB, free: 106.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.378, allocations: 205.8 kB / 0.5579 GB, free: 106.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.857/5.235, allocations: 6.531 kB / 0.5579 GB, free: 106.6 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat