Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.169e-05, allocations: 5.406 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09901, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.537, allocations: 86.8 MB / 386.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5374, allocations: 84.34 kB / 386.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1347/0.6722, allocations: 36.19 MB / 423 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6722, allocations: 0 / 423 MB, free: 1.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002236/0.6725, allocations: 50.75 kB / 423.1 MB, free: 1.598 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007583/0.6801, allocations: 2.022 MB / 425.1 MB, free: 372 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6801, allocations: 11.31 kB / 425.1 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.6812, allocations: 255.2 kB / 425.4 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/0.6821, allocations: 231.7 kB / 425.6 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007826/0.69, allocations: 1.972 MB / 427.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.6902, allocations: 139 kB / 427.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006952/0.6909, allocations: 171.8 kB / 427.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006518/0.6975, allocations: 2.355 MB / 430.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.67e-05/0.6976, allocations: 7.688 kB / 430.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.6979, allocations: 77.3 kB / 430.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.698, allocations: 72.48 kB / 430.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005201/0.7032, allocations: 1.951 MB / 432.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/0.7237, allocations: 7.203 MB / 439.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.7282, allocations: 1.536 MB / 441.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.7309, allocations: 0.9171 MB / 442 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.731, allocations: 13 kB / 442 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.7333, allocations: 0.8603 MB / 442.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 7.033e-06/0.7334, allocations: 0 / 442.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.004415/0.7378, allocations: 1.516 MB / 444.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.738, allocations: 123.8 kB / 444.5 MB, free: 4.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/0.7407, allocations: 1.088 MB / 445.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.7412, allocations: 69.67 kB / 445.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009672/0.7421, allocations: 0.744 MB / 446.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006404/0.7428, allocations: 355.1 kB / 446.7 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7429, allocations: 24 kB / 446.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7431, allocations: 358.8 kB / 447.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.7447, allocations: 0.596 MB / 447.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.7465, allocations: 0.7966 MB / 448.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.7483, allocations: 0.606 MB / 449.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.7484, allocations: 0 / 449.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004383/0.7528, allocations: 1.646 MB / 450.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.7538, allocations: 1.924 MB / 452.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.7539, allocations: 8 kB / 452.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.7556, allocations: 422 kB / 453.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.7574, allocations: 191.7 kB / 453.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00955/0.767, allocations: 4.405 MB / 457.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.7689, allocations: 167.2 kB / 457.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.7691, allocations: 40 kB / 457.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7691, allocations: 4 kB / 457.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004077/0.7732, allocations: 1.582 MB / 459.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7733, allocations: 8 kB / 459.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.7747, allocations: 416.8 kB / 459.9 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.7761, allocations: 188.2 kB / 460.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/0.7854, allocations: 4.446 MB / 464.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7868, allocations: 167.2 kB / 464.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.7869, allocations: 44 kB / 464.7 MB, free: 15.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005086/0.7874, allocations: 224.8 kB / 465 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.7879, allocations: 130.4 kB / 465.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.7885, allocations: 169 kB / 465.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.7886, allocations: 12 kB / 465.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7886, allocations: 0 / 465.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.7886, allocations: 3.984 kB / 465.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009721/0.7984, allocations: 3.617 MB / 468.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7984, allocations: 3.938 kB / 468.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.7997, allocations: 147.7 kB / 469 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.8011, allocations: 388.6 kB / 469.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.8013, allocations: 23.98 kB / 469.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/0.8104, allocations: 4.317 MB / 473.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8105, allocations: 7.938 kB / 473.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/0.8167, allocations: 2.516 MB / 476.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.8179, allocations: 367.2 kB / 476.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.8182, allocations: 31.98 kB / 476.7 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.8196, allocations: 115.9 kB / 476.8 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008284/0.8205, allocations: 232.6 kB / 477 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.8206, allocations: 31.98 kB / 477 MB, free: 2.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001929/0.8225, allocations: 0.8331 MB / 477.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8226, allocations: 0 / 477.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003179/0.8257, allocations: 0.8485 MB / 478.7 MB, free: 1.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.006705/0.8325, allocations: 3.147 MB / 481.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007173/0.8397, allocations: 2.708 MB / 484.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.8398, allocations: 0.7812 kB / 484.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.8424, allocations: 0.9855 MB / 485.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.8448, allocations: 291.1 kB / 485.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.8552, allocations: 3.361 MB / 489.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/0.8574, allocations: 1.728 MB / 490.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/0.8591, allocations: 0.6516 MB / 491.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.133e-06/0.8591, allocations: 0 / 491.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.842/4.701, allocations: 40.53 MB / 0.5196 GB, free: 121.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat