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.707/1.707, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.2e-05, allocations: 8 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2565, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.4373, allocations: 103.7 MB / 367.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004587/0.4378, allocations: 83.95 kB / 367.6 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5503/0.9881, allocations: 82.36 MB / 450 MB, free: 25.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9882, allocations: 0 / 450 MB, free: 25.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002239/0.9884, allocations: 63.94 kB / 450 MB, free: 25.03 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.007633/0.9961, allocations: 2.601 MB / 452.6 MB, free: 22.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.9961, allocations: 12.02 kB / 452.6 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007861/0.9969, allocations: 366.7 kB / 453 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.9989, allocations: 420 kB / 453.4 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/1.003, allocations: 1.741 MB / 455.1 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/1.004, allocations: 189 kB / 455.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/1.004, allocations: 251.9 kB / 455.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007254/1.011, allocations: 3.148 MB / 458.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.012, allocations: 4 kB / 458.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/1.012, allocations: 112.3 kB / 458.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/1.012, allocations: 112.8 kB / 458.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006095/1.018, allocations: 2.456 MB / 461.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/1.041, allocations: 10.39 MB / 471.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/1.044, allocations: 1.743 MB / 473.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.046, allocations: 0.8583 MB / 474.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/1.046, allocations: 142 kB / 474.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/1.046, allocations: 44.03 kB / 474.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.559e-06/1.046, allocations: 0 / 474.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=141): time 0.02792/1.074, allocations: 6.873 MB / 481.4 MB, free: 8.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.075, allocations: 64.72 kB / 481.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/1.078, allocations: 1.574 MB / 483.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003751/1.079, allocations: 49.7 kB / 483.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.08, allocations: 1.229 MB / 484.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007549/1.081, allocations: 493 kB / 484.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.081, allocations: 28 kB / 484.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/1.081, allocations: 381.9 kB / 485.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/1.084, allocations: 0.8044 MB / 486 MB, free: 4.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/1.086, allocations: 1.28 MB / 487.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/1.089, allocations: 1.012 MB / 488.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.089, allocations: 4 kB / 488.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008485/1.097, allocations: 2.824 MB / 491.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/1.097, allocations: 12 kB / 491.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-05/1.098, allocations: 16 kB / 491.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/1.1, allocations: 0.5873 MB / 491.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.103, allocations: 403.4 kB / 492.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.116, allocations: 5.45 MB / 497.6 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.119, allocations: 139.8 kB / 497.8 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.119, allocations: 75.98 kB / 497.8 MB, free: 7.965 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.0004844/1.12, allocations: 208.4 kB / 498 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005966/1.12, allocations: 201.6 kB / 498.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007397/1.128, allocations: 2.494 MB / 0.489 GB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/1.128, allocations: 16 kB / 0.489 GB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.128, allocations: 4 kB / 0.489 GB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.128, allocations: 3.984 kB / 0.489 GB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2552/1.383, allocations: 5.342 MB / 0.4942 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/1.383, allocations: 4.531 kB / 0.4942 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.386, allocations: 241.5 kB / 0.4945 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.389, allocations: 0.6591 MB / 0.4951 GB, free: 73.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.389, allocations: 37.11 kB / 0.4951 GB, free: 73.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.401, allocations: 7.127 MB / 0.5021 GB, free: 70.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.401, allocations: 6.719 kB / 0.5021 GB, free: 70.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.409, allocations: 3.902 MB / 0.5059 GB, free: 70.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.411, allocations: 461.5 kB / 0.5064 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/1.411, allocations: 33.94 kB / 0.5064 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.413, allocations: 113.5 kB / 0.5065 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.413, allocations: 117.5 kB / 0.5066 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.413, allocations: 47.88 kB / 0.5067 GB, free: 70.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002367/1.416, allocations: 1.204 MB / 0.5078 GB, free: 70.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.416, allocations: 3.531 kB / 0.5078 GB, free: 70.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002643/1.419, allocations: 0.6214 MB / 0.5084 GB, free: 70.08 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.008991/1.428, allocations: 5.546 MB / 0.5139 GB, free: 68.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005586/1.433, allocations: 2.457 MB / 0.5163 GB, free: 67.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.433, allocations: 6.875 kB / 0.5163 GB, free: 67.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.437, allocations: 1.571 MB / 0.5178 GB, free: 67.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.44, allocations: 400.8 kB / 0.5182 GB, free: 67.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.452, allocations: 4.79 MB / 0.5229 GB, free: 66.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/1.454, allocations: 2.072 MB / 0.5249 GB, free: 65.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002157/1.456, allocations: 407 kB / 0.5253 GB, free: 65.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.458, allocations: 0.9891 MB / 0.5262 GB, free: 65.53 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/1.458, allocations: 0 / 0.5262 GB, free: 65.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.572, allocations: 50.23 MB / 0.5753 GB, free: 37.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.572, allocations: 208.4 kB / 0.5755 GB, free: 37.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/5.903, allocations: 64 / 0.5755 GB, free: 37.56 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