Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.832e-05, allocations: 2.844 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/0.6623, allocations: 120.1 MB / 414.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.6628, allocations: 85.25 kB / 414.5 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2851/0.9479, allocations: 54.31 MB / 468.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.948, allocations: 0 / 468.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003469/0.9483, allocations: 60 kB / 468.8 MB, free: 2.926 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01124/0.9596, allocations: 2.557 MB / 471.4 MB, free: 316 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.9597, allocations: 12.03 kB / 471.4 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.9629, allocations: 432.3 kB / 471.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006869/0.9699, allocations: 1.707 MB / 473.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.9701, allocations: 76 kB / 473.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007502/0.9708, allocations: 151.9 kB / 473.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008526/0.9794, allocations: 2.212 MB / 476 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009543/0.989, allocations: 2.591 MB / 478.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.9891, allocations: 11.84 kB / 478.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.9895, allocations: 4 kB / 478.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.9897, allocations: 96.53 kB / 478.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/1.033, allocations: 9.629 MB / 488.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.043, allocations: 2.638 MB / 490.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005293/1.049, allocations: 1.09 MB / 492 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008714/1.05, allocations: 138.3 kB / 492.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/1.05, allocations: 59.77 kB / 492.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 9.779e-06/1.05, allocations: 0 / 492.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03766/1.087, allocations: 5.739 MB / 498 MB, free: 4.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/1.088, allocations: 180.2 kB / 498.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006438/1.094, allocations: 1.307 MB / 499.5 MB, free: 3.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005714/1.095, allocations: 29.7 kB / 499.5 MB, free: 3.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.097, allocations: 1.144 MB / 0.4889 GB, free: 2.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.099, allocations: 0.558 MB / 0.4894 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.099, allocations: 0 / 0.4894 GB, free: 1.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004197/1.1, allocations: 381.9 kB / 0.4898 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.104, allocations: 0.8473 MB / 0.4906 GB, free: 484 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3201/1.424, allocations: 1.262 MB / 0.4919 GB, free: 89.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/1.428, allocations: 1.038 MB / 0.4929 GB, free: 89.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/1.428, allocations: 3.125 kB / 0.4929 GB, free: 89.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01062/1.439, allocations: 3.025 MB / 0.4958 GB, free: 89.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.44, allocations: 4.65 MB / 0.5004 GB, free: 84.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.047e-05/1.44, allocations: 19.47 kB / 0.5004 GB, free: 84.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004746/1.445, allocations: 0.9453 MB / 0.5013 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/1.448, allocations: 372.7 kB / 0.5017 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/1.471, allocations: 11.54 MB / 0.5129 GB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/1.474, allocations: 74.12 kB / 0.513 GB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005446/1.475, allocations: 72.67 kB / 0.5131 GB, free: 79.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.475, allocations: 6.25 kB / 0.5131 GB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009355/1.484, allocations: 2.794 MB / 0.5158 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/1.484, allocations: 11.73 kB / 0.5158 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004375/1.489, allocations: 0.9531 MB / 0.5168 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/1.492, allocations: 358.9 kB / 0.5171 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/1.513, allocations: 11.55 MB / 0.5284 GB, free: 74.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.516, allocations: 58.31 kB / 0.5284 GB, free: 74.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/1.516, allocations: 82.94 kB / 0.5285 GB, free: 74.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006556/1.517, allocations: 157.6 kB / 0.5287 GB, free: 73.92 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007596/1.524, allocations: 2.596 MB / 0.5312 GB, free: 73.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000932/1.525, allocations: 196.3 kB / 0.5314 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/1.533, allocations: 2.733 MB / 0.5341 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/1.533, allocations: 19.91 kB / 0.5341 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.533, allocations: 7.031 kB / 0.5341 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/1.534, allocations: 7.078 kB / 0.5341 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.55, allocations: 5.357 MB / 0.5393 GB, free: 70.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.55, allocations: 6.5 kB / 0.5393 GB, free: 70.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.552, allocations: 215.4 kB / 0.5395 GB, free: 70.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/1.557, allocations: 1.02 MB / 0.5405 GB, free: 70.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.557, allocations: 14.56 kB / 0.5405 GB, free: 70.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/1.581, allocations: 13.18 MB / 0.5534 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.581, allocations: 3.406 kB / 0.5534 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.592, allocations: 4.19 MB / 0.5575 GB, free: 59.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.594, allocations: 464.9 kB / 0.558 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008674/1.595, allocations: 15.42 kB / 0.558 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.598, allocations: 77.23 kB / 0.558 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.599, allocations: 139.2 kB / 0.5582 GB, free: 58.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.599, allocations: 46.56 kB / 0.5582 GB, free: 58.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002561/1.601, allocations: 0.985 MB / 0.5592 GB, free: 58.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.601, allocations: 0 / 0.5592 GB, free: 58.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01019/1.612, allocations: 1.032 MB / 0.5602 GB, free: 58.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01954/1.631, allocations: 5.524 MB / 0.5656 GB, free: 55.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02191/1.653, allocations: 5.153 MB / 0.5706 GB, free: 52.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.653, allocations: 3.938 kB / 0.5706 GB, free: 52.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008863/1.662, allocations: 2.011 MB / 0.5726 GB, free: 50.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006863/1.669, allocations: 417.3 kB / 0.573 GB, free: 50.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.699, allocations: 5.125 MB / 0.578 GB, free: 46.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004868/1.704, allocations: 2.031 MB / 0.58 GB, free: 44.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007468/1.711, allocations: 0.6369 MB / 0.5806 GB, free: 44.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003372/1.715, allocations: 0.9446 MB / 0.5815 GB, free: 43.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.365e-06/1.715, allocations: 0 / 0.5815 GB, free: 43.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/1.923, allocations: 59.41 MB / 0.6395 GB, free: 9.277 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001328/1.924, allocations: 180.1 kB / 0.6397 GB, free: 9.086 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.048/7.972, allocations: 3.391 kB / 0.6397 GB, free: 9.086 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat