Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.967e-05, allocations: 6.812 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.607, allocations: 91.21 MB / 434.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6074, allocations: 81.39 kB / 434.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2506/0.858, allocations: 63.8 MB / 498.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8581, allocations: 0 / 498.2 MB, free: 7.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002584/0.8583, allocations: 59.94 kB / 498.3 MB, free: 7.051 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008376/0.8667, allocations: 2.29 MB / 0.4889 GB, free: 4.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8668, allocations: 8.031 kB / 0.4889 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.8681, allocations: 328.7 kB / 0.4892 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.8699, allocations: 316.6 kB / 0.4895 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005388/0.8754, allocations: 1.561 MB / 0.491 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.8756, allocations: 164.7 kB / 0.4912 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000662/0.8763, allocations: 219.9 kB / 0.4914 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.8903, allocations: 3.004 MB / 0.4943 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.735e-05/0.8905, allocations: 3.938 kB / 0.4943 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.8909, allocations: 92 kB / 0.4944 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.8911, allocations: 112.4 kB / 0.4945 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008159/0.8993, allocations: 2.41 MB / 0.4969 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.9239, allocations: 8.904 MB / 0.5056 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.9291, allocations: 3.298 MB / 0.5088 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.9326, allocations: 1.302 MB / 0.5101 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.9331, allocations: 134.4 kB / 0.5102 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.9332, allocations: 47.86 kB / 0.5102 GB, free: 14.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.937e-06/0.9332, allocations: 0 / 0.5102 GB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01263/0.9458, allocations: 4.089 MB / 0.5142 GB, free: 9.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.9459, allocations: 68.72 kB / 0.5143 GB, free: 9.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.9492, allocations: 1.318 MB / 0.5156 GB, free: 8.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.9496, allocations: 53.7 kB / 0.5156 GB, free: 8.469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.9506, allocations: 0.9293 MB / 0.5165 GB, free: 7.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.9513, allocations: 449.5 kB / 0.517 GB, free: 7.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.9514, allocations: 28 kB / 0.517 GB, free: 7.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.9516, allocations: 357.9 kB / 0.5173 GB, free: 6.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.9533, allocations: 0.6507 MB / 0.518 GB, free: 6.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.9553, allocations: 0.8166 MB / 0.5188 GB, free: 5.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.9575, allocations: 0.7739 MB / 0.5195 GB, free: 4.418 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.9576, allocations: 11.89 kB / 0.5195 GB, free: 4.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006531/0.9641, allocations: 2.208 MB / 0.5217 GB, free: 2.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.9642, allocations: 5.406 kB / 0.5217 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.9642, allocations: 4 kB / 0.5217 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.9672, allocations: 0.7097 MB / 0.5224 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.9689, allocations: 203.7 kB / 0.5226 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2999/1.269, allocations: 10.48 MB / 0.5328 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.271, allocations: 53.62 kB / 0.5329 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.271, allocations: 43.12 kB / 0.5329 GB, free: 101.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003233/1.271, allocations: 169.3 kB / 0.5331 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/1.272, allocations: 161.7 kB / 0.5332 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/1.277, allocations: 2.105 MB / 0.5353 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/1.277, allocations: 14.62 kB / 0.5353 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.277, allocations: 8.453 kB / 0.5353 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/1.277, allocations: 6.094 kB / 0.5353 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.289, allocations: 4.68 MB / 0.5399 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.289, allocations: 5.094 kB / 0.5399 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.291, allocations: 162.2 kB / 0.54 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.294, allocations: 0.6831 MB / 0.5407 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.294, allocations: 30.55 kB / 0.5407 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.309, allocations: 10.38 MB / 0.5509 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.309, allocations: 3.312 kB / 0.5509 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/1.316, allocations: 3.167 MB / 0.554 GB, free: 94.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.317, allocations: 406.1 kB / 0.5544 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.317, allocations: 26.94 kB / 0.5544 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.319, allocations: 74.27 kB / 0.5545 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/1.319, allocations: 116.1 kB / 0.5546 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.319, allocations: 36.56 kB / 0.5546 GB, free: 94.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001954/1.321, allocations: 1.039 MB / 0.5556 GB, free: 94.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.321, allocations: 0 / 0.5556 GB, free: 94.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002504/1.324, allocations: 0.5288 MB / 0.5561 GB, free: 94.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007626/1.331, allocations: 4.104 MB / 0.5601 GB, free: 93.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004736/1.336, allocations: 2.284 MB / 0.5624 GB, free: 92.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.336, allocations: 0 / 0.5624 GB, free: 92.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/1.339, allocations: 1.543 MB / 0.5639 GB, free: 91.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.343, allocations: 481.8 kB / 0.5643 GB, free: 91.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.355, allocations: 4.446 MB / 0.5687 GB, free: 89.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/1.357, allocations: 2.09 MB / 0.5707 GB, free: 88.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001575/1.359, allocations: 304.1 kB / 0.571 GB, free: 88.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/1.361, allocations: 0.7809 MB / 0.5718 GB, free: 87.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.361, allocations: 0 / 0.5718 GB, free: 87.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.489, allocations: 47.12 MB / 0.6178 GB, free: 68.27 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.49, allocations: 207.2 kB / 0.618 GB, free: 68.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.101/5.591, allocations: 0 / 0.618 GB, free: 68.05 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat