Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_Rectifier",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.802/1.802, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2203/2.022, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/2.113, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/2.398, allocations: 73.92 MB / 367.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/2.399, allocations: 64.78 kB / 367.8 MB, free: 7.121 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.03673/2.435, allocations: 9.24 MB / 377.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/2.436, allocations: 7.875 kB / 377.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/2.436, allocations: 73.8 kB / 377.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/2.436, allocations: 367.4 kB / 377.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/2.436, allocations: 15.72 kB / 377.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/2.436, allocations: 34.91 kB / 377.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/2.438, allocations: 381.9 kB / 377.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/2.439, allocations: 438.6 kB / 378.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/2.439, allocations: 9.469 kB / 378.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/2.439, allocations: 0 / 378.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/2.439, allocations: 11.62 kB / 378.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/2.443, allocations: 1.976 MB / 380.3 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/2.444, allocations: 235.2 kB / 380.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/2.444, allocations: 361.6 kB / 380.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/2.445, allocations: 8.25 kB / 380.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/2.445, allocations: 41.94 kB / 381 MB, free: 3.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 3.787e-06/2.445, allocations: 0 / 381 MB, free: 3.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003118/2.448, allocations: 1.147 MB / 382.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/2.448, allocations: 59.81 kB / 382.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/2.448, allocations: 272.6 kB / 382.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/2.448, allocations: 25.7 kB / 382.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/2.448, allocations: 192.3 kB / 382.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/2.449, allocations: 196.2 kB / 382.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/2.449, allocations: 0 / 382.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/2.449, allocations: 351.8 kB / 383.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/2.449, allocations: 147.1 kB / 383.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/2.45, allocations: 180 kB / 383.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/2.45, allocations: 146.7 kB / 383.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/2.45, allocations: 3.984 kB / 383.7 MB, free: 18.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001669/2.452, allocations: 0.5743 MB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/2.452, allocations: 9.438 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.452, allocations: 0 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/2.453, allocations: 243 kB / 384.5 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/2.454, allocations: 74.33 kB / 384.6 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00852/2.462, allocations: 6.391 MB / 390.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/2.463, allocations: 11.8 kB / 391 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/2.463, allocations: 15.03 kB / 391 MB, free: 12.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0001795/2.463, allocations: 112.8 kB / 391.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/2.463, allocations: 51.03 kB / 391.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/2.464, allocations: 64.53 kB / 391.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/2.464, allocations: 7.844 kB / 391.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/2.464, allocations: 0 / 391.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/2.464, allocations: 0 / 391.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/2.466, allocations: 1.162 MB / 392.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/2.466, allocations: 0 / 392.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/2.467, allocations: 65.7 kB / 392.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/2.468, allocations: 250.5 kB / 392.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/2.468, allocations: 0 / 392.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00805/2.476, allocations: 6.408 MB / 399.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/2.476, allocations: 0 / 399.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002172/2.478, allocations: 0.9063 MB / 400 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003832/2.482, allocations: 1.997 MB / 402 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/2.483, allocations: 153.9 kB / 402.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/2.483, allocations: 5.219 kB / 402.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/2.483, allocations: 11.48 kB / 402.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/2.483, allocations: 39.94 kB / 402.2 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/2.483, allocations: 13.69 kB / 402.2 MB, free: 5.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003118/2.484, allocations: 213.8 kB / 402.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002015/2.486, allocations: 150.3 kB / 402.6 MB, free: 5.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0002322/2.486, allocations: 106.6 kB / 402.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/2.488, allocations: 0.8638 MB / 403.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.488, allocations: 0 / 403.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/2.489, allocations: 0.6917 MB / 404.2 MB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/2.49, allocations: 56.06 kB / 404.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/2.494, allocations: 0.998 MB / 405.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008365/2.495, allocations: 0.9169 MB / 406.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/2.495, allocations: 0 / 406.2 MB, free: 3.172 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat