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.829/1.829, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.996e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2512, allocations: 38.76 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.4132, allocations: 95.77 MB / 359.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.4136, allocations: 79.95 kB / 359.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4729/0.8865, allocations: 45.5 MB / 405.2 MB, free: 69.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.8865, allocations: 0 / 405.2 MB, free: 69.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003539/0.8869, allocations: 63.88 kB / 405.3 MB, free: 69.04 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.008616/0.8956, allocations: 2.228 MB / 407.5 MB, free: 66.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.8956, allocations: 12.03 kB / 407.5 MB, free: 66.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008147/0.8965, allocations: 308 kB / 407.8 MB, free: 66.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.8976, allocations: 292.8 kB / 408.1 MB, free: 66.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.9036, allocations: 1.495 MB / 409.6 MB, free: 64.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.904, allocations: 156.2 kB / 409.8 MB, free: 64.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.9052, allocations: 219.9 kB / 410 MB, free: 64.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009613/0.9148, allocations: 2.679 MB / 412.7 MB, free: 61.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.512e-05/0.915, allocations: 4 kB / 412.7 MB, free: 61.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.9153, allocations: 88 kB / 412.7 MB, free: 61.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.9154, allocations: 100.2 kB / 412.8 MB, free: 61.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/0.921, allocations: 2.101 MB / 414.9 MB, free: 59.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.9409, allocations: 8.534 MB / 423.5 MB, free: 50.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.9442, allocations: 1.66 MB / 425.1 MB, free: 48.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.946, allocations: 0.7772 MB / 425.9 MB, free: 47.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.9463, allocations: 146 kB / 426.1 MB, free: 47.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.9464, allocations: 43.56 kB / 426.1 MB, free: 47.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 3.507e-06/0.9464, allocations: 0 / 426.1 MB, free: 47.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.02056/0.967, allocations: 5.899 MB / 432 MB, free: 41.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.967, allocations: 64.41 kB / 432.1 MB, free: 41.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.9694, allocations: 1.166 MB / 433.2 MB, free: 40.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.9696, allocations: 49.7 kB / 433.3 MB, free: 40.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.9704, allocations: 1.014 MB / 434.3 MB, free: 39.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/0.9708, allocations: 437.7 kB / 434.7 MB, free: 38.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.9709, allocations: 32 kB / 434.7 MB, free: 38.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9711, allocations: 365.9 kB / 435.1 MB, free: 38.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.9726, allocations: 0.6873 MB / 435.8 MB, free: 37.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.9743, allocations: 1.053 MB / 436.8 MB, free: 36.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.9761, allocations: 0.8715 MB / 437.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.9761, allocations: 4 kB / 437.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.006041/0.9822, allocations: 2.446 MB / 440.2 MB, free: 33.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.9823, allocations: 8 kB / 440.2 MB, free: 33.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.9823, allocations: 15.98 kB / 440.2 MB, free: 33.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.9846, allocations: 0.5765 MB / 440.8 MB, free: 32.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.9869, allocations: 339.5 kB / 441.1 MB, free: 32.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.9972, allocations: 6.309 MB / 447.4 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.9994, allocations: 104 kB / 447.5 MB, free: 25.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.9996, allocations: 59.98 kB / 447.6 MB, free: 25.52 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.0003759/1, allocations: 197.2 kB / 447.8 MB, free: 25.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/1, allocations: 162 kB / 447.9 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005789/1.006, allocations: 2.249 MB / 450.2 MB, free: 22.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.006, allocations: 16 kB / 450.2 MB, free: 22.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.006, allocations: 7.953 kB / 450.2 MB, free: 22.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/1.006, allocations: 7.969 kB / 450.2 MB, free: 22.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.018, allocations: 4.645 MB / 454.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.018, allocations: 0 / 454.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.02, allocations: 207.7 kB / 455 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/1.022, allocations: 0.6311 MB / 455.7 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/1.023, allocations: 31.98 kB / 455.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.036, allocations: 8.049 MB / 463.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.036, allocations: 3.938 kB / 463.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.047, allocations: 3.372 MB / 467.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.049, allocations: 390.9 kB / 467.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/1.049, allocations: 31.98 kB / 467.5 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.051, allocations: 87.91 kB / 467.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/1.052, allocations: 104.8 kB / 467.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.052, allocations: 39.98 kB / 467.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002577/1.055, allocations: 0.8929 MB / 468.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.055, allocations: 0 / 468.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003483/1.058, allocations: 0.5078 MB / 469.2 MB, free: 3.219 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.01176/1.07, allocations: 4.736 MB / 473.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008176/1.078, allocations: 2.191 MB / 476.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.078, allocations: 4.062 kB / 476.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005512/1.084, allocations: 1.422 MB / 477.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.088, allocations: 368.5 kB / 477.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.104, allocations: 4.197 MB / 482.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/1.107, allocations: 1.85 MB / 483.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002596/1.11, allocations: 349.4 kB / 484.3 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.112, allocations: 0.8 MB / 485.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/1.112, allocations: 0 / 485.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.338/1.45, allocations: 42.91 MB / 0.5156 GB, free: 86.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.45, allocations: 213.1 kB / 0.5158 GB, free: 86.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/5.678, allocations: 0 / 0.5158 GB, free: 86.68 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