Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.665e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.5021, allocations: 108.3 MB / 402.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.5025, allocations: 83.95 kB / 402.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5614/1.064, allocations: 81.72 MB / 484.4 MB, free: 65.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.064, allocations: 0 / 484.4 MB, free: 65.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000254/1.064, allocations: 71.88 kB / 484.4 MB, free: 65.77 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.008513/1.073, allocations: 2.603 MB / 487 MB, free: 63.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.073, allocations: 12.03 kB / 487.1 MB, free: 63.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/1.075, allocations: 412.1 kB / 487.5 MB, free: 62.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005342/1.081, allocations: 1.823 MB / 489.3 MB, free: 60.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.081, allocations: 84 kB / 489.4 MB, free: 60.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006358/1.082, allocations: 159.8 kB / 489.5 MB, free: 60.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005787/1.087, allocations: 2.299 MB / 491.8 MB, free: 58.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/1.094, allocations: 2.775 MB / 494.6 MB, free: 55.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.275e-05/1.094, allocations: 4 kB / 494.6 MB, free: 55.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/1.094, allocations: 3.984 kB / 494.6 MB, free: 55.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/1.094, allocations: 108.9 kB / 494.7 MB, free: 55.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02261/1.117, allocations: 9.944 MB / 0.4928 GB, free: 45.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/1.12, allocations: 1.718 MB / 0.4945 GB, free: 43.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/1.122, allocations: 0.8274 MB / 0.4953 GB, free: 42.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/1.122, allocations: 220.6 kB / 0.4955 GB, free: 42.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.122, allocations: 51.81 kB / 0.4956 GB, free: 42.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 3.777e-06/1.122, allocations: 0 / 0.4956 GB, free: 42.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.0153/1.138, allocations: 5.408 MB / 0.5008 GB, free: 36.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.138, allocations: 72.72 kB / 0.5009 GB, free: 36.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/1.141, allocations: 1.359 MB / 0.5022 GB, free: 35.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/1.141, allocations: 29.7 kB / 0.5023 GB, free: 35.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/1.142, allocations: 1.24 MB / 0.5035 GB, free: 33.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/1.143, allocations: 484.8 kB / 0.5039 GB, free: 33.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.143, allocations: 0 / 0.5039 GB, free: 33.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/1.143, allocations: 373.8 kB / 0.5043 GB, free: 33.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.144, allocations: 0.777 MB / 0.5051 GB, free: 32.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/1.146, allocations: 1.248 MB / 0.5063 GB, free: 30.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.148, allocations: 0.986 MB / 0.5072 GB, free: 29.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.148, allocations: 8 kB / 0.5073 GB, free: 29.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006433/1.155, allocations: 2.652 MB / 0.5098 GB, free: 27.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.155, allocations: 12 kB / 0.5099 GB, free: 27.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/1.155, allocations: 20.3 kB / 0.5099 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/1.157, allocations: 0.5755 MB / 0.5104 GB, free: 26.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/1.16, allocations: 411.3 kB / 0.5108 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009595/1.17, allocations: 5.211 MB / 0.5159 GB, free: 20.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.172, allocations: 95.78 kB / 0.516 GB, free: 20.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.173, allocations: 80.05 kB / 0.5161 GB, free: 20.68 MB / 362.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 (188): * Single equations (assignments): 184 * 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.0004036/1.173, allocations: 148.3 kB / 0.5162 GB, free: 20.53 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005959/1.179, allocations: 2.237 MB / 0.5184 GB, free: 18.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007176/1.18, allocations: 181.8 kB / 0.5186 GB, free: 18.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/1.186, allocations: 2.371 MB / 0.5209 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/1.186, allocations: 19.94 kB / 0.5209 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.186, allocations: 4 kB / 0.5209 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/1.186, allocations: 11.97 kB / 0.5209 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.199, allocations: 4.952 MB / 0.5258 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.199, allocations: 11.94 kB / 0.5258 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/1.201, allocations: 252.1 kB / 0.526 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/1.204, allocations: 0.6378 MB / 0.5266 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/1.204, allocations: 15.98 kB / 0.5267 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/1.221, allocations: 6.857 MB / 0.5334 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/1.221, allocations: 7.938 kB / 0.5334 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.233, allocations: 3.767 MB / 0.537 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.235, allocations: 446.8 kB / 0.5375 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007473/1.236, allocations: 15.94 kB / 0.5375 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.239, allocations: 91.88 kB / 0.5376 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/1.24, allocations: 117.1 kB / 0.5377 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.24, allocations: 47.97 kB / 0.5377 GB, free: 13.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003253/1.243, allocations: 1.028 MB / 0.5387 GB, free: 12.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.243, allocations: 4 kB / 0.5387 GB, free: 12.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004215/1.248, allocations: 0.5312 MB / 0.5393 GB, free: 12.43 MB / 378.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 (111): * Single equations (assignments): 107 * 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.01486/1.263, allocations: 5.49 MB / 0.5446 GB, free: 6.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008802/1.271, allocations: 2.37 MB / 0.5469 GB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.271, allocations: 0 / 0.5469 GB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005753/1.277, allocations: 1.527 MB / 0.5484 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.281, allocations: 301.8 kB / 0.5487 GB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/1.296, allocations: 4.687 MB / 0.5533 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/1.3, allocations: 2.064 MB / 0.5553 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002426/1.302, allocations: 402.3 kB / 0.5557 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/1.305, allocations: 0.985 MB / 0.5566 GB, free: 10.29 MB / 394.7 MB Notification: Performance of SimCode: time 3.096e-06/1.305, allocations: 4 kB / 0.5567 GB, free: 10.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4675/1.772, allocations: 43.22 MB / 0.5989 GB, free: 93.9 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.772, allocations: 175.6 kB / 0.599 GB, free: 93.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/5.684, allocations: 0 / 0.599 GB, free: 93.71 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat