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.091/2.091, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.833e-05, allocations: 4 kB / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.5162, allocations: 86.14 MB / 380.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.5167, allocations: 87.94 kB / 380.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1606/0.6773, allocations: 35.8 MB / 416.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6773, allocations: 4 kB / 416.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002465/0.6776, allocations: 47.94 kB / 416.3 MB, free: 7.523 MB / 362.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.008485/0.6861, allocations: 2.027 MB / 418.3 MB, free: 5.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.6862, allocations: 8.031 kB / 418.3 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6874, allocations: 229.3 kB / 418.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008124/0.6956, allocations: 1.977 MB / 420.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.6958, allocations: 63.98 kB / 420.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006127/0.6964, allocations: 100 kB / 420.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006448/0.7029, allocations: 1.873 MB / 422.6 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2664/0.9693, allocations: 2.12 MB / 424.7 MB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.168e-05/0.9695, allocations: 3.969 kB / 424.7 MB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004335/0.9699, allocations: 2.562 kB / 424.7 MB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.9701, allocations: 81.27 kB / 424.8 MB, free: 92.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/0.9904, allocations: 6.853 MB / 431.6 MB, free: 91.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.9946, allocations: 1.501 MB / 433.1 MB, free: 91.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.997, allocations: 0.8828 MB / 434 MB, free: 91.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.9973, allocations: 12.81 kB / 434 MB, free: 91.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.9995, allocations: 0.8181 MB / 434.8 MB, free: 91.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 5.52e-06/0.9995, allocations: 1.531 kB / 434.8 MB, free: 91.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.003854/1.003, allocations: 1.444 MB / 436.3 MB, free: 91.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/1.004, allocations: 130 kB / 436.4 MB, free: 90.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/1.006, allocations: 0.9565 MB / 437.4 MB, free: 90.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003615/1.006, allocations: 43.55 kB / 437.4 MB, free: 90.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008722/1.007, allocations: 0.7578 MB / 438.2 MB, free: 90.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/1.008, allocations: 333.9 kB / 438.5 MB, free: 90.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/1.008, allocations: 0 / 438.5 MB, free: 90.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.008, allocations: 365.4 kB / 438.8 MB, free: 89.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.009, allocations: 0.5716 MB / 439.4 MB, free: 89.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.011, allocations: 0.7655 MB / 440.2 MB, free: 89.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.012, allocations: 0.5926 MB / 440.8 MB, free: 88.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.012, allocations: 3.375 kB / 440.8 MB, free: 88.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003608/1.016, allocations: 1.555 MB / 442.3 MB, free: 88.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004979/1.016, allocations: 1.924 MB / 444.3 MB, free: 86.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/1.016, allocations: 6.469 kB / 444.3 MB, free: 86.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/1.018, allocations: 421.5 kB / 444.7 MB, free: 86.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.02, allocations: 193.9 kB / 444.9 MB, free: 86.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00797/1.028, allocations: 4.31 MB / 449.2 MB, free: 83.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.03, allocations: 151.2 kB / 449.3 MB, free: 83.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/1.03, allocations: 41.94 kB / 449.4 MB, free: 83.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.03, allocations: 8.406 kB / 449.4 MB, free: 83.47 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003539/1.034, allocations: 1.469 MB / 450.8 MB, free: 82.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/1.034, allocations: 3.781 kB / 450.8 MB, free: 82.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/1.035, allocations: 411.7 kB / 451.3 MB, free: 82.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.037, allocations: 182.9 kB / 451.4 MB, free: 82.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/1.044, allocations: 4.364 MB / 455.8 MB, free: 80.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.046, allocations: 131.2 kB / 455.9 MB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/1.046, allocations: 47.19 kB / 456 MB, free: 80.17 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.0004689/1.046, allocations: 178.5 kB / 456.1 MB, free: 80.05 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003446/1.05, allocations: 1.439 MB / 457.6 MB, free: 79.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/1.05, allocations: 125.8 kB / 457.7 MB, free: 79.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/1.051, allocations: 150.6 kB / 457.9 MB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.051, allocations: 11.22 kB / 457.9 MB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.051, allocations: 0 / 457.9 MB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.051, allocations: 10.19 kB / 457.9 MB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008722/1.06, allocations: 3.296 MB / 461.2 MB, free: 78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.06, allocations: 0 / 461.2 MB, free: 78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.061, allocations: 131.9 kB / 461.3 MB, free: 77.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/1.063, allocations: 396.8 kB / 461.7 MB, free: 77.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.063, allocations: 7.797 kB / 461.7 MB, free: 77.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007675/1.071, allocations: 4.208 MB / 465.9 MB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.071, allocations: 0 / 465.9 MB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/1.076, allocations: 2.425 MB / 468.3 MB, free: 74.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.077, allocations: 354.6 kB / 468.7 MB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005514/1.078, allocations: 15.09 kB / 468.7 MB, free: 74.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.08, allocations: 107.2 kB / 468.8 MB, free: 74.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009655/1.081, allocations: 226 kB / 469 MB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.081, allocations: 37.64 kB / 469 MB, free: 74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001607/1.082, allocations: 0.7103 MB / 469.8 MB, free: 73.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.082, allocations: 7.344 kB / 469.8 MB, free: 73.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00398/1.086, allocations: 0.7769 MB / 470.5 MB, free: 72.99 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.005949/1.092, allocations: 3.039 MB / 473.6 MB, free: 70.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006773/1.099, allocations: 2.649 MB / 476.2 MB, free: 67.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.099, allocations: 5.031 kB / 476.2 MB, free: 67.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.102, allocations: 0.9497 MB / 477.2 MB, free: 67.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.104, allocations: 254.7 kB / 477.4 MB, free: 66.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.115, allocations: 3.264 MB / 480.7 MB, free: 64.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.117, allocations: 1.718 MB / 482.4 MB, free: 62.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.118, allocations: 0.6536 MB / 483.1 MB, free: 62 MB / 362.7 MB Notification: Performance of SimCode: time 1.763e-06/1.118, allocations: 0 / 483.1 MB, free: 62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.304/4.422, allocations: 39.92 MB / 0.5107 GB, free: 22.77 MB / 362.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