Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_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.628/1.628, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2317/1.86, allocations: 46.83 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/1.949, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/2.222, allocations: 73.92 MB / 367.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/2.222, allocations: 72.38 kB / 367.9 MB, free: 7.082 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.03742/2.259, allocations: 9.236 MB / 377.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/2.259, allocations: 11.72 kB / 377.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/2.26, allocations: 69.69 kB / 377.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/2.26, allocations: 370.8 kB / 377.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/2.26, allocations: 14.88 kB / 377.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/2.26, allocations: 35.19 kB / 377.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/2.262, allocations: 376.1 kB / 378 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/2.263, allocations: 443.3 kB / 378.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/2.263, allocations: 13.12 kB / 378.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/2.263, allocations: 0 / 378.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/2.263, allocations: 11.5 kB / 378.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/2.267, allocations: 1.98 MB / 380.4 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/2.267, allocations: 235 kB / 380.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/2.268, allocations: 354 kB / 381 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/2.268, allocations: 12.23 kB / 381 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/2.268, allocations: 42.44 kB / 381.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/2.268, allocations: 0 / 381.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002933/2.271, allocations: 1.133 MB / 382.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/2.271, allocations: 59.84 kB / 382.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/2.271, allocations: 278 kB / 382.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/2.272, allocations: 25.7 kB / 382.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/2.272, allocations: 193.2 kB / 382.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/2.272, allocations: 194 kB / 382.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/2.272, allocations: 0 / 382.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/2.272, allocations: 356.9 kB / 383.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/2.272, allocations: 140.6 kB / 383.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/2.273, allocations: 184.3 kB / 383.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/2.273, allocations: 150.1 kB / 383.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/2.273, allocations: 3.938 kB / 383.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001622/2.275, allocations: 0.5757 MB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/2.275, allocations: 3.844 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/2.275, allocations: 0 / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/2.276, allocations: 255.5 kB / 384.6 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/2.277, allocations: 66.09 kB / 384.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/2.285, allocations: 6.393 MB / 391 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/2.286, allocations: 11.55 kB / 391 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/2.286, allocations: 14.62 kB / 391 MB, free: 12.82 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.0001749/2.286, allocations: 116.5 kB / 391.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/2.286, allocations: 50.69 kB / 391.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/2.286, allocations: 59.97 kB / 391.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/2.286, allocations: 7.656 kB / 391.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.286, allocations: 0 / 391.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/2.286, allocations: 7.828 kB / 391.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/2.289, allocations: 1.154 MB / 392.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.289, allocations: 3.984 kB / 392.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/2.29, allocations: 61.88 kB / 392.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/2.291, allocations: 246.9 kB / 392.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/2.291, allocations: 7.984 kB / 392.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/2.299, allocations: 6.401 MB / 399.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.299, allocations: 0 / 399.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00221/2.301, allocations: 0.9055 MB / 400.1 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003997/2.305, allocations: 1.987 MB / 402 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/2.306, allocations: 157.9 kB / 402.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/2.306, allocations: 11.72 kB / 402.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/2.306, allocations: 11.53 kB / 402.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/2.306, allocations: 35 kB / 402.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/2.307, allocations: 18.23 kB / 402.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003089/2.307, allocations: 213.3 kB / 402.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002139/2.309, allocations: 144.7 kB / 402.6 MB, free: 5.453 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.0002063/2.309, allocations: 105.2 kB / 402.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/2.311, allocations: 0.8666 MB / 403.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.311, allocations: 0 / 403.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/2.313, allocations: 0.6893 MB / 404.3 MB, free: 4.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/2.313, allocations: 53.62 kB / 404.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/2.317, allocations: 1.009 MB / 405.3 MB, free: 3.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/2.317, allocations: 0.9169 MB / 406.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/2.317, allocations: 0 / 406.3 MB, free: 3.102 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat