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.754/1.754, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.347e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 38.76 MB / 258.4 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4885, allocations: 103 MB / 361.3 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4889, allocations: 79.95 kB / 361.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5309/1.02, allocations: 81.27 MB / 442.7 MB, free: 34.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.02, allocations: 0 / 442.7 MB, free: 34.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002687/1.02, allocations: 67.88 kB / 442.8 MB, free: 34.27 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.009206/1.029, allocations: 2.593 MB / 445.4 MB, free: 31.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.029, allocations: 8.031 kB / 445.4 MB, free: 31.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/1.032, allocations: 424.6 kB / 445.8 MB, free: 31.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/1.037, allocations: 1.752 MB / 447.5 MB, free: 29.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.038, allocations: 84 kB / 447.6 MB, free: 29.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007615/1.038, allocations: 147.9 kB / 447.8 MB, free: 29.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006739/1.045, allocations: 2.302 MB / 450.1 MB, free: 26.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008128/1.053, allocations: 2.775 MB / 452.8 MB, free: 23.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/1.054, allocations: 7.938 kB / 452.8 MB, free: 23.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/1.054, allocations: 7.938 kB / 452.8 MB, free: 23.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.054, allocations: 104.9 kB / 452.9 MB, free: 23.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03356/1.088, allocations: 9.911 MB / 462.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/1.092, allocations: 1.713 MB / 464.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/1.095, allocations: 0.8279 MB / 465.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/1.096, allocations: 143 kB / 465.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.096, allocations: 47.88 kB / 465.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=118): time 6.602e-06/1.096, allocations: 3.938 kB / 465.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.02657/1.123, allocations: 5.393 MB / 471 MB, free: 5.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.123, allocations: 68.67 kB / 471.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/1.128, allocations: 1.316 MB / 472.4 MB, free: 3.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004282/1.128, allocations: 25.7 kB / 472.4 MB, free: 3.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/1.13, allocations: 1.24 MB / 473.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007642/1.13, allocations: 476.9 kB / 474.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.131, allocations: 0 / 474.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/1.131, allocations: 373.9 kB / 474.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.133, allocations: 0.777 MB / 475.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/1.135, allocations: 1.244 MB / 476.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/1.138, allocations: 0.9821 MB / 477.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/1.138, allocations: 4 kB / 477.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007729/1.146, allocations: 2.644 MB / 480.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.146, allocations: 16.03 kB / 480.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/1.146, allocations: 16 kB / 480.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/1.148, allocations: 0.5755 MB / 480.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/1.152, allocations: 407.4 kB / 481.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.163, allocations: 5.203 MB / 486.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.166, allocations: 103.8 kB / 486.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/1.166, allocations: 76.02 kB / 486.5 MB, free: 5.355 MB / 330.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.0004518/1.167, allocations: 148.5 kB / 486.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006221/1.173, allocations: 2.214 MB / 488.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/1.174, allocations: 185.7 kB / 489 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006699/1.18, allocations: 2.363 MB / 491.4 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/1.18, allocations: 16 kB / 491.4 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.18, allocations: 11.94 kB / 491.4 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.18, allocations: 7.969 kB / 491.4 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2603/1.441, allocations: 4.915 MB / 496.4 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/1.441, allocations: 3.938 kB / 496.4 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.443, allocations: 250.1 kB / 496.6 MB, free: 63.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.446, allocations: 0.6422 MB / 497.2 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.446, allocations: 20.52 kB / 497.3 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.458, allocations: 6.871 MB / 0.4923 GB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.458, allocations: 3.906 kB / 0.4923 GB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/1.467, allocations: 3.768 MB / 0.496 GB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.469, allocations: 442.3 kB / 0.4964 GB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.469, allocations: 9.766 kB / 0.4964 GB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/1.472, allocations: 95.17 kB / 0.4965 GB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.472, allocations: 118.1 kB / 0.4966 GB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.472, allocations: 47.23 kB / 0.4967 GB, free: 60.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00226/1.475, allocations: 0.9898 MB / 0.4976 GB, free: 60.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.475, allocations: 0 / 0.4976 GB, free: 60.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003244/1.478, allocations: 0.5168 MB / 0.4982 GB, free: 60.48 MB / 330.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 (110): * Single equations (assignments): 106 * 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.009457/1.488, allocations: 5.444 MB / 0.5035 GB, free: 58.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005938/1.493, allocations: 2.363 MB / 0.5058 GB, free: 58.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.494, allocations: 0 / 0.5058 GB, free: 58.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004094/1.498, allocations: 1.517 MB / 0.5073 GB, free: 57.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.501, allocations: 308.6 kB / 0.5076 GB, free: 57.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.515, allocations: 4.645 MB / 0.5121 GB, free: 56.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.518, allocations: 2.068 MB / 0.5141 GB, free: 55.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002343/1.52, allocations: 399.6 kB / 0.5145 GB, free: 55.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/1.522, allocations: 0.9709 MB / 0.5154 GB, free: 55.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/1.522, allocations: 0 / 0.5154 GB, free: 55.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.643, allocations: 42.13 MB / 0.5566 GB, free: 33.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.643, allocations: 175.3 kB / 0.5567 GB, free: 33.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/5.58, allocations: 3.391 kB / 0.5567 GB, free: 33.11 MB / 330.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