Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.669/1.669, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/1.91, allocations: 46.84 MB / 249.4 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/1.999, allocations: 44.5 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/2.28, allocations: 74.48 MB / 368.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/2.281, allocations: 83.02 kB / 368.5 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0262/2.307, allocations: 6.461 MB / 374.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/2.307, allocations: 7.75 kB / 375 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/2.307, allocations: 47.23 kB / 375 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/2.308, allocations: 336.8 kB / 375.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/2.308, allocations: 12.25 kB / 375.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/2.308, allocations: 23.09 kB / 375.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000689/2.309, allocations: 208.1 kB / 375.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/2.309, allocations: 316.6 kB / 375.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/2.309, allocations: 3.938 kB / 375.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/2.309, allocations: 1.172 kB / 375.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.31, allocations: 7.688 kB / 375.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/2.312, allocations: 1.391 MB / 377.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/2.313, allocations: 199.9 kB / 377.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/2.313, allocations: 149 kB / 377.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/2.313, allocations: 240 / 377.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/2.314, allocations: 186.2 kB / 377.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/2.314, allocations: 3.938 kB / 377.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009867/2.315, allocations: 289.8 kB / 378.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/2.315, allocations: 107.7 kB / 378.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/2.315, allocations: 243.3 kB / 378.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/2.315, allocations: 26.36 kB / 378.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/2.315, allocations: 183.6 kB / 378.6 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/2.315, allocations: 93.64 kB / 378.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/2.316, allocations: 0 / 378.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/2.316, allocations: 340.8 kB / 379.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/2.316, allocations: 73.77 kB / 379.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/2.316, allocations: 189.4 kB / 379.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/2.317, allocations: 97.12 kB / 379.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/2.317, allocations: 0 / 379.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008869/2.317, allocations: 335.6 kB / 379.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/2.317, allocations: 3.906 kB / 379.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.317, allocations: 5.047 kB / 379.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/2.318, allocations: 84.83 kB / 379.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/2.318, allocations: 58 kB / 379.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/2.321, allocations: 1.594 MB / 381.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/2.321, allocations: 39.33 kB / 381.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/2.321, allocations: 15.41 kB / 381.5 MB, free: 18.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/2.322, allocations: 129.1 kB / 381.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/2.322, allocations: 38.55 kB / 381.7 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/2.322, allocations: 38.19 kB / 381.7 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/2.322, allocations: 0 / 381.7 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.322, allocations: 7.875 kB / 381.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/2.322, allocations: 0 / 381.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/2.323, allocations: 0.4958 MB / 382.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/2.323, allocations: 3.719 kB / 382.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/2.323, allocations: 34.95 kB / 382.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/2.323, allocations: 78.66 kB / 382.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/2.323, allocations: 3.984 kB / 382.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/2.326, allocations: 1.6 MB / 384 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.326, allocations: 0 / 384 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001183/2.327, allocations: 459.2 kB / 384.4 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001611/2.329, allocations: 0.9261 MB / 385.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/2.329, allocations: 136.7 kB / 385.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/2.329, allocations: 3.906 kB / 385.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/2.329, allocations: 19.67 kB / 385.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/2.329, allocations: 19.22 kB / 385.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/2.329, allocations: 15.3 kB / 385.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002558/2.33, allocations: 182.3 kB / 385.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00151/2.331, allocations: 97.34 kB / 385.8 MB, free: 15.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.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 (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/2.331, allocations: 121.7 kB / 385.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008102/2.332, allocations: 337.8 kB / 386.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.332, allocations: 0 / 386.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/2.333, allocations: 233.9 kB / 386.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/2.333, allocations: 38.59 kB / 386.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/2.335, allocations: 490.7 kB / 387 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/2.335, allocations: 0.8376 MB / 387.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/2.335, allocations: 4 kB / 387.8 MB, free: 14.39 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat