Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.634/1.634, allocations: 194.9 MB / 202.5 MB, free: 14.22 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.241/1.875, allocations: 46.85 MB / 249.4 MB, free: 14.22 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/1.971, allocations: 44.51 MB / 293.9 MB, free: 1.633 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/2.256, allocations: 77.82 MB / 371.7 MB, free: 5.566 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/2.256, allocations: 87.34 kB / 371.8 MB, free: 5.551 MB / 290.8 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.08812/2.344, allocations: 21.94 MB / 393.7 MB, free: 9.566 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.344, allocations: 8 kB / 393.7 MB, free: 9.559 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/2.345, allocations: 154.1 kB / 393.9 MB, free: 9.406 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/2.348, allocations: 0.9619 MB / 394.8 MB, free: 8.629 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/2.348, allocations: 36 kB / 394.9 MB, free: 8.594 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/2.348, allocations: 60 kB / 394.9 MB, free: 8.535 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003579/2.352, allocations: 1.254 MB / 396.2 MB, free: 7.758 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003592/2.355, allocations: 1.358 MB / 397.5 MB, free: 6.734 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/2.355, allocations: 4 kB / 397.5 MB, free: 6.73 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/2.355, allocations: 0 / 397.5 MB, free: 6.73 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/2.355, allocations: 49.08 kB / 397.6 MB, free: 6.684 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/2.368, allocations: 4.806 MB / 402.4 MB, free: 2.859 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/2.37, allocations: 0.8396 MB / 403.2 MB, free: 2.293 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/2.372, allocations: 0.7112 MB / 404 MB, free: 1.789 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/2.372, allocations: 8.656 kB / 404 MB, free: 1.781 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/2.374, allocations: 0.5476 MB / 404.5 MB, free: 1.375 MB / 306.8 MB Notification: Performance of pre-optimization done (n=72): time 4.198e-06/2.374, allocations: 0 / 404.5 MB, free: 1.375 MB / 306.8 MB Notification: Performance of matching and sorting (n=72): time 0.003707/2.377, allocations: 1.143 MB / 405.6 MB, free: 0.5352 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/2.378, allocations: 89.33 kB / 405.7 MB, free: 444 kB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/2.38, allocations: 0.7758 MB / 406.5 MB, free: 15.84 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/2.38, allocations: 33.27 kB / 406.5 MB, free: 15.8 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/2.38, allocations: 412.9 kB / 406.9 MB, free: 15.44 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/2.381, allocations: 221.3 kB / 407.2 MB, free: 15.25 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/2.381, allocations: 0 / 407.2 MB, free: 15.25 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 0.0001768/2.381, allocations: 335.8 kB / 407.5 MB, free: 14.93 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/2.382, allocations: 373.6 kB / 407.9 MB, free: 14.7 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/2.383, allocations: 0.5087 MB / 408.4 MB, free: 14.28 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/2.384, allocations: 422 kB / 408.8 MB, free: 13.98 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/2.384, allocations: 0 / 408.8 MB, free: 13.98 MB / 322.8 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003706/2.388, allocations: 1.179 MB / 410 MB, free: 12.8 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/2.388, allocations: 4 kB / 410 MB, free: 12.79 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/2.388, allocations: 7.984 kB / 410 MB, free: 12.79 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/2.39, allocations: 399.6 kB / 410.4 MB, free: 12.39 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/2.391, allocations: 115.8 kB / 410.5 MB, free: 12.28 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008866/2.4, allocations: 3.701 MB / 414.2 MB, free: 8.453 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/2.401, allocations: 63.41 kB / 414.2 MB, free: 8.391 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/2.401, allocations: 28 kB / 414.3 MB, free: 8.363 MB / 322.8 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.0003851/2.402, allocations: 126.4 kB / 414.4 MB, free: 8.234 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/2.402, allocations: 94.86 kB / 414.5 MB, free: 8.141 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/2.403, allocations: 104.2 kB / 414.6 MB, free: 8.035 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/2.403, allocations: 4 kB / 414.6 MB, free: 8.031 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/2.403, allocations: 4 kB / 414.6 MB, free: 8.027 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/2.403, allocations: 7.984 kB / 414.6 MB, free: 8.02 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008777/2.412, allocations: 2.34 MB / 416.9 MB, free: 5.645 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/2.412, allocations: 0 / 416.9 MB, free: 5.645 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/2.413, allocations: 79.89 kB / 417 MB, free: 5.566 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/2.416, allocations: 396.9 kB / 417.4 MB, free: 5.176 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/2.416, allocations: 7.906 kB / 417.4 MB, free: 5.168 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.427, allocations: 3.634 MB / 421 MB, free: 1.418 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.427, allocations: 0 / 421 MB, free: 1.418 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006011/2.433, allocations: 1.859 MB / 422.9 MB, free: 15.54 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00891/2.442, allocations: 2.879 MB / 425.8 MB, free: 12.64 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/2.444, allocations: 283.7 kB / 426.1 MB, free: 12.34 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/2.444, allocations: 4 kB / 426.1 MB, free: 12.34 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/2.446, allocations: 39.95 kB / 426.1 MB, free: 12.3 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/2.446, allocations: 52.58 kB / 426.2 MB, free: 12.25 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/2.446, allocations: 23.98 kB / 426.2 MB, free: 12.23 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.002003/2.448, allocations: 0.6084 MB / 426.8 MB, free: 11.62 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.003981/2.452, allocations: 310.9 kB / 427.1 MB, free: 11.32 MB / 338.8 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.0005287/2.453, allocations: 119.3 kB / 427.2 MB, free: 11.19 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.004124/2.457, allocations: 1.109 MB / 428.3 MB, free: 10.07 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.457, allocations: 4.375 kB / 428.3 MB, free: 10.07 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/2.459, allocations: 0.6864 MB / 429 MB, free: 9.367 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/2.462, allocations: 187.1 kB / 429.2 MB, free: 9.184 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/2.473, allocations: 2.106 MB / 431.3 MB, free: 7.047 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003283/2.477, allocations: 1.447 MB / 432.7 MB, free: 5.574 MB / 338.8 MB Notification: Performance of SimCode: time 2.385e-06/2.477, allocations: 0 / 432.7 MB, free: 5.574 MB / 338.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat