Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_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.921/1.921, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2775/2.199, allocations: 46.84 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/2.298, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/2.627, allocations: 84.02 MB / 377.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/2.627, allocations: 88.58 kB / 378 MB, free: 6.875 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.133/2.76, allocations: 28.81 MB / 406.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/2.76, allocations: 8 kB / 406.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/2.761, allocations: 158.2 kB / 406.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/2.77, allocations: 1.618 MB / 408.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/2.77, allocations: 44 kB / 408.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009416/2.771, allocations: 75.44 kB / 408.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007986/2.779, allocations: 1.29 MB / 410 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007527/2.787, allocations: 1.505 MB / 411.5 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/2.787, allocations: 3.938 kB / 411.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/2.787, allocations: 4 kB / 411.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/2.787, allocations: 58.39 kB / 411.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/2.804, allocations: 4.63 MB / 416.2 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/2.806, allocations: 0.8412 MB / 417 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/2.808, allocations: 0.5435 MB / 417.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/2.808, allocations: 12.59 kB / 417.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/2.81, allocations: 0.5332 MB / 418.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 5.59e-06/2.81, allocations: 0 / 418.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.003341/2.813, allocations: 0.9263 MB / 419 MB, free: 2.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/2.813, allocations: 149 kB / 419.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/2.815, allocations: 0.6912 MB / 419.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002794/2.816, allocations: 42.31 kB / 419.9 MB, free: 1.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/2.817, allocations: 481.3 kB / 420.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004733/2.817, allocations: 223.7 kB / 420.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/2.817, allocations: 4 kB / 420.6 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003536/2.818, allocations: 390.7 kB / 421 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/2.819, allocations: 397.8 kB / 421.4 MB, free: 160 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/2.821, allocations: 0.6202 MB / 422 MB, free: 15.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/2.822, allocations: 424.3 kB / 422.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/2.822, allocations: 4 kB / 422.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00368/2.826, allocations: 1.131 MB / 423.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001146/2.827, allocations: 2.534 MB / 426.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/2.827, allocations: 4 kB / 426.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/2.828, allocations: 240.7 kB / 426.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/2.829, allocations: 143.7 kB / 426.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/2.836, allocations: 2.667 MB / 429.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/2.837, allocations: 131.4 kB / 429.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/2.838, allocations: 36 kB / 429.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/2.838, allocations: 4 kB / 429.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003216/2.841, allocations: 1.009 MB / 430.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/2.841, allocations: 8 kB / 430.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/2.842, allocations: 237.5 kB / 430.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/2.843, allocations: 135.7 kB / 430.7 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/2.849, allocations: 2.659 MB / 433.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/2.851, allocations: 111.6 kB / 433.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/2.851, allocations: 36.09 kB / 433.5 MB, free: 3.516 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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000558/2.852, allocations: 180.4 kB / 433.6 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/2.852, allocations: 86.97 kB / 433.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/2.853, allocations: 92.44 kB / 433.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/2.853, allocations: 8 kB / 433.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/2.853, allocations: 11.86 kB / 433.8 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/2.853, allocations: 4 kB / 433.8 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/2.861, allocations: 2.391 MB / 436.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/2.861, allocations: 0 / 436.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/2.862, allocations: 75.89 kB / 436.3 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009602/2.863, allocations: 212.8 kB / 436.5 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/2.863, allocations: 4.094 kB / 436.5 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/2.868, allocations: 2.417 MB / 438.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/2.868, allocations: 0 / 438.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005011/2.873, allocations: 1.605 MB / 440.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006563/2.88, allocations: 2.551 MB / 443.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/2.881, allocations: 251.9 kB / 443.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/2.881, allocations: 11.98 kB / 443.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/2.883, allocations: 79.92 kB / 443.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/2.883, allocations: 84.53 kB / 443.5 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/2.884, allocations: 23.98 kB / 443.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001384/2.885, allocations: 0.503 MB / 444 MB, free: 8.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005242/2.89, allocations: 0.5212 MB / 444.6 MB, free: 8.195 MB / 346.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: 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 (66): * Single equations (assignments): 56 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006126/2.891, allocations: 156.7 kB / 444.7 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0055/2.896, allocations: 1.762 MB / 446.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.896, allocations: 0 / 446.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/2.898, allocations: 0.6172 MB / 447.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/2.9, allocations: 162.9 kB / 447.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008038/2.909, allocations: 1.884 MB / 449.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002762/2.911, allocations: 1.452 MB / 450.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.743e-06/2.911, allocations: 4 kB / 450.6 MB, free: 2.051 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat