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.875/1.875, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.855e-05, allocations: 4 kB / 255.5 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5281/0.6599, allocations: 100.9 MB / 400.8 MB, free: 11.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6603, allocations: 85.27 kB / 400.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2002/0.8605, allocations: 45.9 MB / 446.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.8606, allocations: 0 / 446.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003779/0.8609, allocations: 63.88 kB / 446.9 MB, free: 3.898 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.01085/0.8718, allocations: 2.234 MB / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/0.8719, allocations: 8.031 kB / 449.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/0.8735, allocations: 310.2 kB / 449.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.8755, allocations: 288.8 kB / 449.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007782/0.8833, allocations: 1.575 MB / 451.3 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.8837, allocations: 155.7 kB / 451.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009947/0.8847, allocations: 213.7 kB / 451.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/0.8932, allocations: 2.695 MB / 454.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.8934, allocations: 11.89 kB / 454.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.8938, allocations: 90.11 kB / 454.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.894, allocations: 100.1 kB / 454.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00711/0.9012, allocations: 2.113 MB / 456.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.9248, allocations: 8.576 MB / 465.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.9286, allocations: 1.686 MB / 466.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.9307, allocations: 0.7771 MB / 467.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.9313, allocations: 223 kB / 467.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.9313, allocations: 47.5 kB / 467.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 3.937e-06/0.9313, allocations: 0 / 467.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.02444/0.9558, allocations: 5.932 MB / 473.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.9559, allocations: 68.39 kB / 473.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.9592, allocations: 1.217 MB / 475.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.9596, allocations: 49.7 kB / 475.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.9608, allocations: 1.017 MB / 476.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007374/0.9615, allocations: 435.1 kB / 476.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.9617, allocations: 32 kB / 476.7 MB, free: 7.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.9619, allocations: 369.9 kB / 477 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.9639, allocations: 0.6873 MB / 477.7 MB, free: 5.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.9664, allocations: 1.073 MB / 478.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.969, allocations: 0.8716 MB / 479.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.9691, allocations: 4 kB / 479.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.008321/0.9774, allocations: 2.493 MB / 482.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.9775, allocations: 8 kB / 482.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.9776, allocations: 12 kB / 482.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.9804, allocations: 0.5765 MB / 482.8 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.9831, allocations: 335.5 kB / 483.1 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.9964, allocations: 6.318 MB / 489.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.9988, allocations: 104 kB / 489.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/0.9993, allocations: 59.98 kB / 489.6 MB, free: 9.656 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.0004521/0.9997, allocations: 200.5 kB / 489.8 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/1, allocations: 158 kB / 489.9 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/1.008, allocations: 2.268 MB / 492.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/1.008, allocations: 12 kB / 492.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.008, allocations: 4 kB / 492.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/1.008, allocations: 8.109 kB / 492.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.023, allocations: 4.684 MB / 496.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.023, allocations: 7.984 kB / 496.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.025, allocations: 203.7 kB / 497.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/1.028, allocations: 0.6357 MB / 497.7 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/1.028, allocations: 39.92 kB / 497.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/1.044, allocations: 8.034 MB / 0.494 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.044, allocations: 3.984 kB / 0.494 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.054, allocations: 3.396 MB / 0.4973 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.055, allocations: 391 kB / 0.4976 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/1.056, allocations: 31.98 kB / 0.4977 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.058, allocations: 91.91 kB / 0.4978 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/1.059, allocations: 100.8 kB / 0.4979 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.059, allocations: 36 kB / 0.4979 GB, free: 4.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002569/1.062, allocations: 0.9399 MB / 0.4988 GB, free: 3.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.062, allocations: 0 / 0.4988 GB, free: 3.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00303/1.065, allocations: 0.5156 MB / 0.4993 GB, free: 3.238 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.01102/1.076, allocations: 4.744 MB / 0.5039 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006712/1.083, allocations: 2.238 MB / 0.5061 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.083, allocations: 0 / 0.5061 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/1.088, allocations: 1.467 MB / 0.5076 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.091, allocations: 372.7 kB / 0.5079 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.108, allocations: 4.238 MB / 0.5121 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/1.113, allocations: 1.854 MB / 0.5139 GB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002836/1.116, allocations: 353.7 kB / 0.5142 GB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/1.118, allocations: 0.8234 MB / 0.515 GB, free: 2.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/1.118, allocations: 4 kB / 0.515 GB, free: 2.848 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3876/1.506, allocations: 44.07 MB / 0.5581 GB, free: 107 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.506, allocations: 211 kB / 0.5583 GB, free: 106.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/5.838, allocations: 3.953 kB / 0.5583 GB, free: 106.7 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