Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.68/1.68, allocations: 194.9 MB / 202.6 MB, free: 14.24 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2286/1.908, allocations: 46.84 MB / 249.4 MB, free: 14.18 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/2.002, allocations: 44.5 MB / 293.9 MB, free: 1.594 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/2.291, allocations: 86.84 MB / 380.8 MB, free: 3.098 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/2.292, allocations: 89.41 kB / 380.8 MB, free: 3.082 MB / 290.8 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.5327/2.824, allocations: 120.4 MB / 0.4895 GB, free: 2.203 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/2.824, allocations: 8 kB / 0.4895 GB, free: 2.195 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/2.828, allocations: 0.5644 MB / 0.49 GB, free: 1.625 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1487/2.977, allocations: 2.741 MB / 0.4927 GB, free: 105.7 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/2.977, allocations: 130 kB / 0.4928 GB, free: 105.7 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/2.978, allocations: 231.8 kB / 0.4931 GB, free: 105.7 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01343/2.992, allocations: 4.408 MB / 0.4974 GB, free: 105.7 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/3.007, allocations: 5.094 MB / 0.5023 GB, free: 105.2 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/3.007, allocations: 6.688 kB / 0.5023 GB, free: 105.2 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006014/3.008, allocations: 3.438 kB / 0.5023 GB, free: 105.2 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/3.008, allocations: 215.5 kB / 0.5026 GB, free: 105.1 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/3.05, allocations: 15.81 MB / 0.518 GB, free: 102.7 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00762/3.057, allocations: 3.336 MB / 0.5212 GB, free: 102.6 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006011/3.063, allocations: 2.796 MB / 0.524 GB, free: 102.5 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/3.064, allocations: 149.6 kB / 0.5241 GB, free: 102.5 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/3.064, allocations: 64.03 kB / 0.5242 GB, free: 102.4 MB / 402.8 MB Notification: Performance of pre-optimization done (n=249): time 5.421e-06/3.064, allocations: 0 / 0.5242 GB, free: 102.4 MB / 402.8 MB Notification: Performance of matching and sorting (n=256): time 0.02178/3.086, allocations: 7.604 MB / 0.5316 GB, free: 101.3 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/3.086, allocations: 82.48 kB / 0.5317 GB, free: 101.2 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/3.09, allocations: 1.857 MB / 0.5335 GB, free: 101 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004686/3.091, allocations: 25.7 kB / 0.5335 GB, free: 101 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/3.091, allocations: 1.289 MB / 0.5348 GB, free: 100.5 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/3.092, allocations: 0.8088 MB / 0.5356 GB, free: 99.95 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/3.093, allocations: 0 / 0.5356 GB, free: 99.95 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001774/3.093, allocations: 404 kB / 0.536 GB, free: 99.64 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/3.096, allocations: 1.317 MB / 0.5372 GB, free: 99.64 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/3.099, allocations: 1.598 MB / 0.5388 GB, free: 99.41 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/3.103, allocations: 1.562 MB / 0.5403 GB, free: 99.36 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/3.103, allocations: 3.906 kB / 0.5403 GB, free: 99.36 MB / 402.8 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01162/3.114, allocations: 4.242 MB / 0.5445 GB, free: 98.91 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/3.115, allocations: 7.562 kB / 0.5445 GB, free: 98.91 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/3.115, allocations: 7.25 kB / 0.5445 GB, free: 98.91 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005918/3.121, allocations: 1.416 MB / 0.5459 GB, free: 98.48 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/3.124, allocations: 392.6 kB / 0.5463 GB, free: 98.46 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/3.156, allocations: 21.93 MB / 0.5677 GB, free: 81.97 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/3.159, allocations: 36.62 kB / 0.5677 GB, free: 81.97 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/3.159, allocations: 83.66 kB / 0.5678 GB, free: 81.95 MB / 402.8 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.0005862/3.16, allocations: 148.5 kB / 0.5679 GB, free: 81.84 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/3.16, allocations: 262.4 kB / 0.5682 GB, free: 81.71 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/3.171, allocations: 4.001 MB / 0.5721 GB, free: 80.2 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/3.172, allocations: 23.5 kB / 0.5721 GB, free: 80.2 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/3.172, allocations: 9.375 kB / 0.5721 GB, free: 80.2 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/3.172, allocations: 13.45 kB / 0.5721 GB, free: 80.2 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/3.194, allocations: 8.074 MB / 0.58 GB, free: 77.16 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/3.194, allocations: 0 / 0.58 GB, free: 77.16 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/3.197, allocations: 307.2 kB / 0.5803 GB, free: 77.14 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005917/3.203, allocations: 1.393 MB / 0.5817 GB, free: 76.73 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003499/3.204, allocations: 23.11 kB / 0.5817 GB, free: 76.72 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/3.235, allocations: 21.89 MB / 0.6031 GB, free: 57.98 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/3.235, allocations: 3.75 kB / 0.6031 GB, free: 57.98 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01473/3.25, allocations: 6.091 MB / 0.609 GB, free: 52.59 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01863/3.269, allocations: 8.587 MB / 0.6174 GB, free: 44.97 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/3.271, allocations: 0.6549 MB / 0.618 GB, free: 44.37 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006995/3.272, allocations: 15.61 kB / 0.6181 GB, free: 44.36 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/3.275, allocations: 76.97 kB / 0.6181 GB, free: 44.31 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007679/3.276, allocations: 153 kB / 0.6183 GB, free: 44.22 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/3.276, allocations: 67.7 kB / 0.6183 GB, free: 44.16 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.00336/3.279, allocations: 1.416 MB / 0.6197 GB, free: 42.88 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.006474/3.286, allocations: 0.8445 MB / 0.6205 GB, free: 42.04 MB / 402.8 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.0008719/3.287, allocations: 220.8 kB / 0.6208 GB, free: 41.87 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.01017/3.297, allocations: 4.47 MB / 0.6251 GB, free: 37.77 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/3.297, allocations: 4 kB / 0.6251 GB, free: 37.77 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007143/3.304, allocations: 3 MB / 0.6281 GB, free: 35 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00565/3.31, allocations: 0.5867 MB / 0.6286 GB, free: 34.55 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/3.332, allocations: 7.025 MB / 0.6355 GB, free: 28.66 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005686/3.338, allocations: 3.361 MB / 0.6388 GB, free: 26.09 MB / 402.8 MB Notification: Performance of SimCode: time 1.493e-06/3.338, allocations: 3.375 kB / 0.6388 GB, free: 26.09 MB / 402.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat