Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.608e-05, allocations: 8 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2898, allocations: 38.76 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4748, allocations: 103.7 MB / 367.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.4752, allocations: 83.95 kB / 367.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5537/1.029, allocations: 82.36 MB / 450 MB, free: 25.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.029, allocations: 0 / 450 MB, free: 25.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002628/1.029, allocations: 63.94 kB / 450.1 MB, free: 25.01 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: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.009526/1.039, allocations: 2.61 MB / 452.7 MB, free: 22.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.039, allocations: 8.031 kB / 452.7 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/1.04, allocations: 358.7 kB / 453 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/1.042, allocations: 424 kB / 453.4 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005329/1.048, allocations: 1.737 MB / 455.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/1.048, allocations: 185 kB / 455.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008386/1.049, allocations: 255.9 kB / 455.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/1.057, allocations: 3.115 MB / 458.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/1.057, allocations: 8 kB / 458.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/1.058, allocations: 116.3 kB / 458.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/1.058, allocations: 104.9 kB / 458.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/1.066, allocations: 2.423 MB / 461.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/1.092, allocations: 10.39 MB / 471.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/1.096, allocations: 1.733 MB / 473.5 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.098, allocations: 0.8583 MB / 474.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/1.098, allocations: 130 kB / 474.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/1.098, allocations: 55.56 kB / 474.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 5.11e-06/1.098, allocations: 0 / 474.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=141): time 0.02969/1.128, allocations: 6.869 MB / 481.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/1.128, allocations: 64.72 kB / 481.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/1.132, allocations: 1.57 MB / 483 MB, free: 7.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004235/1.132, allocations: 49.7 kB / 483.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.134, allocations: 1.237 MB / 484.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007444/1.135, allocations: 485 kB / 484.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.135, allocations: 39.94 kB / 484.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/1.135, allocations: 377.8 kB / 485.2 MB, free: 5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/1.137, allocations: 0.7966 MB / 486 MB, free: 4.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.14, allocations: 1.276 MB / 487.3 MB, free: 2.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/1.142, allocations: 1.008 MB / 488.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.142, allocations: 4 kB / 488.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008271/1.151, allocations: 2.781 MB / 491.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.151, allocations: 12 kB / 491.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/1.151, allocations: 19.98 kB / 491.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/1.153, allocations: 0.5913 MB / 491.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.157, allocations: 395.4 kB / 492.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.17, allocations: 5.461 MB / 497.5 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.172, allocations: 131.8 kB / 497.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.173, allocations: 75.98 kB / 497.7 MB, free: 8.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004738/1.173, allocations: 216.3 kB / 497.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/1.174, allocations: 193.7 kB / 498.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007223/1.181, allocations: 2.486 MB / 0.4889 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.181, allocations: 16 kB / 0.4889 GB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.181, allocations: 4 kB / 0.4889 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.181, allocations: 7.969 kB / 0.4889 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2639/1.445, allocations: 5.332 MB / 0.4941 GB, free: 74.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/1.445, allocations: 4.625 kB / 0.4941 GB, free: 74.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/1.447, allocations: 248.4 kB / 0.4944 GB, free: 74.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/1.451, allocations: 0.6461 MB / 0.495 GB, free: 73.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/1.451, allocations: 43.42 kB / 0.495 GB, free: 73.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.464, allocations: 7.139 MB / 0.502 GB, free: 71.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.464, allocations: 6.719 kB / 0.502 GB, free: 71.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/1.473, allocations: 3.896 MB / 0.5058 GB, free: 70.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.474, allocations: 464.6 kB / 0.5063 GB, free: 70.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/1.475, allocations: 37.78 kB / 0.5063 GB, free: 70.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.477, allocations: 111.1 kB / 0.5064 GB, free: 70.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/1.478, allocations: 118.2 kB / 0.5065 GB, free: 70.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.478, allocations: 44.38 kB / 0.5066 GB, free: 70.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002624/1.48, allocations: 1.206 MB / 0.5077 GB, free: 70.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.48, allocations: 0 / 0.5077 GB, free: 70.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003393/1.484, allocations: 0.6219 MB / 0.5083 GB, free: 70.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009961/1.494, allocations: 5.545 MB / 0.5138 GB, free: 68.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006098/1.5, allocations: 2.409 MB / 0.5161 GB, free: 68.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.5, allocations: 0 / 0.5161 GB, free: 68.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004125/1.504, allocations: 1.528 MB / 0.5176 GB, free: 67.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/1.508, allocations: 409.3 kB / 0.518 GB, free: 67.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.522, allocations: 4.784 MB / 0.5227 GB, free: 66.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.524, allocations: 2.067 MB / 0.5247 GB, free: 66.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002324/1.526, allocations: 412.8 kB / 0.5251 GB, free: 66.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/1.528, allocations: 0.9943 MB / 0.5261 GB, free: 66.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/1.528, allocations: 0 / 0.5261 GB, free: 66.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.647, allocations: 49.99 MB / 0.5749 GB, free: 38.72 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.648, allocations: 207.1 kB / 0.5751 GB, free: 38.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/6.243, allocations: 0 / 0.5751 GB, free: 38.5 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat