Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 11.98 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2591, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.4535, allocations: 102.3 MB / 360.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4539, allocations: 79.95 kB / 360.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4173/0.8712, allocations: 55.56 MB / 416.3 MB, free: 60.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8713, allocations: 0 / 416.3 MB, free: 60.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002464/0.8715, allocations: 83.88 kB / 416.4 MB, free: 60.12 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.007972/0.8795, allocations: 2.846 MB / 419.2 MB, free: 57.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.8796, allocations: 12.03 kB / 419.3 MB, free: 57.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.8811, allocations: 407.9 kB / 419.7 MB, free: 56.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/0.8859, allocations: 1.917 MB / 421.6 MB, free: 54.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.8861, allocations: 92 kB / 421.7 MB, free: 54.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005245/0.8866, allocations: 167.9 kB / 421.8 MB, free: 54.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006424/0.8931, allocations: 2.678 MB / 424.5 MB, free: 51.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.9002, allocations: 3.192 MB / 427.7 MB, free: 48.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.867e-05/0.9003, allocations: 4 kB / 427.7 MB, free: 48.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.9006, allocations: 8 kB / 427.7 MB, free: 48.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.9008, allocations: 137.4 kB / 427.8 MB, free: 48.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/0.9238, allocations: 10.97 MB / 438.8 MB, free: 37.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.9269, allocations: 1.911 MB / 440.7 MB, free: 35.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.9286, allocations: 0.8986 MB / 441.6 MB, free: 34.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.9291, allocations: 142.3 kB / 441.8 MB, free: 34.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.9291, allocations: 51.81 kB / 441.8 MB, free: 34.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 3.798e-06/0.9291, allocations: 0 / 441.8 MB, free: 34.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=153): time 0.01421/0.9433, allocations: 5.543 MB / 447.4 MB, free: 28.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.9434, allocations: 68.72 kB / 447.4 MB, free: 28.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.9458, allocations: 1.291 MB / 448.7 MB, free: 27.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.9459, allocations: 29.7 kB / 448.7 MB, free: 27.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009475/0.9469, allocations: 1.38 MB / 450.1 MB, free: 25.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.9474, allocations: 0.5004 MB / 450.6 MB, free: 25.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.9475, allocations: 0 / 450.6 MB, free: 25.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9477, allocations: 385.8 kB / 451 MB, free: 24.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.9493, allocations: 0.8278 MB / 451.8 MB, free: 24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.9513, allocations: 1.357 MB / 453.2 MB, free: 22.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.9534, allocations: 1.068 MB / 454.3 MB, free: 21.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.9534, allocations: 11.94 kB / 454.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006501/0.9599, allocations: 2.793 MB / 457.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.96, allocations: 20.03 kB / 457.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.9601, allocations: 23.95 kB / 457.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.9621, allocations: 0.5333 MB / 457.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.9652, allocations: 443.3 kB / 458.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/0.9745, allocations: 5.998 MB / 464.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.977, allocations: 107.7 kB / 464.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.9772, allocations: 80.06 kB / 464.2 MB, free: 11.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 210 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004311/0.9777, allocations: 157.7 kB / 464.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005515/0.9832, allocations: 2.328 MB / 466.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.9839, allocations: 197.5 kB / 466.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/0.9902, allocations: 2.503 MB / 469.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.9902, allocations: 20 kB / 469.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.9902, allocations: 4 kB / 469.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.9903, allocations: 7.969 kB / 469.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.004, allocations: 5.192 MB / 474.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.004, allocations: 4.344 kB / 474.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.006, allocations: 267.6 kB / 474.9 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.008, allocations: 0.578 MB / 475.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.009, allocations: 11.98 kB / 475.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/1.022, allocations: 7.688 MB / 483.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.022, allocations: 4 kB / 483.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009502/1.032, allocations: 3.939 MB / 487.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.033, allocations: 454.5 kB / 487.6 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/1.034, allocations: 15.94 kB / 487.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.035, allocations: 83.81 kB / 487.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/1.036, allocations: 105.2 kB / 487.8 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.036, allocations: 47.98 kB / 487.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002185/1.038, allocations: 0.9653 MB / 488.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.038, allocations: 0 / 488.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003068/1.041, allocations: 0.5157 MB / 489.3 MB, free: 1.418 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * 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 {(5,76.0%) 20,(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.01077/1.052, allocations: 5.49 MB / 494.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006039/1.058, allocations: 2.497 MB / 497.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.058, allocations: 4 kB / 497.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003938/1.062, allocations: 1.521 MB / 498.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/1.066, allocations: 387.1 kB / 499.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.081, allocations: 5.107 MB / 0.4925 GB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2316/1.312, allocations: 2.24 MB / 0.4947 GB, free: 87.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003006/1.315, allocations: 499.2 kB / 0.4951 GB, free: 87.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.318, allocations: 1.076 MB / 0.4962 GB, free: 87.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/1.318, allocations: 0 / 0.4962 GB, free: 87.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/1.467, allocations: 45.44 MB / 0.5406 GB, free: 72.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.467, allocations: 184.1 kB / 0.5407 GB, free: 72.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.52, allocations: 0 / 0.5407 GB, free: 72.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat does not exist to compare? outputFormat=mat