Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.686e-05, allocations: 5.562 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.4 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.5951, allocations: 109.2 MB / 452.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5954, allocations: 85.56 kB / 452.5 MB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3036/0.8991, allocations: 50.09 MB / 0.4908 GB, free: 2.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8992, allocations: 4 kB / 0.4908 GB, free: 2.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004563/0.8997, allocations: 67.92 kB / 0.4908 GB, free: 2.871 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0136/0.9133, allocations: 2.37 MB / 0.4931 GB, free: 456 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.9134, allocations: 8.031 kB / 0.4932 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.9151, allocations: 324.8 kB / 0.4935 GB, free: 112 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.9178, allocations: 320.5 kB / 0.4938 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.9258, allocations: 1.695 MB / 0.4954 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.9261, allocations: 164.4 kB / 0.4956 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.9272, allocations: 220 kB / 0.4958 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.9374, allocations: 2.789 MB / 0.4985 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.9376, allocations: 7.906 kB / 0.4985 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007365/0.9383, allocations: 108 kB / 0.4986 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.9385, allocations: 100.4 kB / 0.4987 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008089/0.9467, allocations: 2.18 MB / 0.5009 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.9776, allocations: 9.133 MB / 0.5098 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/0.9841, allocations: 1.678 MB / 0.5114 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.9867, allocations: 0.8075 MB / 0.5122 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/0.9873, allocations: 215.2 kB / 0.5124 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.9873, allocations: 43.56 kB / 0.5124 GB, free: 12.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 3.847e-06/0.9874, allocations: 4 kB / 0.5124 GB, free: 12 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02837/1.016, allocations: 6.406 MB / 0.5187 GB, free: 5.539 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.016, allocations: 68.72 kB / 0.5188 GB, free: 5.461 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/1.02, allocations: 1.326 MB / 0.5201 GB, free: 4.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003496/1.02, allocations: 45.7 kB / 0.5201 GB, free: 4.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.021, allocations: 1.108 MB / 0.5212 GB, free: 2.953 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008225/1.022, allocations: 461.3 kB / 0.5216 GB, free: 2.496 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.023, allocations: 32 kB / 0.5217 GB, free: 2.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/1.023, allocations: 373.9 kB / 0.522 GB, free: 2.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.025, allocations: 0.7262 MB / 0.5227 GB, free: 1.367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/1.028, allocations: 1.121 MB / 0.5238 GB, free: 68 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2943/1.322, allocations: 0.9165 MB / 0.5247 GB, free: 113.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.322, allocations: 3.594 kB / 0.5247 GB, free: 113.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008407/1.331, allocations: 2.57 MB / 0.5272 GB, free: 113.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.331, allocations: 11 kB / 0.5272 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.331, allocations: 12.38 kB / 0.5273 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.333, allocations: 0.5895 MB / 0.5278 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.336, allocations: 361.4 kB / 0.5282 GB, free: 113.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.349, allocations: 6.694 MB / 0.5347 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/1.352, allocations: 119.1 kB / 0.5348 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/1.352, allocations: 67.69 kB / 0.5349 GB, free: 110.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.0004395/1.353, allocations: 193.5 kB / 0.5351 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/1.354, allocations: 173 kB / 0.5352 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/1.361, allocations: 2.343 MB / 0.5375 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/1.361, allocations: 14.98 kB / 0.5375 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.361, allocations: 6.094 kB / 0.5375 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.361, allocations: 6.844 kB / 0.5376 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/1.376, allocations: 4.93 MB / 0.5424 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/1.376, allocations: 6.5 kB / 0.5424 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.378, allocations: 217.9 kB / 0.5426 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/1.382, allocations: 0.6508 MB / 0.5432 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003283/1.382, allocations: 35.95 kB / 0.5433 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.396, allocations: 8.4 MB / 0.5515 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/1.396, allocations: 6.688 kB / 0.5515 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008324/1.404, allocations: 3.571 MB / 0.5549 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.406, allocations: 414.5 kB / 0.5553 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/1.406, allocations: 31.14 kB / 0.5554 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.409, allocations: 103.2 kB / 0.5555 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/1.409, allocations: 103.4 kB / 0.5556 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.409, allocations: 45.11 kB / 0.5556 GB, free: 104.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002443/1.412, allocations: 1.021 MB / 0.5566 GB, free: 103.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.412, allocations: 0 / 0.5566 GB, free: 103.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003205/1.415, allocations: 0.5436 MB / 0.5571 GB, free: 103.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (104): * Single equations (assignments): 101 * 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.009646/1.425, allocations: 5.175 MB / 0.5622 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006192/1.431, allocations: 2.28 MB / 0.5644 GB, free: 99.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.431, allocations: 0 / 0.5644 GB, free: 99.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/1.435, allocations: 1.468 MB / 0.5659 GB, free: 98.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.439, allocations: 437.6 kB / 0.5663 GB, free: 98.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.453, allocations: 4.48 MB / 0.5706 GB, free: 97.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/1.456, allocations: 1.93 MB / 0.5725 GB, free: 96.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002393/1.458, allocations: 380.5 kB / 0.5729 GB, free: 96.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.461, allocations: 0.888 MB / 0.5738 GB, free: 95.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.204e-06/1.461, allocations: 0 / 0.5738 GB, free: 95.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.576, allocations: 48.02 MB / 0.6207 GB, free: 66.08 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.576, allocations: 194.2 kB / 0.6208 GB, free: 65.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/5.683, allocations: 0 / 0.6208 GB, free: 65.86 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat does not exist to compare? outputFormat=mat