Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.105e-05, allocations: 7.984 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.5407, allocations: 108.3 MB / 402.5 MB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.5411, allocations: 83.95 kB / 402.6 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5835/1.125, allocations: 81.72 MB / 484.3 MB, free: 66.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.125, allocations: 0 / 484.3 MB, free: 66.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002922/1.125, allocations: 67.88 kB / 484.4 MB, free: 65.94 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.009355/1.134, allocations: 2.605 MB / 487 MB, free: 63.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.134, allocations: 8.031 kB / 487 MB, free: 63.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.137, allocations: 416.1 kB / 487.4 MB, free: 62.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006152/1.143, allocations: 1.826 MB / 489.3 MB, free: 61.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/1.144, allocations: 84 kB / 489.3 MB, free: 60.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/1.145, allocations: 151.9 kB / 489.5 MB, free: 60.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007029/1.152, allocations: 2.295 MB / 491.8 MB, free: 58.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/1.16, allocations: 2.775 MB / 494.6 MB, free: 55.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/1.16, allocations: 4 kB / 494.6 MB, free: 55.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/1.161, allocations: 7.984 kB / 494.6 MB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/1.161, allocations: 112.8 kB / 494.7 MB, free: 55.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/1.186, allocations: 9.941 MB / 0.4928 GB, free: 45.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/1.189, allocations: 1.72 MB / 0.4945 GB, free: 43.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/1.191, allocations: 0.8279 MB / 0.4953 GB, free: 42.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/1.192, allocations: 222.4 kB / 0.4955 GB, free: 42.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.192, allocations: 47.86 kB / 0.4955 GB, free: 42.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.308e-06/1.192, allocations: 4 kB / 0.4955 GB, free: 42.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.017/1.209, allocations: 5.398 MB / 0.5008 GB, free: 36.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.209, allocations: 72.72 kB / 0.5009 GB, free: 36.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/1.212, allocations: 1.367 MB / 0.5022 GB, free: 35.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003611/1.213, allocations: 25.7 kB / 0.5022 GB, free: 35.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000895/1.214, allocations: 1.189 MB / 0.5034 GB, free: 34.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/1.214, allocations: 480.8 kB / 0.5039 GB, free: 33.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/1.214, allocations: 0 / 0.5039 GB, free: 33.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/1.215, allocations: 382.7 kB / 0.5042 GB, free: 33.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.217, allocations: 0.7731 MB / 0.505 GB, free: 32.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/1.219, allocations: 1.252 MB / 0.5062 GB, free: 31.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/1.221, allocations: 0.986 MB / 0.5072 GB, free: 30.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/1.221, allocations: 7.938 kB / 0.5072 GB, free: 30.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00705/1.228, allocations: 2.548 MB / 0.5097 GB, free: 27.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.228, allocations: 12 kB / 0.5097 GB, free: 27.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/1.229, allocations: 16.31 kB / 0.5097 GB, free: 27.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/1.231, allocations: 0.5794 MB / 0.5103 GB, free: 26.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.234, allocations: 415.3 kB / 0.5107 GB, free: 26.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.244, allocations: 5.214 MB / 0.5157 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.247, allocations: 95.78 kB / 0.5158 GB, free: 21.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.248, allocations: 80.05 kB / 0.5159 GB, free: 21 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.000438/1.248, allocations: 148.3 kB / 0.5161 GB, free: 20.85 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005971/1.254, allocations: 2.235 MB / 0.5182 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/1.255, allocations: 178 kB / 0.5184 GB, free: 18.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006619/1.262, allocations: 2.375 MB / 0.5207 GB, free: 16.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.262, allocations: 16 kB / 0.5207 GB, free: 16.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.262, allocations: 8 kB / 0.5207 GB, free: 16.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/1.262, allocations: 7.969 kB / 0.5208 GB, free: 16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.276, allocations: 4.952 MB / 0.5256 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/1.276, allocations: 7.953 kB / 0.5256 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.278, allocations: 252.1 kB / 0.5258 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/1.281, allocations: 0.6455 MB / 0.5265 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/1.282, allocations: 15.98 kB / 0.5265 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.295, allocations: 6.857 MB / 0.5332 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.295, allocations: 7.984 kB / 0.5332 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009382/1.304, allocations: 3.767 MB / 0.5369 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.306, allocations: 446.7 kB / 0.5373 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008184/1.307, allocations: 11.95 kB / 0.5373 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/1.31, allocations: 99.86 kB / 0.5374 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.311, allocations: 117.1 kB / 0.5375 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.311, allocations: 43.98 kB / 0.5376 GB, free: 14.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002812/1.314, allocations: 1.032 MB / 0.5386 GB, free: 13.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.314, allocations: 0 / 0.5386 GB, free: 13.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003767/1.318, allocations: 0.5312 MB / 0.5391 GB, free: 12.75 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.01195/1.33, allocations: 5.476 MB / 0.5444 GB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007091/1.337, allocations: 2.385 MB / 0.5468 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.337, allocations: 0 / 0.5468 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.342, allocations: 1.519 MB / 0.5482 GB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.345, allocations: 301.4 kB / 0.5485 GB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.363, allocations: 4.709 MB / 0.5531 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/1.366, allocations: 2.045 MB / 0.5551 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/1.369, allocations: 0.9913 MB / 0.5561 GB, free: 11.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/1.369, allocations: 0 / 0.5561 GB, free: 11.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.22/5.59, allocations: 67.47 MB / 0.622 GB, free: 79.25 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat