Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.95e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.627, allocations: 109.9 MB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/0.6275, allocations: 89.94 kB / 427 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2824/0.9099, allocations: 52.98 MB / 480 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.91, allocations: 4 kB / 480 MB, free: 12.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003517/0.9103, allocations: 75.81 kB / 480.1 MB, free: 12.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01045/0.9208, allocations: 2.593 MB / 482.7 MB, free: 9.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9209, allocations: 8.031 kB / 482.7 MB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.9223, allocations: 362.8 kB / 483 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.9242, allocations: 344.1 kB / 483.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007316/0.9315, allocations: 1.908 MB / 485.3 MB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.9319, allocations: 189 kB / 485.5 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.933, allocations: 248.2 kB / 485.7 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.9433, allocations: 3.172 MB / 488.9 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.9435, allocations: 7.906 kB / 488.9 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/0.944, allocations: 108 kB / 489 MB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.9442, allocations: 120.9 kB / 489.1 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009175/0.9534, allocations: 2.489 MB / 491.6 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.983, allocations: 10.49 MB / 0.4903 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.9864, allocations: 1.397 MB / 0.4917 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.9886, allocations: 0.7457 MB / 0.4924 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.9892, allocations: 219.1 kB / 0.4926 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.9892, allocations: 47.5 kB / 0.4927 GB, free: 2.879 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 4.528e-06/0.9893, allocations: 0 / 0.4927 GB, free: 2.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.02502/1.014, allocations: 6.155 MB / 0.4987 GB, free: 12.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.014, allocations: 68.72 kB / 0.4987 GB, free: 12.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/1.018, allocations: 1.531 MB / 0.5002 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/1.019, allocations: 57.7 kB / 0.5003 GB, free: 10.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.02, allocations: 1.264 MB / 0.5015 GB, free: 9.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007435/1.021, allocations: 461.3 kB / 0.502 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/1.021, allocations: 32 kB / 0.502 GB, free: 9.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/1.021, allocations: 369.9 kB / 0.5024 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/1.023, allocations: 0.7771 MB / 0.5031 GB, free: 8.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/1.026, allocations: 1.281 MB / 0.5044 GB, free: 6.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/1.029, allocations: 1.004 MB / 0.5053 GB, free: 5.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/1.029, allocations: 4 kB / 0.5053 GB, free: 5.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007137/1.036, allocations: 2.44 MB / 0.5077 GB, free: 3.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.036, allocations: 16.12 kB / 0.5077 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/1.036, allocations: 16 kB / 0.5078 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.037, allocations: 239.2 kB / 0.508 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.041, allocations: 443.3 kB / 0.5084 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2885/1.329, allocations: 2.99 MB / 0.5113 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.332, allocations: 134.2 kB / 0.5115 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/1.332, allocations: 73.94 kB / 0.5115 GB, free: 107.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004496/1.333, allocations: 206.7 kB / 0.5117 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/1.334, allocations: 194.7 kB / 0.5119 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006213/1.34, allocations: 2.091 MB / 0.514 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.34, allocations: 13.47 kB / 0.514 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.34, allocations: 4.672 kB / 0.514 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.271e-05/1.34, allocations: 7.609 kB / 0.514 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.355, allocations: 4.819 MB / 0.5187 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.355, allocations: 3.094 kB / 0.5187 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.358, allocations: 293.1 kB / 0.519 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.359, allocations: 199.1 kB / 0.5192 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.359, allocations: 29.56 kB / 0.5192 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/1.362, allocations: 2.965 MB / 0.5221 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.362, allocations: 2.25 kB / 0.5221 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00823/1.371, allocations: 3.356 MB / 0.5254 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.372, allocations: 447.6 kB / 0.5258 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000641/1.373, allocations: 25.97 kB / 0.5258 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.375, allocations: 97.81 kB / 0.5259 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/1.376, allocations: 89.83 kB / 0.526 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.376, allocations: 33.34 kB / 0.526 GB, free: 103.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003685/1.38, allocations: 1.172 MB / 0.5272 GB, free: 103.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.443e-06/1.38, allocations: 0.6562 kB / 0.5272 GB, free: 103.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003672/1.383, allocations: 0.5293 MB / 0.5277 GB, free: 103.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008423/1.392, allocations: 4.796 MB / 0.5324 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005196/1.397, allocations: 2.318 MB / 0.5346 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/1.397, allocations: 2.906 kB / 0.5346 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/1.4, allocations: 1.34 MB / 0.5359 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.404, allocations: 450.6 kB / 0.5364 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.418, allocations: 4.62 MB / 0.5409 GB, free: 99.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002233/1.42, allocations: 2.069 MB / 0.5429 GB, free: 99.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002732/1.423, allocations: 0.5109 MB / 0.5434 GB, free: 99.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/1.425, allocations: 0.9952 MB / 0.5444 GB, free: 99.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/1.425, allocations: 7.281 kB / 0.5444 GB, free: 99.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.542, allocations: 47.67 MB / 0.5909 GB, free: 78.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.542, allocations: 215.9 kB / 0.5911 GB, free: 78.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.407/5.949, allocations: 4 kB / 0.5911 GB, free: 78.72 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat does not exist to compare? outputFormat=mat