Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.952/1.952, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2461/2.198, allocations: 46.85 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/2.314, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/2.62, allocations: 74.48 MB / 368.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.621, allocations: 82.8 kB / 368.4 MB, free: 7.145 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.02703/2.648, allocations: 6.449 MB / 374.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.648, allocations: 11.69 kB / 374.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/2.648, allocations: 55.12 kB / 374.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/2.649, allocations: 325.3 kB / 375.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/2.649, allocations: 12.45 kB / 375.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/2.649, allocations: 23.12 kB / 375.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006889/2.65, allocations: 207.8 kB / 375.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/2.65, allocations: 320.9 kB / 375.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/2.65, allocations: 1.531 kB / 375.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/2.65, allocations: 1.266 kB / 375.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/2.651, allocations: 7.844 kB / 375.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/2.654, allocations: 1.396 MB / 377.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/2.654, allocations: 198.5 kB / 377.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/2.655, allocations: 153.8 kB / 377.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/2.655, allocations: 240 / 377.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/2.655, allocations: 188.9 kB / 377.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/2.655, allocations: 3.938 kB / 377.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001083/2.656, allocations: 286.2 kB / 378 MB, free: 4.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/2.656, allocations: 107.3 kB / 378.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/2.657, allocations: 239.1 kB / 378.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/2.657, allocations: 29.91 kB / 378.4 MB, free: 20.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/2.657, allocations: 183.4 kB / 378.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/2.657, allocations: 93.42 kB / 378.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/2.657, allocations: 0 / 378.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/2.657, allocations: 343.9 kB / 379 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/2.658, allocations: 70.81 kB / 379.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/2.658, allocations: 197.5 kB / 379.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/2.658, allocations: 97.44 kB / 379.4 MB, free: 19.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/2.658, allocations: 4.75 kB / 379.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009846/2.659, allocations: 330.3 kB / 379.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.659, allocations: 4.438 kB / 379.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/2.659, allocations: 8.469 kB / 379.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/2.66, allocations: 81.09 kB / 379.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/2.66, allocations: 57.77 kB / 379.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/2.663, allocations: 1.599 MB / 381.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/2.663, allocations: 35.23 kB / 381.5 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/2.663, allocations: 11.62 kB / 381.5 MB, free: 18.62 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.0001824/2.664, allocations: 132.8 kB / 381.6 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/2.664, allocations: 31.28 kB / 381.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/2.664, allocations: 38.22 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/2.664, allocations: 4.031 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/2.664, allocations: 3.75 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/2.664, allocations: 3.984 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/2.665, allocations: 0.4956 MB / 382.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.665, allocations: 3.875 kB / 382.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/2.665, allocations: 34.92 kB / 382.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/2.665, allocations: 78.25 kB / 382.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/2.665, allocations: 0 / 382.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/2.668, allocations: 1.6 MB / 383.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.668, allocations: 0 / 383.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001304/2.669, allocations: 469.3 kB / 384.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002353/2.672, allocations: 0.9141 MB / 385.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/2.672, allocations: 137.5 kB / 385.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/2.672, allocations: 3.906 kB / 385.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/2.672, allocations: 19.45 kB / 385.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/2.672, allocations: 19.69 kB / 385.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/2.673, allocations: 11.12 kB / 385.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002831/2.673, allocations: 189.2 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00156/2.674, allocations: 97.34 kB / 385.7 MB, free: 15.82 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.0002299/2.675, allocations: 122.2 kB / 385.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009278/2.676, allocations: 344.4 kB / 386.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/2.676, allocations: 0 / 386.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/2.676, allocations: 228.7 kB / 386.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/2.676, allocations: 37.86 kB / 386.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/2.678, allocations: 489.4 kB / 386.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/2.679, allocations: 0.8385 MB / 387.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/2.679, allocations: 0 / 387.8 MB, free: 14.44 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat