Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.668/1.668, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2466/1.915, allocations: 46.84 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/2.003, allocations: 44.5 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/2.29, allocations: 81.58 MB / 375.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/2.29, allocations: 85.7 kB / 375.6 MB, free: 7.102 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.0525/2.343, allocations: 13.35 MB / 388.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/2.343, allocations: 8.875 kB / 389 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/2.343, allocations: 80.56 kB / 389 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/2.344, allocations: 497.8 kB / 389.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/2.344, allocations: 19.47 kB / 389.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/2.344, allocations: 38.34 kB / 389.6 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/2.345, allocations: 418.7 kB / 390 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/2.347, allocations: 0.5422 MB / 390.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/2.347, allocations: 3.938 kB / 390.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/2.347, allocations: 7.938 kB / 390.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/2.347, allocations: 15.12 kB / 390.6 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/2.352, allocations: 2.189 MB / 392.7 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/2.354, allocations: 467.5 kB / 393.2 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/2.354, allocations: 252.7 kB / 393.4 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/2.354, allocations: 5.656 kB / 393.5 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/2.355, allocations: 282.9 kB / 393.7 MB, free: 40 kB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.286e-06/2.355, allocations: 0 / 393.7 MB, free: 40 kB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.001299/2.356, allocations: 415.4 kB / 394.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/2.356, allocations: 140.2 kB / 394.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/2.357, allocations: 340.2 kB / 394.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/2.357, allocations: 40.62 kB / 394.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/2.358, allocations: 255.6 kB / 394.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/2.358, allocations: 140.2 kB / 395 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/2.358, allocations: 3.938 kB / 395 MB, free: 15.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/2.358, allocations: 359.6 kB / 395.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/2.358, allocations: 152 kB / 395.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/2.359, allocations: 294.5 kB / 395.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/2.36, allocations: 172.7 kB / 396 MB, free: 14.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/2.36, allocations: 0 / 396 MB, free: 14.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001421/2.361, allocations: 0.5053 MB / 396.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006932/2.362, allocations: 1.655 MB / 398.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/2.362, allocations: 8.734 kB / 398.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/2.362, allocations: 83.53 kB / 398.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/2.363, allocations: 109.4 kB / 398.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/2.365, allocations: 1.557 MB / 399.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/2.366, allocations: 69.94 kB / 400 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/2.366, allocations: 21.84 kB / 400 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/2.366, allocations: 2.75 kB / 400 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/2.368, allocations: 428.7 kB / 400.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/2.368, allocations: 4.125 kB / 400.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/2.368, allocations: 82.91 kB / 400.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/2.369, allocations: 100 kB / 400.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/2.371, allocations: 1.551 MB / 402.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/2.372, allocations: 64.88 kB / 402.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/2.372, allocations: 23.95 kB / 402.2 MB, free: 10.05 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: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * 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: 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002658/2.372, allocations: 143.7 kB / 402.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/2.372, allocations: 51.97 kB / 402.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/2.373, allocations: 54.27 kB / 402.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/2.373, allocations: 4.25 kB / 402.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/2.373, allocations: 1.281 kB / 402.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/2.373, allocations: 0 / 402.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/2.375, allocations: 1.17 MB / 403.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/2.375, allocations: 0 / 403.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/2.376, allocations: 75.48 kB / 403.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/2.376, allocations: 71.42 kB / 403.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/2.377, allocations: 10.17 kB / 403.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/2.379, allocations: 1.53 MB / 405.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/2.379, allocations: 5.594 kB / 405.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001849/2.381, allocations: 0.7404 MB / 406.1 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002482/2.383, allocations: 1.334 MB / 407.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/2.383, allocations: 168.6 kB / 407.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/2.384, allocations: 6.062 kB / 407.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/2.384, allocations: 48.45 kB / 407.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/2.385, allocations: 44.73 kB / 407.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/2.385, allocations: 22.52 kB / 407.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0004736/2.385, allocations: 254.5 kB / 408 MB, free: 6.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003228/2.388, allocations: 261.6 kB / 408.2 MB, free: 6.758 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/2.389, allocations: 125.4 kB / 408.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002209/2.391, allocations: 0.8646 MB / 409.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.391, allocations: 3.594 kB / 409.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007697/2.392, allocations: 324.2 kB / 409.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/2.392, allocations: 65.53 kB / 409.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/2.396, allocations: 0.8765 MB / 410.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/2.397, allocations: 0.977 MB / 411.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/2.397, allocations: 0 / 411.4 MB, free: 4.996 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat