Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.287e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2978, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4824, allocations: 107.6 MB / 401.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.4828, allocations: 87.94 kB / 401.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4707/0.9535, allocations: 57.47 MB / 459.4 MB, free: 89.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.9536, allocations: 0 / 459.4 MB, free: 89.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002672/0.9538, allocations: 87.31 kB / 459.5 MB, free: 89.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.008458/0.9623, allocations: 2.872 MB / 462.4 MB, free: 86.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9624, allocations: 15.97 kB / 462.4 MB, free: 86.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.9641, allocations: 399.5 kB / 462.8 MB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/0.9702, allocations: 2.168 MB / 465 MB, free: 84.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.9704, allocations: 92 kB / 465 MB, free: 84.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005458/0.971, allocations: 171.9 kB / 465.2 MB, free: 84.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006451/0.9774, allocations: 2.674 MB / 467.9 MB, free: 81.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/0.9844, allocations: 3.176 MB / 471.1 MB, free: 78.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/0.9845, allocations: 7.922 kB / 471.1 MB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.9848, allocations: 4 kB / 471.1 MB, free: 78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.985, allocations: 129.5 kB / 471.2 MB, free: 77.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/1.008, allocations: 11.1 MB / 482.3 MB, free: 66.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/1.012, allocations: 1.925 MB / 484.2 MB, free: 64.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.013, allocations: 0.9026 MB / 485.1 MB, free: 63.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/1.014, allocations: 223.4 kB / 485.3 MB, free: 63.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.014, allocations: 59.77 kB / 485.4 MB, free: 63.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=133): time 3.898e-06/1.014, allocations: 0 / 485.4 MB, free: 63.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.01479/1.029, allocations: 5.56 MB / 491 MB, free: 57.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/1.029, allocations: 68.72 kB / 491 MB, free: 57.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.032, allocations: 1.457 MB / 492.5 MB, free: 56.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.032, allocations: 29.7 kB / 492.5 MB, free: 56.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009126/1.033, allocations: 1.388 MB / 493.9 MB, free: 54.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/1.033, allocations: 0.5159 MB / 494.4 MB, free: 54.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/1.033, allocations: 0 / 494.4 MB, free: 54.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/1.033, allocations: 382.1 kB / 494.8 MB, free: 53.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.035, allocations: 0.8278 MB / 495.6 MB, free: 52.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.037, allocations: 1.361 MB / 497 MB, free: 51.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/1.039, allocations: 1.072 MB / 498.1 MB, free: 50.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.039, allocations: 4 kB / 498.1 MB, free: 50.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=240) (initialization): time 0.00662/1.046, allocations: 2.82 MB / 0.4891 GB, free: 47.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.046, allocations: 12 kB / 0.4891 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.046, allocations: 16 kB / 0.4892 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/1.048, allocations: 0.5415 MB / 0.4897 GB, free: 46.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.051, allocations: 439.3 kB / 0.4901 GB, free: 46.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009218/1.06, allocations: 6.013 MB / 0.496 GB, free: 40.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/1.063, allocations: 99.67 kB / 0.4961 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/1.064, allocations: 84.05 kB / 0.4962 GB, free: 40.04 MB / 362.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 (214): * Single equations (assignments): 211 * 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.001484/1.065, allocations: 160.1 kB / 0.4963 GB, free: 39.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009327/1.075, allocations: 2.339 MB / 0.4986 GB, free: 37.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008844/1.076, allocations: 197.5 kB / 0.4988 GB, free: 37.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006267/1.082, allocations: 2.507 MB / 0.5012 GB, free: 34.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.082, allocations: 19.98 kB / 0.5013 GB, free: 34.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.082, allocations: 11.89 kB / 0.5013 GB, free: 34.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.082, allocations: 7.969 kB / 0.5013 GB, free: 34.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/1.1, allocations: 5.286 MB / 0.5064 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.1, allocations: 4 kB / 0.5064 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.102, allocations: 271.5 kB / 0.5067 GB, free: 29.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002556/1.105, allocations: 0.5772 MB / 0.5073 GB, free: 28.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/1.105, allocations: 19.98 kB / 0.5073 GB, free: 28.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.117, allocations: 7.68 MB / 0.5148 GB, free: 20.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.117, allocations: 7.938 kB / 0.5148 GB, free: 20.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00834/1.125, allocations: 3.973 MB / 0.5187 GB, free: 16.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.127, allocations: 470.5 kB / 0.5191 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/1.127, allocations: 15.98 kB / 0.5191 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.13, allocations: 79.86 kB / 0.5192 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.13, allocations: 109 kB / 0.5193 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.13, allocations: 51.98 kB / 0.5194 GB, free: 15.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002185/1.132, allocations: 1.092 MB / 0.5204 GB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.132, allocations: 0 / 0.5204 GB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003052/1.135, allocations: 0.5234 MB / 0.5209 GB, free: 14.07 MB / 362.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 (126): * Single equations (assignments): 123 * 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.009067/1.144, allocations: 5.51 MB / 0.5263 GB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005333/1.15, allocations: 2.49 MB / 0.5287 GB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.15, allocations: 4 kB / 0.5288 GB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/1.153, allocations: 1.548 MB / 0.5303 GB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.157, allocations: 403.9 kB / 0.5306 GB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.172, allocations: 5.259 MB / 0.5358 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/1.175, allocations: 2.267 MB / 0.538 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002843/1.178, allocations: 0.5008 MB / 0.5385 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/1.181, allocations: 1.124 MB / 0.5396 GB, free: 10.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/1.181, allocations: 4 kB / 0.5396 GB, free: 10.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4166/1.598, allocations: 47.61 MB / 0.5861 GB, free: 108.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/1.598, allocations: 179.6 kB / 0.5863 GB, free: 108.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.994/5.592, allocations: 0 / 0.5863 GB, free: 108.6 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat does not exist to compare? outputFormat=mat