Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.715/1.715, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2514/1.966, allocations: 46.83 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/2.054, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2901/2.344, allocations: 86.84 MB / 380.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/2.344, allocations: 81.48 kB / 380.8 MB, free: 6.145 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.5296/2.874, allocations: 120.4 MB / 0.4894 GB, free: 1.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/2.874, allocations: 11.98 kB / 0.4894 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/2.878, allocations: 0.5527 MB / 0.49 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1448/3.023, allocations: 2.753 MB / 0.4927 GB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/3.023, allocations: 126.3 kB / 0.4928 GB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/3.024, allocations: 226.8 kB / 0.493 GB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01268/3.037, allocations: 4.41 MB / 0.4973 GB, free: 90.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/3.052, allocations: 5.093 MB / 0.5023 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/3.053, allocations: 3.781 kB / 0.5023 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005825/3.053, allocations: 3.562 kB / 0.5023 GB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/3.053, allocations: 214.5 kB / 0.5025 GB, free: 90.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04233/3.096, allocations: 15.82 MB / 0.5179 GB, free: 87.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007799/3.104, allocations: 3.33 MB / 0.5212 GB, free: 87.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006118/3.11, allocations: 2.794 MB / 0.5239 GB, free: 87.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/3.11, allocations: 150 kB / 0.5241 GB, free: 87.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/3.11, allocations: 60.03 kB / 0.5241 GB, free: 87.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 5.1e-06/3.11, allocations: 0 / 0.5241 GB, free: 87.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.02193/3.132, allocations: 7.61 MB / 0.5315 GB, free: 86.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/3.132, allocations: 79.52 kB / 0.5316 GB, free: 86.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/3.137, allocations: 1.85 MB / 0.5334 GB, free: 86.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005321/3.137, allocations: 29.55 kB / 0.5335 GB, free: 86.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/3.138, allocations: 1.294 MB / 0.5347 GB, free: 85.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/3.139, allocations: 0.8091 MB / 0.5355 GB, free: 85.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/3.139, allocations: 0 / 0.5355 GB, free: 85.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/3.14, allocations: 401.7 kB / 0.5359 GB, free: 84.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/3.143, allocations: 1.31 MB / 0.5372 GB, free: 84.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/3.146, allocations: 1.598 MB / 0.5387 GB, free: 84.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/3.15, allocations: 1.569 MB / 0.5403 GB, free: 84.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/3.15, allocations: 3.906 kB / 0.5403 GB, free: 84.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01176/3.162, allocations: 4.239 MB / 0.5444 GB, free: 83.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/3.162, allocations: 7.406 kB / 0.5444 GB, free: 83.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/3.162, allocations: 5.125 kB / 0.5444 GB, free: 83.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005752/3.167, allocations: 1.418 MB / 0.5458 GB, free: 83.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/3.171, allocations: 402 kB / 0.5462 GB, free: 83.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.031/3.202, allocations: 21.92 MB / 0.5676 GB, free: 67.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/3.205, allocations: 44.22 kB / 0.5676 GB, free: 67.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005047/3.206, allocations: 77.81 kB / 0.5677 GB, free: 67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006054/3.206, allocations: 154.5 kB / 0.5679 GB, free: 66.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/3.207, allocations: 264 kB / 0.5681 GB, free: 66.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/3.218, allocations: 4 MB / 0.572 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/3.219, allocations: 25.38 kB / 0.572 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/3.219, allocations: 9.688 kB / 0.572 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/3.219, allocations: 15.33 kB / 0.5721 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/3.241, allocations: 8.071 MB / 0.5799 GB, free: 62.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/3.241, allocations: 0 / 0.5799 GB, free: 62.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/3.244, allocations: 305.7 kB / 0.5802 GB, free: 62.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/3.25, allocations: 1.391 MB / 0.5816 GB, free: 61.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/3.251, allocations: 23.53 kB / 0.5816 GB, free: 61.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/3.281, allocations: 21.89 MB / 0.603 GB, free: 45.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/3.281, allocations: 3.469 kB / 0.603 GB, free: 45.31 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01707/3.298, allocations: 6.089 MB / 0.6089 GB, free: 42.87 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01977/3.318, allocations: 8.59 MB / 0.6173 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/3.321, allocations: 0.6426 MB / 0.618 GB, free: 35.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/3.322, allocations: 18.45 kB / 0.618 GB, free: 35.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/3.325, allocations: 88.91 kB / 0.6181 GB, free: 34.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008431/3.326, allocations: 149.4 kB / 0.6182 GB, free: 34.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/3.326, allocations: 67.75 kB / 0.6183 GB, free: 34.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003524/3.33, allocations: 1.421 MB / 0.6197 GB, free: 33.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006679/3.337, allocations: 0.8386 MB / 0.6205 GB, free: 32.72 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/3.338, allocations: 224.9 kB / 0.6207 GB, free: 32.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01037/3.348, allocations: 4.471 MB / 0.6251 GB, free: 28.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/3.348, allocations: 0 / 0.6251 GB, free: 28.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007286/3.356, allocations: 3.001 MB / 0.628 GB, free: 25.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/3.361, allocations: 0.5799 MB / 0.6286 GB, free: 25.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/3.385, allocations: 7.032 MB / 0.6354 GB, free: 19.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006635/3.391, allocations: 3.36 MB / 0.6387 GB, free: 16.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/3.392, allocations: 0 / 0.6387 GB, free: 16.77 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat