Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.135e-05, allocations: 2.812 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.4 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5769, allocations: 114.3 MB / 457 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5773, allocations: 85.58 kB / 457.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6544/1.232, allocations: 83.25 MB / 0.5277 GB, free: 105 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.232, allocations: 0 / 0.5277 GB, free: 105 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003363/1.232, allocations: 69.48 kB / 0.5277 GB, free: 105 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01028/1.242, allocations: 2.63 MB / 0.5303 GB, free: 104.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.242, allocations: 13.97 kB / 0.5303 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001363/1.244, allocations: 363.1 kB / 0.5307 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/1.246, allocations: 419.8 kB / 0.5311 GB, free: 103.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/1.253, allocations: 1.843 MB / 0.5329 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/1.253, allocations: 188.4 kB / 0.533 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009709/1.254, allocations: 253.3 kB / 0.5333 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.264, allocations: 3.114 MB / 0.5363 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/1.264, allocations: 8.906 kB / 0.5363 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/1.265, allocations: 109 kB / 0.5364 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.265, allocations: 104.7 kB / 0.5365 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008301/1.273, allocations: 2.422 MB / 0.5389 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/1.302, allocations: 10.47 MB / 0.5491 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/1.305, allocations: 1.748 MB / 0.5508 GB, free: 99.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/1.307, allocations: 0.8591 MB / 0.5517 GB, free: 99.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/1.307, allocations: 224.3 kB / 0.5519 GB, free: 99.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.307, allocations: 49.83 kB / 0.5519 GB, free: 99.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 3.757e-06/1.307, allocations: 0 / 0.5519 GB, free: 99.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=144): time 0.02642/1.334, allocations: 6.944 MB / 0.5587 GB, free: 98.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.334, allocations: 77.33 kB / 0.5588 GB, free: 98.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/1.337, allocations: 1.622 MB / 0.5604 GB, free: 98.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/1.338, allocations: 49.11 kB / 0.5604 GB, free: 98.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/1.339, allocations: 1.246 MB / 0.5616 GB, free: 97.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006409/1.339, allocations: 498.5 kB / 0.5621 GB, free: 96.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.339, allocations: 34.97 kB / 0.5621 GB, free: 96.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/1.34, allocations: 373.6 kB / 0.5625 GB, free: 96.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.342, allocations: 0.8056 MB / 0.5633 GB, free: 96.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/1.344, allocations: 1.284 MB / 0.5645 GB, free: 95.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/1.346, allocations: 1.015 MB / 0.5655 GB, free: 94.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.346, allocations: 10.44 kB / 0.5655 GB, free: 94.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00746/1.353, allocations: 2.808 MB / 0.5683 GB, free: 93.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/1.354, allocations: 10.53 kB / 0.5683 GB, free: 93.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/1.354, allocations: 18.84 kB / 0.5683 GB, free: 93.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/1.356, allocations: 0.5872 MB / 0.5689 GB, free: 93.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/1.359, allocations: 415.9 kB / 0.5693 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.37, allocations: 5.452 MB / 0.5746 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/1.373, allocations: 149.2 kB / 0.5747 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/1.373, allocations: 71.66 kB / 0.5748 GB, free: 90.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.0004394/1.374, allocations: 209.6 kB / 0.575 GB, free: 90.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/1.374, allocations: 197.6 kB / 0.5752 GB, free: 90.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006502/1.381, allocations: 2.522 MB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.381, allocations: 14.38 kB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.381, allocations: 14.3 kB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.381, allocations: 7.688 kB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.395, allocations: 5.414 MB / 0.583 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/1.395, allocations: 6.984 kB / 0.583 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.397, allocations: 251.2 kB / 0.5832 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/1.4, allocations: 0.6509 MB / 0.5839 GB, free: 87.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/1.4, allocations: 42.06 kB / 0.5839 GB, free: 87.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.413, allocations: 7.132 MB / 0.5909 GB, free: 82.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.413, allocations: 6.938 kB / 0.5909 GB, free: 82.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008542/1.421, allocations: 3.958 MB / 0.5947 GB, free: 80.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.423, allocations: 465.1 kB / 0.5952 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/1.423, allocations: 34.88 kB / 0.5952 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.426, allocations: 116.9 kB / 0.5953 GB, free: 80.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.426, allocations: 121 kB / 0.5954 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.426, allocations: 50.88 kB / 0.5955 GB, free: 80.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00268/1.429, allocations: 1.245 MB / 0.5967 GB, free: 79.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.429, allocations: 3.938 kB / 0.5967 GB, free: 79.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003355/1.432, allocations: 0.6374 MB / 0.5973 GB, free: 79.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (112): * Single equations (assignments): 108 * 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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009697/1.442, allocations: 5.7 MB / 0.6029 GB, free: 76.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/1.448, allocations: 2.429 MB / 0.6053 GB, free: 74.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.448, allocations: 3.938 kB / 0.6053 GB, free: 74.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004076/1.452, allocations: 1.547 MB / 0.6068 GB, free: 72.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.456, allocations: 411.2 kB / 0.6072 GB, free: 72.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.469, allocations: 4.863 MB / 0.6119 GB, free: 68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.471, allocations: 2.081 MB / 0.614 GB, free: 66.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002243/1.474, allocations: 416.1 kB / 0.6143 GB, free: 66.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.476, allocations: 1.006 MB / 0.6153 GB, free: 65.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.476, allocations: 2.25 kB / 0.6153 GB, free: 65.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.596, allocations: 51.48 MB / 0.6656 GB, free: 21.08 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.596, allocations: 195.2 kB / 0.6658 GB, free: 20.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/5.885, allocations: 0 / 0.6658 GB, free: 20.86 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat