Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.297e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4915/0.6331, allocations: 113.5 MB / 430.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6335, allocations: 81.39 kB / 430.6 MB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3757/1.009, allocations: 83.02 MB / 0.5016 GB, free: 10.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.009, allocations: 0 / 0.5016 GB, free: 10.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003523/1.01, allocations: 67.94 kB / 0.5016 GB, free: 10.21 MB / 426.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.0114/1.021, allocations: 2.62 MB / 0.5042 GB, free: 7.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/1.021, allocations: 8.031 kB / 0.5042 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00183/1.023, allocations: 358.7 kB / 0.5045 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/1.026, allocations: 420 kB / 0.5049 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/1.034, allocations: 1.831 MB / 0.5067 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/1.034, allocations: 193 kB / 0.5069 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/1.035, allocations: 248.6 kB / 0.5072 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.047, allocations: 3.115 MB / 0.5102 GB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/1.047, allocations: 7.938 kB / 0.5102 GB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006451/1.048, allocations: 116 kB / 0.5103 GB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/1.048, allocations: 100.9 kB / 0.5104 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.313/1.361, allocations: 2.422 MB / 0.5128 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/1.393, allocations: 10.47 MB / 0.523 GB, free: 99.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/1.397, allocations: 1.746 MB / 0.5247 GB, free: 98.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/1.4, allocations: 0.8614 MB / 0.5255 GB, free: 98.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/1.401, allocations: 229.6 kB / 0.5258 GB, free: 98.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/1.401, allocations: 43.72 kB / 0.5258 GB, free: 98.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 6.802e-06/1.401, allocations: 0 / 0.5258 GB, free: 98.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.02796/1.429, allocations: 6.894 MB / 0.5325 GB, free: 97.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/1.429, allocations: 67.12 kB / 0.5326 GB, free: 97.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/1.433, allocations: 1.63 MB / 0.5342 GB, free: 97.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.434, allocations: 55.44 kB / 0.5342 GB, free: 97.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.435, allocations: 1.247 MB / 0.5355 GB, free: 96.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/1.436, allocations: 486.8 kB / 0.5359 GB, free: 96.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.436, allocations: 33.75 kB / 0.536 GB, free: 96.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/1.436, allocations: 377.5 kB / 0.5363 GB, free: 96.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/1.438, allocations: 0.8061 MB / 0.5371 GB, free: 96.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/1.44, allocations: 1.277 MB / 0.5384 GB, free: 95.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/1.443, allocations: 1.018 MB / 0.5394 GB, free: 95.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/1.443, allocations: 6.906 kB / 0.5394 GB, free: 95.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.008437/1.451, allocations: 2.804 MB / 0.5421 GB, free: 95.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/1.452, allocations: 11.59 kB / 0.5421 GB, free: 95.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.643e-05/1.452, allocations: 18.31 kB / 0.5421 GB, free: 95.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/1.454, allocations: 0.5847 MB / 0.5427 GB, free: 95.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.457, allocations: 410.8 kB / 0.5431 GB, free: 95.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.469, allocations: 5.454 MB / 0.5484 GB, free: 93.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.472, allocations: 138.7 kB / 0.5485 GB, free: 93.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/1.472, allocations: 68.16 kB / 0.5486 GB, free: 93.07 MB / 426.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 (187): * Single equations (assignments): 183 * 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.0004788/1.473, allocations: 220.7 kB / 0.5488 GB, free: 92.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/1.473, allocations: 191.7 kB / 0.549 GB, free: 92.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007149/1.481, allocations: 2.517 MB / 0.5515 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.481, allocations: 17.59 kB / 0.5515 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.481, allocations: 6.688 kB / 0.5515 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/1.481, allocations: 7.688 kB / 0.5515 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.499, allocations: 5.382 MB / 0.5567 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-05/1.499, allocations: 3.906 kB / 0.5568 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.502, allocations: 256.9 kB / 0.557 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004513/1.506, allocations: 0.6402 MB / 0.5576 GB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/1.507, allocations: 39.28 kB / 0.5577 GB, free: 89.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/1.526, allocations: 7.15 MB / 0.5646 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.526, allocations: 7.125 kB / 0.5646 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.539, allocations: 3.918 MB / 0.5685 GB, free: 83.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.541, allocations: 467.9 kB / 0.5689 GB, free: 82.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007788/1.542, allocations: 34.09 kB / 0.569 GB, free: 82.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.545, allocations: 119.6 kB / 0.5691 GB, free: 82.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/1.546, allocations: 116.5 kB / 0.5692 GB, free: 82.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.546, allocations: 47.66 kB / 0.5692 GB, free: 82.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003943/1.55, allocations: 1.252 MB / 0.5704 GB, free: 82.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/1.55, allocations: 0 / 0.5704 GB, free: 82.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004845/1.555, allocations: 0.636 MB / 0.5711 GB, free: 82.29 MB / 426.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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01407/1.569, allocations: 5.588 MB / 0.5765 GB, free: 78.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006509/1.576, allocations: 2.432 MB / 0.5789 GB, free: 77.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.576, allocations: 2.969 kB / 0.5789 GB, free: 77.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0043/1.58, allocations: 1.53 MB / 0.5804 GB, free: 77.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.584, allocations: 416.6 kB / 0.5808 GB, free: 77.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.598, allocations: 4.852 MB / 0.5855 GB, free: 75.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/1.601, allocations: 2.07 MB / 0.5876 GB, free: 74.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002584/1.603, allocations: 416.3 kB / 0.588 GB, free: 73.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.606, allocations: 1.014 MB / 0.5889 GB, free: 72.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.923e-06/1.606, allocations: 0 / 0.5889 GB, free: 72.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.736, allocations: 51.46 MB / 0.6392 GB, free: 30.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.736, allocations: 210.8 kB / 0.6394 GB, free: 30.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/6.064, allocations: 0 / 0.6394 GB, free: 30.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat