Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",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.83/1.83, allocations: 194.9 MB / 202.5 MB, free: 6.824 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3095/2.14, allocations: 46.84 MB / 249.4 MB, free: 5.383 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/2.267, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/2.693, allocations: 84.79 MB / 378.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004473/2.693, allocations: 92.2 kB / 378.7 MB, free: 6.652 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.1674/2.86, allocations: 29.62 MB / 408.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/2.861, allocations: 12 kB / 408.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/2.862, allocations: 166 kB / 408.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009469/2.871, allocations: 1.626 MB / 410.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/2.871, allocations: 47.98 kB / 410.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006567/2.872, allocations: 79.19 kB / 410.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006479/2.879, allocations: 1.316 MB / 411.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/2.886, allocations: 1.541 MB / 413.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.188e-05/2.886, allocations: 4 kB / 413.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/2.887, allocations: 0 / 413.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/2.887, allocations: 57.88 kB / 413.2 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/2.908, allocations: 4.792 MB / 418 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/2.913, allocations: 0.9701 MB / 419 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/2.915, allocations: 0.5664 MB / 419.5 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/2.915, allocations: 8.656 kB / 419.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/2.918, allocations: 0.5572 MB / 420.1 MB, free: 1.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 6.643e-06/2.918, allocations: 0 / 420.1 MB, free: 1.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.004775/2.922, allocations: 0.9644 MB / 421.1 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/2.923, allocations: 149.3 kB / 421.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/2.925, allocations: 0.6791 MB / 421.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/2.926, allocations: 45.72 kB / 421.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008931/2.926, allocations: 485.5 kB / 422.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/2.927, allocations: 244.5 kB / 422.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/2.927, allocations: 0 / 422.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004586/2.928, allocations: 398.7 kB / 423 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/2.93, allocations: 409.8 kB / 423.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/2.932, allocations: 0.6281 MB / 424.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/2.934, allocations: 440.3 kB / 424.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/2.934, allocations: 4 kB / 424.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005066/2.939, allocations: 1.154 MB / 425.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001558/2.94, allocations: 2.53 MB / 428.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/2.94, allocations: 8 kB / 428.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/2.942, allocations: 216.7 kB / 428.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/2.944, allocations: 163.7 kB / 428.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/2.951, allocations: 2.552 MB / 431.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/2.953, allocations: 135.3 kB / 431.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/2.954, allocations: 32 kB / 431.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/2.954, allocations: 8.094 kB / 431.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004376/2.958, allocations: 1.033 MB / 432.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/2.958, allocations: 8 kB / 432.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/2.959, allocations: 225.3 kB / 432.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/2.961, allocations: 160 kB / 432.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/2.968, allocations: 2.552 MB / 435.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/2.971, allocations: 119.3 kB / 435.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/2.971, allocations: 36 kB / 435.4 MB, free: 1.785 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005685/2.971, allocations: 164.8 kB / 435.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/2.972, allocations: 86.97 kB / 435.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/2.972, allocations: 100.6 kB / 435.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/2.973, allocations: 15.91 kB / 435.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/2.973, allocations: 7.938 kB / 435.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/2.973, allocations: 3.984 kB / 435.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009818/2.982, allocations: 2.348 MB / 438.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/2.982, allocations: 0 / 438.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/2.984, allocations: 99.94 kB / 438.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/2.985, allocations: 200.7 kB / 438.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/2.985, allocations: 11.98 kB / 438.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/2.992, allocations: 2.458 MB / 440.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/2.992, allocations: 0 / 440.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006266/2.998, allocations: 1.656 MB / 442.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0089/3.007, allocations: 2.615 MB / 445.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/3.009, allocations: 259.8 kB / 445.4 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/3.009, allocations: 8 kB / 445.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/3.011, allocations: 95.91 kB / 445.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/3.012, allocations: 84.64 kB / 445.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/3.012, allocations: 27.98 kB / 445.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001783/3.014, allocations: 0.503 MB / 446.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007513/3.022, allocations: 0.537 MB / 446.7 MB, free: 6.258 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006592/3.022, allocations: 148.6 kB / 446.8 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006923/3.029, allocations: 1.815 MB / 448.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/3.029, allocations: 0 / 448.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/3.032, allocations: 0.6649 MB / 449.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/3.035, allocations: 159.5 kB / 449.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/3.045, allocations: 2.024 MB / 451.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003603/3.049, allocations: 1.471 MB / 452.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/3.049, allocations: 4 kB / 452.9 MB, free: 15.88 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat