Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_Rectifier",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.729/1.729, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2597/1.989, allocations: 46.82 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/2.082, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/2.37, allocations: 75.46 MB / 369.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/2.37, allocations: 67.06 kB / 369.4 MB, free: 7.113 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.07579/2.446, allocations: 17.16 MB / 386.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/2.446, allocations: 7.719 kB / 386.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/2.447, allocations: 120.2 kB / 386.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/2.448, allocations: 0.726 MB / 387.4 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/2.448, allocations: 27.09 kB / 387.5 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/2.449, allocations: 54.78 kB / 387.5 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002602/2.451, allocations: 0.9858 MB / 388.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/2.454, allocations: 1.074 MB / 389.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/2.454, allocations: 3.938 kB / 389.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/2.454, allocations: 3.875 kB / 389.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/2.454, allocations: 19.16 kB / 389.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00922/2.463, allocations: 3.654 MB / 393.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/2.464, allocations: 498 kB / 393.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/2.467, allocations: 0.875 MB / 394.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.47e-05/2.467, allocations: 15.2 kB / 394.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/2.467, allocations: 38.75 kB / 394.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 6.412e-06/2.467, allocations: 0 / 394.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005972/2.473, allocations: 2.14 MB / 396.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/2.473, allocations: 58.94 kB / 396.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/2.474, allocations: 0.5723 MB / 397.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/2.475, allocations: 27.27 kB / 397.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/2.475, allocations: 320.2 kB / 397.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/2.475, allocations: 229.9 kB / 398 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/2.475, allocations: 1.406 kB / 398 MB, free: 13.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/2.475, allocations: 381.5 kB / 398.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008548/2.476, allocations: 346.3 kB / 398.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009355/2.477, allocations: 397.6 kB / 399.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/2.478, allocations: 385.7 kB / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.478, allocations: 0 / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003154/2.481, allocations: 1.127 MB / 400.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/2.481, allocations: 8.781 kB / 400.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/2.481, allocations: 0 / 400.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/2.483, allocations: 463.2 kB / 401.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/2.484, allocations: 101.7 kB / 401.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/2.497, allocations: 7.946 MB / 409.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/2.498, allocations: 16.83 kB / 409.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/2.498, allocations: 20.86 kB / 409.2 MB, free: 7.117 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 42 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/2.498, allocations: 122.8 kB / 409.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/2.499, allocations: 74.5 kB / 409.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/2.499, allocations: 92.56 kB / 409.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/2.499, allocations: 11.66 kB / 409.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/2.499, allocations: 2.094 kB / 409.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/2.499, allocations: 3.984 kB / 409.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/2.506, allocations: 2.323 MB / 411.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/2.506, allocations: 1.219 kB / 411.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/2.507, allocations: 87.5 kB / 411.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/2.509, allocations: 451.5 kB / 412.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.248e-05/2.509, allocations: 10.7 kB / 412.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/2.522, allocations: 7.869 MB / 420.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/2.522, allocations: 3.984 kB / 420.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004789/2.527, allocations: 1.809 MB / 422 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006171/2.533, allocations: 2.756 MB / 424.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/2.534, allocations: 240.1 kB / 425 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/2.534, allocations: 4 kB / 425 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/2.535, allocations: 19.97 kB / 425 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/2.535, allocations: 52.58 kB / 425.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/2.535, allocations: 16 kB / 425.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001022/2.536, allocations: 466.8 kB / 425.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002716/2.539, allocations: 215.9 kB / 425.8 MB, free: 8.496 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * 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 (39): * Single equations (assignments): 35 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/2.539, allocations: 115 kB / 425.9 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003344/2.543, allocations: 1.31 MB / 427.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.543, allocations: 0 / 427.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/2.545, allocations: 0.9427 MB / 428.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/2.547, allocations: 158.1 kB / 428.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/2.553, allocations: 1.804 MB / 430.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/2.555, allocations: 1.298 MB / 431.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/2.555, allocations: 0 / 431.4 MB, free: 2.719 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat