Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",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.755/1.755, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2239/1.979, allocations: 46.85 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/2.074, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2942/2.368, allocations: 78.6 MB / 372.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/2.369, allocations: 83.69 kB / 372.5 MB, free: 7.137 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.03744/2.406, allocations: 9.5 MB / 382 MB, free: 4.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.406, allocations: 15.64 kB / 382.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/2.406, allocations: 50.69 kB / 382.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/2.407, allocations: 369.2 kB / 382.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/2.407, allocations: 27.48 kB / 382.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-05/2.407, allocations: 23.25 kB / 382.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007731/2.408, allocations: 272.6 kB / 382.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/2.409, allocations: 372 kB / 383.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/2.409, allocations: 0 / 383.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/2.409, allocations: 3.906 kB / 383.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/2.409, allocations: 15.78 kB / 383.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/2.414, allocations: 1.453 MB / 384.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/2.415, allocations: 212.7 kB / 384.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/2.416, allocations: 90.3 kB / 384.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/2.416, allocations: 7.469 kB / 384.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/2.416, allocations: 181.1 kB / 385.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 6.342e-06/2.416, allocations: 4 kB / 385.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001474/2.418, allocations: 256.1 kB / 385.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/2.418, allocations: 114.7 kB / 385.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/2.419, allocations: 274.7 kB / 385.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/2.419, allocations: 36.75 kB / 385.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/2.419, allocations: 202.7 kB / 386 MB, free: 2.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/2.419, allocations: 86.19 kB / 386.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/2.419, allocations: 0 / 386.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/2.42, allocations: 350.3 kB / 386.4 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/2.42, allocations: 94.42 kB / 386.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/2.42, allocations: 239.4 kB / 386.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/2.421, allocations: 117.7 kB / 386.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/2.421, allocations: 7.781 kB / 386.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001462/2.423, allocations: 361.6 kB / 387.2 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009135/2.423, allocations: 1.658 MB / 388.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/2.424, allocations: 7.844 kB / 388.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/2.424, allocations: 39.38 kB / 388.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/2.425, allocations: 73.47 kB / 389 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/2.426, allocations: 1.34 MB / 390.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/2.427, allocations: 70.39 kB / 390.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/2.427, allocations: 19.03 kB / 390.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/2.427, allocations: 7.844 kB / 390.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007467/2.428, allocations: 288.7 kB / 390.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/2.428, allocations: 7.828 kB / 390.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/2.428, allocations: 46.23 kB / 390.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/2.428, allocations: 58.47 kB / 390.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/2.43, allocations: 1.355 MB / 392.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/2.431, allocations: 46.84 kB / 392.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/2.431, allocations: 22.72 kB / 392.2 MB, free: 13.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002382/2.431, allocations: 133.9 kB / 392.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/2.431, allocations: 30.88 kB / 392.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/2.431, allocations: 35.2 kB / 392.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.431, allocations: 3.75 kB / 392.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/2.431, allocations: 0 / 392.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/2.431, allocations: 7.891 kB / 392.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/2.433, allocations: 0.7192 MB / 393.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.433, allocations: 3.875 kB / 393.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/2.433, allocations: 19.73 kB / 393.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/2.433, allocations: 54.14 kB / 393.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/2.433, allocations: 4 kB / 393.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/2.435, allocations: 1.325 MB / 394.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/2.435, allocations: 3.812 kB / 394.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/2.436, allocations: 476.5 kB / 395 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001427/2.437, allocations: 0.9622 MB / 396 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/2.438, allocations: 137.4 kB / 396.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/2.438, allocations: 3.719 kB / 396.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/2.438, allocations: 35.31 kB / 396.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/2.438, allocations: 23.3 kB / 396.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/2.438, allocations: 11.31 kB / 396.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003388/2.439, allocations: 204.7 kB / 396.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002838/2.442, allocations: 172.8 kB / 396.6 MB, free: 10.3 MB / 314.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/2.442, allocations: 125.5 kB / 396.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/2.443, allocations: 0.6193 MB / 397.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.443, allocations: 0.75 kB / 397.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/2.444, allocations: 218.3 kB / 397.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/2.444, allocations: 42.75 kB / 397.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/2.447, allocations: 0.5629 MB / 398.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/2.447, allocations: 0.8781 MB / 399 MB, free: 8.766 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/2.447, allocations: 0 / 399 MB, free: 8.766 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat