Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.407e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09538, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5428, allocations: 103.8 MB / 403.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5432, allocations: 87.94 kB / 403.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.211/0.7541, allocations: 49.72 MB / 453.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.7542, allocations: 8 kB / 453.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003083/0.7545, allocations: 59.94 kB / 453.7 MB, free: 13.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.009699/0.7642, allocations: 2.342 MB / 456 MB, free: 11.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.7643, allocations: 12.03 kB / 456 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001382/0.7657, allocations: 320.4 kB / 456.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.7678, allocations: 312.6 kB / 456.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/0.7743, allocations: 1.668 MB / 458.3 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.7746, allocations: 163.1 kB / 458.5 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.7758, allocations: 227 kB / 458.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.7861, allocations: 2.781 MB / 461.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.7863, allocations: 7.906 kB / 461.5 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/0.7868, allocations: 92 kB / 461.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.787, allocations: 100.3 kB / 461.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/0.7952, allocations: 2.172 MB / 463.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.8232, allocations: 9.097 MB / 472.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.8273, allocations: 1.668 MB / 474.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.8298, allocations: 0.8002 MB / 475.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.8304, allocations: 227.1 kB / 475.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.8305, allocations: 43.56 kB / 475.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 3.686e-06/0.8305, allocations: 0 / 475.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02784/0.8584, allocations: 6.332 MB / 482 MB, free: 1.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.8585, allocations: 76.64 kB / 482.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.8622, allocations: 1.317 MB / 483.4 MB, free: 196 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003589/0.8626, allocations: 49.7 kB / 483.4 MB, free: 140 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.8639, allocations: 1.096 MB / 484.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007857/0.8647, allocations: 457.3 kB / 485 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.8649, allocations: 36 kB / 485 MB, free: 14.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.8652, allocations: 365.9 kB / 485.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.8673, allocations: 0.7146 MB / 486.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.87, allocations: 1.13 MB / 487.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.8727, allocations: 0.9105 MB / 488.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.8727, allocations: 4 kB / 488.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008317/0.8811, allocations: 2.551 MB / 490.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.8812, allocations: 12 kB / 490.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.8812, allocations: 12 kB / 490.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.884, allocations: 0.5805 MB / 491.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/0.8868, allocations: 359.4 kB / 491.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.9009, allocations: 6.694 MB / 498.3 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.9035, allocations: 112 kB / 498.4 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004374/0.904, allocations: 67.98 kB / 498.5 MB, free: 0.5625 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.9045, allocations: 192.5 kB / 498.7 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/0.9051, allocations: 173.8 kB / 498.9 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007565/0.9127, allocations: 2.329 MB / 0.4894 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.9128, allocations: 16 kB / 0.4895 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.9128, allocations: 8 kB / 0.4895 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.072e-05/0.9129, allocations: 7.969 kB / 0.4895 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.9289, allocations: 4.876 MB / 0.4942 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.9289, allocations: 0 / 0.4942 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/0.931, allocations: 216.1 kB / 0.4944 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/0.9343, allocations: 0.6502 MB / 0.4951 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/0.9347, allocations: 31.98 kB / 0.4951 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/0.9513, allocations: 8.368 MB / 0.5033 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.9514, allocations: 4 kB / 0.5033 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009686/0.9611, allocations: 3.528 MB / 0.5067 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.9627, allocations: 410.8 kB / 0.5071 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006367/0.9634, allocations: 36.23 kB / 0.5071 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/0.9657, allocations: 99.89 kB / 0.5072 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/0.9662, allocations: 108.8 kB / 0.5073 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.9664, allocations: 43.92 kB / 0.5074 GB, free: 10.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002816/0.9693, allocations: 1.007 MB / 0.5084 GB, free: 9.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.9693, allocations: 0 / 0.5084 GB, free: 9.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003493/0.9728, allocations: 0.5507 MB / 0.5089 GB, free: 9.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * 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%) 23,(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.01131/0.9842, allocations: 5.058 MB / 0.5138 GB, free: 4.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006779/0.991, allocations: 2.264 MB / 0.5161 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.991, allocations: 0 / 0.5161 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004772/0.9958, allocations: 1.458 MB / 0.5175 GB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2631/1.259, allocations: 421 kB / 0.5179 GB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.274, allocations: 4.437 MB / 0.5222 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.277, allocations: 1.919 MB / 0.5241 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002613/1.28, allocations: 383.5 kB / 0.5245 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.282, allocations: 0.8795 MB / 0.5253 GB, free: 107.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.282, allocations: 0 / 0.5253 GB, free: 107.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/1.405, allocations: 47.69 MB / 0.5719 GB, free: 97.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.405, allocations: 206.7 kB / 0.5721 GB, free: 97.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/5.534, allocations: 0 / 0.5721 GB, free: 97.72 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat does not exist to compare? outputFormat=mat