Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.87/1.87, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2917/2.161, allocations: 46.85 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/2.263, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/2.593, allocations: 77.26 MB / 371.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/2.594, allocations: 90.61 kB / 371.2 MB, free: 7.105 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.08447/2.678, allocations: 13.93 MB / 385.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/2.679, allocations: 11.5 kB / 385.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/2.679, allocations: 88.91 kB / 385.2 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/2.682, allocations: 0.6201 MB / 385.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/2.682, allocations: 23.34 kB / 385.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/2.682, allocations: 38.66 kB / 385.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00295/2.685, allocations: 0.696 MB / 386.6 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/2.689, allocations: 0.8061 MB / 387.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/2.689, allocations: 1.125 kB / 387.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/2.689, allocations: 3.969 kB / 387.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/2.689, allocations: 38.95 kB / 387.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/2.699, allocations: 2.69 MB / 390.2 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/2.701, allocations: 445.5 kB / 390.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/2.702, allocations: 372.7 kB / 391 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/2.702, allocations: 11.45 kB / 391 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/2.703, allocations: 331.4 kB / 391.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 5.27e-06/2.703, allocations: 7.938 kB / 391.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002535/2.706, allocations: 0.6099 MB / 391.9 MB, free: 472 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/2.706, allocations: 114.5 kB / 392 MB, free: 16.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/2.708, allocations: 474.2 kB / 392.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/2.708, allocations: 29.69 kB / 392.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/2.708, allocations: 286.8 kB / 392.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/2.709, allocations: 135.6 kB / 392.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/2.709, allocations: 3.969 kB / 392.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/2.709, allocations: 359.3 kB / 393.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/2.71, allocations: 197.5 kB / 393.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/2.711, allocations: 326.8 kB / 393.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/2.712, allocations: 224.2 kB / 394 MB, free: 15.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/2.712, allocations: 1.281 kB / 394 MB, free: 15.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002874/2.715, allocations: 0.6889 MB / 394.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/2.715, allocations: 5.156 kB / 394.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/2.715, allocations: 3.844 kB / 394.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/2.716, allocations: 209.6 kB / 394.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/2.717, allocations: 68.69 kB / 395 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/2.725, allocations: 2.564 MB / 397.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/2.726, allocations: 47.72 kB / 397.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/2.726, allocations: 20.97 kB / 397.6 MB, free: 13.4 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.000325/2.726, allocations: 124.3 kB / 397.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/2.727, allocations: 57.2 kB / 397.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/2.727, allocations: 63.23 kB / 397.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/2.727, allocations: 4.875 kB / 397.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/2.727, allocations: 0 / 397.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/2.727, allocations: 5.078 kB / 397.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007046/2.734, allocations: 1.608 MB / 399.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/2.734, allocations: 1.375 kB / 399.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/2.735, allocations: 57.28 kB / 399.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/2.736, allocations: 196.7 kB / 399.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/2.737, allocations: 7.969 kB / 399.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006459/2.743, allocations: 2.359 MB / 402.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.743, allocations: 0 / 402.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004259/2.747, allocations: 1.079 MB / 403.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005781/2.753, allocations: 1.773 MB / 404.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/2.754, allocations: 195.3 kB / 405.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/2.755, allocations: 6.078 kB / 405.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009599/2.756, allocations: 21.36 kB / 405.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/2.756, allocations: 35.73 kB / 405.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/2.756, allocations: 13.42 kB / 405.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001215/2.757, allocations: 373.2 kB / 405.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003352/2.761, allocations: 183.1 kB / 405.7 MB, free: 9.602 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/2.761, allocations: 117.1 kB / 405.9 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002635/2.764, allocations: 0.6297 MB / 406.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/2.764, allocations: 1.047 kB / 406.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/2.766, allocations: 407.8 kB / 406.9 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/2.767, allocations: 112.9 kB / 407 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/2.774, allocations: 1.087 MB / 408.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/2.776, allocations: 1.118 MB / 409.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of SimCode: time 2.244e-06/2.776, allocations: 0 / 409.2 MB, free: 7.832 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat