Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.09e-05, allocations: 5.406 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09782, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5359, allocations: 85.52 MB / 385.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.5363, allocations: 93.52 kB / 385.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1108/0.6471, allocations: 28.57 MB / 414.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6472, allocations: 3.719 kB / 414.2 MB, free: 5.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.6473, allocations: 34.78 kB / 414.2 MB, free: 5.012 MB / 314.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.005412/0.6528, allocations: 1.559 MB / 415.7 MB, free: 4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6528, allocations: 15.47 kB / 415.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007045/0.6535, allocations: 197 kB / 416 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.6541, allocations: 167.3 kB / 416.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006038/0.6601, allocations: 1.626 MB / 417.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.6604, allocations: 110.3 kB / 417.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005119/0.6609, allocations: 130.1 kB / 418 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/0.6655, allocations: 1.672 MB / 419.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.6657, allocations: 7.938 kB / 419.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.6659, allocations: 53.5 kB / 419.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.803e-05/0.666, allocations: 56.5 kB / 419.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.67, allocations: 1.327 MB / 421.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.6836, allocations: 5.012 MB / 426.1 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.6865, allocations: 1.029 MB / 427.1 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.6881, allocations: 0.5892 MB / 427.7 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.6882, allocations: 19.27 kB / 427.7 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.6898, allocations: 0.6108 MB / 428.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 4.939e-06/0.6898, allocations: 0 / 428.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.00288/0.6927, allocations: 1.007 MB / 429.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.6929, allocations: 152.8 kB / 429.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.6947, allocations: 0.7585 MB / 430.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.695, allocations: 51.38 kB / 430.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/0.6958, allocations: 0.5975 MB / 430.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.6963, allocations: 253.2 kB / 431.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.6964, allocations: 18.38 kB / 431.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.6966, allocations: 345.9 kB / 431.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.6976, allocations: 413.5 kB / 431.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.6989, allocations: 0.6322 MB / 432.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.7001, allocations: 435.4 kB / 433 MB, free: 13.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.7001, allocations: 3.094 kB / 433 MB, free: 13.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003019/0.7032, allocations: 1.15 MB / 434.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.7045, allocations: 2.527 MB / 436.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.7046, allocations: 11.77 kB / 436.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.7056, allocations: 225.2 kB / 436.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.7069, allocations: 159.6 kB / 437 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.7122, allocations: 2.765 MB / 439.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.7139, allocations: 155.2 kB / 440 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.7141, allocations: 36 kB / 440 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7141, allocations: 6.188 kB / 440 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/0.7172, allocations: 1.093 MB / 441.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.7173, allocations: 8.094 kB / 441.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.7181, allocations: 232.8 kB / 441.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7193, allocations: 151.7 kB / 441.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.7247, allocations: 2.799 MB / 444.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.726, allocations: 131.4 kB / 444.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7261, allocations: 36 kB / 444.4 MB, free: 3.027 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.000467/0.7266, allocations: 211.8 kB / 444.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.727, allocations: 98.86 kB / 444.7 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.7274, allocations: 113.2 kB / 444.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.7275, allocations: 12 kB / 444.9 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7275, allocations: 0 / 444.9 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7275, allocations: 3.984 kB / 444.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/0.7351, allocations: 2.576 MB / 447.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.7351, allocations: 0 / 447.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.7361, allocations: 99.94 kB / 447.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008272/0.737, allocations: 197.3 kB / 447.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.7372, allocations: 27.97 kB / 447.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/0.7424, allocations: 2.734 MB / 450.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7425, allocations: 0 / 450.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/0.7468, allocations: 1.684 MB / 452.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/0.7478, allocations: 267.8 kB / 452.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.748, allocations: 20 kB / 452.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.7493, allocations: 103.9 kB / 452.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.7498, allocations: 144.5 kB / 452.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.75, allocations: 27.98 kB / 452.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001412/0.7514, allocations: 0.5772 MB / 453.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7514, allocations: 0 / 453.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003037/0.7545, allocations: 0.5916 MB / 453.9 MB, free: 9.316 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.006762/0.7613, allocations: 2.431 MB / 456.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005241/0.7666, allocations: 1.84 MB / 458.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.7667, allocations: 0.5625 kB / 458.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7686, allocations: 0.6973 MB / 458.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.7705, allocations: 183.5 kB / 459 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.7787, allocations: 2.35 MB / 461.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.7803, allocations: 1.393 MB / 462.8 MB, free: 276 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.7817, allocations: 461.5 kB / 463.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7817, allocations: 0 / 463.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.247/4.029, allocations: 28.2 MB / 491.4 MB, free: 3.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat