Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",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.766/1.766, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2305/1.997, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/2.088, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/2.415, allocations: 75.14 MB / 333.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/2.415, allocations: 79.89 kB / 333.2 MB, free: 12.99 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.1121/2.527, allocations: 20.29 MB / 353.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/2.527, allocations: 15.94 kB / 353.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/2.528, allocations: 145.9 kB / 353.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/2.53, allocations: 0.4905 MB / 354.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/2.53, allocations: 28 kB / 354.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/2.53, allocations: 55.98 kB / 354.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002221/2.533, allocations: 0.5709 MB / 354.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/2.535, allocations: 0.734 MB / 355.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/2.535, allocations: 0 / 355.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/2.535, allocations: 0 / 355.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/2.535, allocations: 24 kB / 355.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/2.546, allocations: 3.088 MB / 358.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/2.548, allocations: 0.5411 MB / 359.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/2.55, allocations: 318.5 kB / 359.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/2.55, allocations: 16.62 kB / 359.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/2.551, allocations: 358.2 kB / 359.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 4.218e-06/2.552, allocations: 4 kB / 359.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.002739/2.554, allocations: 0.6809 MB / 360.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/2.554, allocations: 188.6 kB / 360.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/2.555, allocations: 337.1 kB / 361.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/2.555, allocations: 29.69 kB / 361.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/2.556, allocations: 351.4 kB / 361.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/2.556, allocations: 220.8 kB / 361.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/2.556, allocations: 0 / 361.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003256/2.557, allocations: 366.8 kB / 362 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/2.557, allocations: 181.6 kB / 362.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/2.558, allocations: 375.6 kB / 362.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/2.559, allocations: 238.2 kB / 362.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/2.559, allocations: 4 kB / 362.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003008/2.562, allocations: 0.759 MB / 363.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/2.562, allocations: 8.438 kB / 363.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/2.562, allocations: 4 kB / 363.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/2.564, allocations: 279.7 kB / 363.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/2.565, allocations: 115.9 kB / 364 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008676/2.574, allocations: 4.082 MB / 368.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/2.575, allocations: 83.25 kB / 368.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/2.575, allocations: 28 kB / 368.2 MB, free: 14.5 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rectifierQS.vQS.re:VARIABLE(unit = "V" ) type: Real rectifierQS.vQS.im:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 18,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/2.576, allocations: 124.8 kB / 368.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/2.576, allocations: 67.25 kB / 368.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/2.579, allocations: 0.7104 MB / 369.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/2.579, allocations: 11.98 kB / 369.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.579, allocations: 0 / 369.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/2.579, allocations: 3.906 kB / 369.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/2.581, allocations: 0.6354 MB / 369.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/2.581, allocations: 0 / 369.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/2.581, allocations: 83.89 kB / 369.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/2.583, allocations: 265.7 kB / 370.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/2.583, allocations: 7.891 kB / 370.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008565/2.592, allocations: 4.048 MB / 374.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/2.592, allocations: 3.984 kB / 374.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00366/2.595, allocations: 1.03 MB / 375.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00537/2.601, allocations: 1.703 MB / 376.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/2.602, allocations: 200.1 kB / 377 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/2.602, allocations: 8 kB / 377.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/2.603, allocations: 39.95 kB / 377.1 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/2.603, allocations: 40.59 kB / 377.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/2.603, allocations: 20 kB / 377.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005394/2.603, allocations: 259.2 kB / 377.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00221/2.606, allocations: 251.1 kB / 377.7 MB, free: 4.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x,voltageQS.pin_p.reference.gamma) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005587/2.606, allocations: 147 kB / 377.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002784/2.609, allocations: 0.7937 MB / 378.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/2.609, allocations: 0 / 378.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/2.611, allocations: 0.5477 MB / 379.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/2.612, allocations: 70.38 kB / 379.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/2.618, allocations: 1.044 MB / 380.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/2.619, allocations: 1.02 MB / 381.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of SimCode: time 2.454e-06/2.62, allocations: 0 / 381.3 MB, free: 0.8906 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat