Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1989/1.991, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/2.078, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/2.387, allocations: 80.22 MB / 338.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004815/2.387, allocations: 82.08 kB / 338.3 MB, free: 7.848 MB / 282.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.3469/2.734, allocations: 65.72 MB / 404 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/2.734, allocations: 16 kB / 404.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/2.737, allocations: 316.7 kB / 404.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/2.743, allocations: 1.58 MB / 405.9 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/2.743, allocations: 72 kB / 406 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000972/2.744, allocations: 127.9 kB / 406.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009016/2.753, allocations: 2.387 MB / 408.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009493/2.763, allocations: 2.777 MB / 411.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/2.763, allocations: 0 / 411.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/2.763, allocations: 4 kB / 411.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/2.763, allocations: 108.4 kB / 411.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1508/2.914, allocations: 8.563 MB / 420 MB, free: 112.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/2.918, allocations: 1.675 MB / 421.7 MB, free: 112 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/2.921, allocations: 1.423 MB / 423.1 MB, free: 112 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/2.922, allocations: 136.8 kB / 423.2 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/2.922, allocations: 50.06 kB / 423.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/2.922, allocations: 3.406 kB / 423.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01266/2.935, allocations: 4.019 MB / 427.3 MB, free: 111.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/2.935, allocations: 64.12 kB / 427.3 MB, free: 111.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/2.937, allocations: 1.091 MB / 428.4 MB, free: 111 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/2.938, allocations: 28.89 kB / 428.5 MB, free: 110.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/2.938, allocations: 0.7672 MB / 429.2 MB, free: 110.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/2.939, allocations: 424.1 kB / 429.6 MB, free: 110.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/2.939, allocations: 0 / 429.6 MB, free: 110.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/2.939, allocations: 356.9 kB / 430 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/2.941, allocations: 0.6764 MB / 430.7 MB, free: 110.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/2.943, allocations: 0.8369 MB / 431.5 MB, free: 110 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/2.945, allocations: 0.8037 MB / 432.3 MB, free: 110 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/2.945, allocations: 3.906 kB / 432.3 MB, free: 109.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.009651/2.954, allocations: 2.18 MB / 434.5 MB, free: 109.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/2.954, allocations: 7.375 kB / 434.5 MB, free: 109.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/2.955, allocations: 7.031 kB / 434.5 MB, free: 109.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/2.959, allocations: 0.7016 MB / 435.2 MB, free: 109.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/2.962, allocations: 205.8 kB / 435.4 MB, free: 109.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/2.985, allocations: 9.789 MB / 445.2 MB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/2.987, allocations: 24.83 kB / 445.2 MB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/2.987, allocations: 42.92 kB / 445.3 MB, free: 104.6 MB / 346.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.0004006/2.987, allocations: 127.5 kB / 445.4 MB, free: 104.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/2.988, allocations: 147.9 kB / 445.5 MB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/2.994, allocations: 2.066 MB / 447.6 MB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/2.994, allocations: 21.55 kB / 447.6 MB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/2.994, allocations: 3.25 kB / 447.6 MB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/2.994, allocations: 3.703 kB / 447.6 MB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/3.006, allocations: 4.273 MB / 451.9 MB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/3.006, allocations: 0 / 451.9 MB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/3.008, allocations: 170.8 kB / 452.1 MB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/3.011, allocations: 0.6997 MB / 452.8 MB, free: 103.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/3.012, allocations: 14.81 kB / 452.8 MB, free: 103.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/3.028, allocations: 9.759 MB / 462.5 MB, free: 96.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/3.028, allocations: 7.516 kB / 462.5 MB, free: 96.62 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00918/3.037, allocations: 3.206 MB / 465.8 MB, free: 95.3 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01651/3.054, allocations: 4.672 MB / 470.4 MB, free: 93.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/3.056, allocations: 395.7 kB / 470.8 MB, free: 92.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/3.057, allocations: 11.56 kB / 470.8 MB, free: 92.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/3.06, allocations: 48.89 kB / 470.9 MB, free: 92.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/3.061, allocations: 78.86 kB / 470.9 MB, free: 92.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/3.061, allocations: 38.09 kB / 471 MB, free: 92.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002975/3.064, allocations: 0.8371 MB / 471.8 MB, free: 92.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006694/3.071, allocations: 472.9 kB / 472.3 MB, free: 92.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.0007532/3.072, allocations: 180.6 kB / 472.5 MB, free: 92.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008099/3.08, allocations: 2.192 MB / 474.7 MB, free: 91.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/3.08, allocations: 3.812 kB / 474.7 MB, free: 91.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/3.084, allocations: 1.428 MB / 476.1 MB, free: 90.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/3.087, allocations: 327.6 kB / 476.4 MB, free: 90.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/3.106, allocations: 3.742 MB / 480.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003791/3.109, allocations: 2.14 MB / 482.3 MB, free: 87.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/3.109, allocations: 0 / 482.3 MB, free: 87.5 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat