Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.86e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.583, allocations: 109 MB / 409 MB, free: 9.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5834, allocations: 82.8 kB / 409.1 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3543/0.9377, allocations: 82.82 MB / 491.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9378, allocations: 0 / 491.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003062/0.9381, allocations: 67.94 kB / 491.9 MB, free: 8.289 MB / 378.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.01017/0.9483, allocations: 2.601 MB / 494.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.9484, allocations: 8.031 kB / 494.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00129/0.9497, allocations: 370.5 kB / 494.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.952, allocations: 420 kB / 495.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/0.9587, allocations: 1.811 MB / 497.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.9591, allocations: 197 kB / 497.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.9602, allocations: 251.9 kB / 497.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.9703, allocations: 3.133 MB / 0.489 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.9704, allocations: 11.94 kB / 0.489 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.9708, allocations: 104 kB / 0.4891 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.971, allocations: 108.9 kB / 0.4892 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008251/0.9793, allocations: 2.444 MB / 0.4916 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/1.013, allocations: 10.43 MB / 0.5018 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/1.017, allocations: 1.75 MB / 0.5035 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/1.02, allocations: 0.8622 MB / 0.5043 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/1.02, allocations: 215.1 kB / 0.5045 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.02, allocations: 55.5 kB / 0.5046 GB, free: 14.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.899e-06/1.02, allocations: 4.375 kB / 0.5046 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.02959/1.05, allocations: 6.873 MB / 0.5113 GB, free: 7.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.05, allocations: 72.67 kB / 0.5114 GB, free: 7.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.055, allocations: 1.617 MB / 0.5129 GB, free: 6.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.055, allocations: 53.64 kB / 0.513 GB, free: 6.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/1.057, allocations: 1.233 MB / 0.5142 GB, free: 4.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008655/1.058, allocations: 496.9 kB / 0.5147 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/1.058, allocations: 36 kB / 0.5147 GB, free: 4.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/1.058, allocations: 369.9 kB / 0.515 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/1.061, allocations: 0.8005 MB / 0.5158 GB, free: 3.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/1.063, allocations: 1.299 MB / 0.5171 GB, free: 1.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/1.066, allocations: 1.008 MB / 0.5181 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/1.066, allocations: 4 kB / 0.5181 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.2813/1.348, allocations: 2.828 MB / 0.5209 GB, free: 95.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/1.348, allocations: 11.94 kB / 0.5209 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-05/1.348, allocations: 19.89 kB / 0.5209 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/1.351, allocations: 0.5918 MB / 0.5215 GB, free: 95.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.354, allocations: 406.9 kB / 0.5218 GB, free: 95.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.366, allocations: 5.434 MB / 0.5272 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/1.37, allocations: 132.8 kB / 0.5273 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/1.37, allocations: 75.19 kB / 0.5274 GB, free: 94.44 MB / 410.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 (186): * Single equations (assignments): 182 * 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.0004714/1.371, allocations: 207.2 kB / 0.5275 GB, free: 94.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/1.371, allocations: 199.5 kB / 0.5277 GB, free: 94.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007716/1.379, allocations: 2.506 MB / 0.5302 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.379, allocations: 13.97 kB / 0.5302 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.379, allocations: 5.5 kB / 0.5302 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/1.379, allocations: 8.969 kB / 0.5302 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.394, allocations: 5.381 MB / 0.5355 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/1.394, allocations: 3.812 kB / 0.5355 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.397, allocations: 243.3 kB / 0.5357 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/1.399, allocations: 0.6594 MB / 0.5363 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.4, allocations: 36.67 kB / 0.5364 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.412, allocations: 7.123 MB / 0.5433 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.412, allocations: 3.938 kB / 0.5433 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008573/1.421, allocations: 3.914 MB / 0.5472 GB, free: 90.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.422, allocations: 469.4 kB / 0.5476 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/1.423, allocations: 35.05 kB / 0.5476 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.425, allocations: 117.1 kB / 0.5478 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/1.425, allocations: 118.8 kB / 0.5479 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.426, allocations: 42.19 kB / 0.5479 GB, free: 90.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002603/1.428, allocations: 1.237 MB / 0.5491 GB, free: 89.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.428, allocations: 0 / 0.5491 GB, free: 89.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003112/1.431, allocations: 0.6406 MB / 0.5497 GB, free: 89.92 MB / 410.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.009531/1.441, allocations: 5.575 MB / 0.5552 GB, free: 87.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005916/1.447, allocations: 2.469 MB / 0.5576 GB, free: 86.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.447, allocations: 2.812 kB / 0.5576 GB, free: 86.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.451, allocations: 1.566 MB / 0.5591 GB, free: 85.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.454, allocations: 402.9 kB / 0.5595 GB, free: 85.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.467, allocations: 4.843 MB / 0.5642 GB, free: 83.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.47, allocations: 2.074 MB / 0.5663 GB, free: 82.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00225/1.472, allocations: 418.8 kB / 0.5667 GB, free: 82.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/1.474, allocations: 0.9881 MB / 0.5676 GB, free: 81.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/1.474, allocations: 0 / 0.5676 GB, free: 81.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.604, allocations: 51.44 MB / 0.6179 GB, free: 55.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.604, allocations: 209.1 kB / 0.6181 GB, free: 55.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.453/6.056, allocations: 4 kB / 0.6181 GB, free: 55.66 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat