Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_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.819/1.819, allocations: 171.2 MB / 178.2 MB, free: 6.703 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1511/1.97, allocations: 41.08 MB / 219.2 MB, free: 13.54 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/2.183, allocations: 38.77 MB / 258 MB, free: 5.207 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/2.351, allocations: 68.64 MB / 326.6 MB, free: 476 kB / 275.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/2.352, allocations: 63.97 kB / 326.7 MB, free: 412 kB / 275.1 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.04971/2.401, allocations: 8.834 MB / 335.5 MB, free: 7.496 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/2.401, allocations: 12 kB / 335.6 MB, free: 7.484 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/2.402, allocations: 67.16 kB / 335.6 MB, free: 7.418 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/2.403, allocations: 367.4 kB / 336 MB, free: 7.016 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/2.403, allocations: 19.94 kB / 336 MB, free: 6.996 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/2.403, allocations: 28 kB / 336 MB, free: 6.969 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/2.404, allocations: 370.6 kB / 336.4 MB, free: 6.605 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/2.406, allocations: 451.8 kB / 336.8 MB, free: 6.133 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/2.406, allocations: 4 kB / 336.8 MB, free: 6.129 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/2.406, allocations: 0 / 336.8 MB, free: 6.129 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/2.406, allocations: 15.94 kB / 336.8 MB, free: 6.113 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/2.413, allocations: 1.974 MB / 338.8 MB, free: 4.062 MB / 291.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/2.414, allocations: 243.1 kB / 339.1 MB, free: 3.82 MB / 291.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/2.415, allocations: 349.8 kB / 339.4 MB, free: 3.473 MB / 291.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.339e-05/2.415, allocations: 12.48 kB / 339.4 MB, free: 3.457 MB / 291.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/2.415, allocations: 35.06 kB / 339.4 MB, free: 3.414 MB / 291.1 MB Notification: Performance of pre-optimization done (n=60): time 6.462e-06/2.415, allocations: 0 / 339.4 MB, free: 3.414 MB / 291.1 MB Notification: Performance of matching and sorting (n=61): time 0.005216/2.42, allocations: 1.146 MB / 340.6 MB, free: 2.207 MB / 291.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/2.421, allocations: 59.91 kB / 340.7 MB, free: 2.137 MB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/2.421, allocations: 270.1 kB / 340.9 MB, free: 1.867 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/2.422, allocations: 25.7 kB / 340.9 MB, free: 1.836 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/2.422, allocations: 201 kB / 341.1 MB, free: 1.633 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/2.422, allocations: 193 kB / 341.3 MB, free: 1.441 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/2.422, allocations: 0 / 341.3 MB, free: 1.441 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.0003219/2.423, allocations: 350.8 kB / 341.7 MB, free: 1.09 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/2.424, allocations: 137.3 kB / 341.8 MB, free: 0.9531 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/2.425, allocations: 183.6 kB / 342 MB, free: 0.7695 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/2.425, allocations: 151.2 kB / 342.1 MB, free: 0.6211 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.425, allocations: 0 / 342.1 MB, free: 0.6211 MB / 291.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002062/2.427, allocations: 0.5768 MB / 342.7 MB, free: 24 kB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/2.427, allocations: 8 kB / 342.7 MB, free: 16 kB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/2.427, allocations: 0 / 342.7 MB, free: 16 kB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1186/2.546, allocations: 248.8 kB / 343 MB, free: 103.7 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/2.547, allocations: 75.16 kB / 343 MB, free: 103.7 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008582/2.555, allocations: 6.387 MB / 349.4 MB, free: 98.73 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009573/2.556, allocations: 11.53 kB / 349.4 MB, free: 98.73 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/2.557, allocations: 20.88 kB / 349.4 MB, free: 98.73 MB / 291.1 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.0002763/2.557, allocations: 111.5 kB / 349.6 MB, free: 98.62 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/2.557, allocations: 52.34 kB / 349.6 MB, free: 98.61 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/2.557, allocations: 58.25 kB / 349.7 MB, free: 98.6 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/2.557, allocations: 3.531 kB / 349.7 MB, free: 98.6 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/2.557, allocations: 7.031 kB / 349.7 MB, free: 98.6 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/2.558, allocations: 0 / 349.7 MB, free: 98.6 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005313/2.563, allocations: 1.161 MB / 350.8 MB, free: 98.3 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/2.563, allocations: 0 / 350.8 MB, free: 98.3 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/2.564, allocations: 60.23 kB / 350.9 MB, free: 98.3 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/2.566, allocations: 251.5 kB / 351.1 MB, free: 98.26 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/2.566, allocations: 0 / 351.1 MB, free: 98.26 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009229/2.575, allocations: 6.397 MB / 357.5 MB, free: 93.12 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/2.575, allocations: 3.906 kB / 357.5 MB, free: 93.11 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002214/2.577, allocations: 0.9035 MB / 358.4 MB, free: 92.91 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004145/2.582, allocations: 1.992 MB / 360.4 MB, free: 91.93 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/2.582, allocations: 158.5 kB / 360.6 MB, free: 91.79 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/2.582, allocations: 2.469 kB / 360.6 MB, free: 91.79 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/2.583, allocations: 13.59 kB / 360.6 MB, free: 91.79 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/2.583, allocations: 45.94 kB / 360.7 MB, free: 91.77 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/2.583, allocations: 19.81 kB / 360.7 MB, free: 91.77 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.0003257/2.583, allocations: 218.6 kB / 360.9 MB, free: 91.64 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.002198/2.585, allocations: 150.3 kB / 361 MB, free: 91.64 MB / 291.1 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.0002584/2.586, allocations: 103.5 kB / 361.1 MB, free: 91.55 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/2.588, allocations: 0.8657 MB / 362 MB, free: 90.98 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/2.588, allocations: 0 / 362 MB, free: 90.98 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/2.589, allocations: 0.6945 MB / 362.7 MB, free: 90.48 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/2.59, allocations: 45.97 kB / 362.7 MB, free: 90.46 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/2.594, allocations: 1.006 MB / 363.7 MB, free: 90 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/2.594, allocations: 0.9247 MB / 364.7 MB, free: 89.28 MB / 291.1 MB Notification: Performance of SimCode: time 1.002e-06/2.594, allocations: 0 / 364.7 MB, free: 89.28 MB / 291.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat