Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.836/1.836, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2559/2.092, allocations: 46.85 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/2.2, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/2.494, allocations: 75.45 MB / 369.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/2.494, allocations: 82.05 kB / 369.4 MB, free: 7.07 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.03225/2.527, allocations: 7.37 MB / 376.8 MB, free: 6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/2.527, allocations: 7.688 kB / 376.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/2.527, allocations: 54.66 kB / 376.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/2.528, allocations: 362.3 kB / 377.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/2.528, allocations: 23.61 kB / 377.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/2.528, allocations: 26.69 kB / 377.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/2.529, allocations: 266.8 kB / 377.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/2.53, allocations: 381.5 kB / 377.9 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/2.53, allocations: 3.906 kB / 377.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/2.53, allocations: 7.875 kB / 377.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/2.531, allocations: 7.75 kB / 377.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/2.534, allocations: 1.746 MB / 379.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/2.535, allocations: 309.6 kB / 379.9 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/2.535, allocations: 208.1 kB / 380.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/2.535, allocations: 4.172 kB / 380.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/2.536, allocations: 225.9 kB / 380.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/2.536, allocations: 0 / 380.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001532/2.537, allocations: 378 kB / 380.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/2.538, allocations: 85 kB / 380.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/2.538, allocations: 251.6 kB / 381.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/2.538, allocations: 29.45 kB / 381.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/2.538, allocations: 186.3 kB / 381.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/2.538, allocations: 133.6 kB / 381.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/2.539, allocations: 0 / 381.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/2.539, allocations: 343.7 kB / 381.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/2.539, allocations: 101.2 kB / 381.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/2.539, allocations: 224.8 kB / 382.1 MB, free: 19.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/2.54, allocations: 123.3 kB / 382.2 MB, free: 19.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.54, allocations: 3.781 kB / 382.2 MB, free: 19.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001225/2.541, allocations: 448.5 kB / 382.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/2.541, allocations: 3.875 kB / 382.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/2.541, allocations: 3.844 kB / 382.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/2.542, allocations: 138.2 kB / 382.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/2.542, allocations: 73.19 kB / 382.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/2.546, allocations: 2.028 MB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/2.547, allocations: 39.17 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/2.547, allocations: 15.44 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002295/2.547, allocations: 126.8 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.547, allocations: 35 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/2.547, allocations: 41.19 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/2.547, allocations: 3.875 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.548, allocations: 3.875 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/2.548, allocations: 3.984 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/2.548, allocations: 421 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/2.548, allocations: 3.938 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/2.549, allocations: 43.02 kB / 385.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006372/2.549, allocations: 138.8 kB / 385.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/2.549, allocations: 7.891 kB / 385.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/2.553, allocations: 2.026 MB / 387.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/2.553, allocations: 3.906 kB / 387.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001664/2.555, allocations: 0.5888 MB / 388.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002106/2.557, allocations: 1.14 MB / 389.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/2.557, allocations: 148.4 kB / 389.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/2.557, allocations: 2.688 kB / 389.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/2.558, allocations: 15.77 kB / 389.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/2.558, allocations: 18.84 kB / 389.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/2.558, allocations: 15.08 kB / 389.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003028/2.558, allocations: 189.9 kB / 389.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001619/2.56, allocations: 124.7 kB / 390 MB, free: 14.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/2.56, allocations: 110.7 kB / 390.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/2.562, allocations: 466.5 kB / 390.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/2.562, allocations: 3.984 kB / 390.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/2.562, allocations: 305.2 kB / 390.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/2.563, allocations: 53.81 kB / 390.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/2.565, allocations: 0.5718 MB / 391.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/2.566, allocations: 0.8721 MB / 392.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.775e-06/2.566, allocations: 0 / 392.3 MB, free: 13.4 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat