Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.816/1.816, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2657/2.082, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/2.175, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/2.472, allocations: 77.83 MB / 371.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/2.473, allocations: 87.55 kB / 371.8 MB, free: 7.109 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.1138/2.587, allocations: 21.95 MB / 393.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/2.587, allocations: 9.5 kB / 393.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/2.587, allocations: 149.2 kB / 393.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/2.591, allocations: 0.9507 MB / 394.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/2.591, allocations: 32.25 kB / 394.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/2.591, allocations: 67.7 kB / 395 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004112/2.595, allocations: 1.254 MB / 396.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/2.6, allocations: 1.356 MB / 397.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/2.6, allocations: 5.312 kB / 397.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/2.6, allocations: 5.359 kB / 397.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.302e-05/2.6, allocations: 49.16 kB / 397.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/2.615, allocations: 4.808 MB / 402.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/2.618, allocations: 0.835 MB / 403.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/2.62, allocations: 0.7155 MB / 404 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/2.62, allocations: 7 kB / 404 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/2.621, allocations: 0.5467 MB / 404.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 5.45e-06/2.622, allocations: 0 / 404.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00423/2.626, allocations: 1.142 MB / 405.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/2.626, allocations: 101.2 kB / 405.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/2.628, allocations: 0.7728 MB / 406.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/2.629, allocations: 30.95 kB / 406.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/2.629, allocations: 407.7 kB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/2.63, allocations: 221.9 kB / 407.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/2.63, allocations: 0 / 407.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/2.63, allocations: 331.9 kB / 407.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/2.631, allocations: 379.5 kB / 407.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/2.632, allocations: 0.508 MB / 408.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/2.634, allocations: 417.8 kB / 408.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/2.634, allocations: 6.312 kB / 408.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003809/2.638, allocations: 1.168 MB / 410 MB, free: 9.246 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/2.638, allocations: 7.938 kB / 410 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/2.638, allocations: 4.438 kB / 410 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/2.639, allocations: 404.7 kB / 410.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.641, allocations: 115.2 kB / 410.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008834/2.65, allocations: 3.692 MB / 414.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/2.651, allocations: 67.5 kB / 414.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/2.651, allocations: 31.83 kB / 414.3 MB, free: 5.344 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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002801/2.651, allocations: 130.6 kB / 414.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/2.652, allocations: 86.97 kB / 414.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/2.652, allocations: 112.1 kB / 414.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.652, allocations: 8 kB / 414.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.652, allocations: 0 / 414.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/2.652, allocations: 3.984 kB / 414.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/2.659, allocations: 2.34 MB / 417 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/2.659, allocations: 0 / 417 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/2.66, allocations: 95.88 kB / 417.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/2.661, allocations: 384.8 kB / 417.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/2.661, allocations: 3.984 kB / 417.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008541/2.67, allocations: 3.645 MB / 421.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.67, allocations: 4 kB / 421.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004874/2.675, allocations: 1.852 MB / 423 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006832/2.682, allocations: 2.876 MB / 425.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/2.683, allocations: 287.7 kB / 426.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/2.683, allocations: 3.984 kB / 426.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/2.684, allocations: 36.09 kB / 426.2 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/2.685, allocations: 52.56 kB / 426.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/2.685, allocations: 24 kB / 426.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001728/2.687, allocations: 0.6123 MB / 426.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002878/2.69, allocations: 310.8 kB / 427.2 MB, free: 8.293 MB / 330.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004878/2.69, allocations: 123.1 kB / 427.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/2.694, allocations: 1.105 MB / 428.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/2.694, allocations: 3.828 kB / 428.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/2.696, allocations: 0.6912 MB / 429.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/2.698, allocations: 191.3 kB / 429.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009349/2.708, allocations: 2.115 MB / 431.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/2.71, allocations: 1.439 MB / 432.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of SimCode: time 1.664e-06/2.71, allocations: 0 / 432.8 MB, free: 2.543 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat