Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.227e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09697, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/0.6027, allocations: 83.03 MB / 383 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004693/0.6033, allocations: 89.31 kB / 383.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0607/0.664, allocations: 13.88 MB / 397 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6641, allocations: 0 / 397 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.729e-05/0.6642, allocations: 15.38 kB / 397 MB, free: 11.34 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002959/0.6671, allocations: 0.9209 MB / 397.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6672, allocations: 7.781 kB / 397.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/0.6676, allocations: 115 kB / 398 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.6679, allocations: 104.5 kB / 398.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.6692, allocations: 0.4952 MB / 398.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.6693, allocations: 56.67 kB / 398.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.6695, allocations: 73.31 kB / 398.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.6714, allocations: 0.7044 MB / 399.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.6715, allocations: 3.984 kB / 399.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6716, allocations: 29.94 kB / 399.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.6716, allocations: 23.31 kB / 399.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6731, allocations: 0.4903 MB / 400 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006761/0.6799, allocations: 2.674 MB / 402.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.682, allocations: 0.6146 MB / 403.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.6835, allocations: 432.5 kB / 403.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.6836, allocations: 8.312 kB / 403.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/0.6846, allocations: 369.4 kB / 404.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 4.498e-06/0.6847, allocations: 4 kB / 404.1 MB, free: 8.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001613/0.6863, allocations: 0.5601 MB / 404.6 MB, free: 8.051 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.6864, allocations: 121.8 kB / 404.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008373/0.6873, allocations: 413.1 kB / 405.2 MB, free: 7.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.6875, allocations: 44.45 kB / 405.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.6878, allocations: 357.1 kB / 405.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.688, allocations: 182.2 kB / 405.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.6881, allocations: 15.72 kB / 405.8 MB, free: 7.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.6882, allocations: 338.3 kB / 406.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.6887, allocations: 190.5 kB / 406.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.6893, allocations: 352.5 kB / 406.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.6899, allocations: 208.9 kB / 406.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.69, allocations: 3.469 kB / 406.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001765/0.6918, allocations: 0.6577 MB / 407.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000359/0.6922, allocations: 1.575 MB / 409.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.6922, allocations: 7.875 kB / 409.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/0.693, allocations: 157.7 kB / 409.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.6939, allocations: 105.3 kB / 409.3 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.6993, allocations: 3.593 MB / 412.9 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/0.7004, allocations: 86.5 kB / 413 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.7005, allocations: 26.77 kB / 413 MB, free: 18.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7005, allocations: 6 kB / 413 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/0.7022, allocations: 0.621 MB / 413.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7023, allocations: 7.875 kB / 413.7 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.7029, allocations: 158.5 kB / 413.8 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.7037, allocations: 97.56 kB / 413.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.709, allocations: 3.579 MB / 417.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.7097, allocations: 73.69 kB / 417.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.7098, allocations: 26.03 kB / 417.6 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.7102, allocations: 160.6 kB / 417.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.7104, allocations: 58.64 kB / 417.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.7107, allocations: 74.02 kB / 417.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.7107, allocations: 7.969 kB / 417.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7107, allocations: 0 / 417.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7107, allocations: 3.984 kB / 417.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.7142, allocations: 1.442 MB / 419.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7143, allocations: 3.984 kB / 419.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.7149, allocations: 73.52 kB / 419.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007333/0.7157, allocations: 151.2 kB / 419.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.7159, allocations: 11.34 kB / 419.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/0.7211, allocations: 3.505 MB / 423.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7212, allocations: 3.875 kB / 423.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.7235, allocations: 0.9623 MB / 424 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.7241, allocations: 195.2 kB / 424.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.7243, allocations: 26.05 kB / 424.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.7252, allocations: 54.14 kB / 424.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.7255, allocations: 73.3 kB / 424.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.7256, allocations: 18.86 kB / 424.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005925/0.7262, allocations: 317.7 kB / 424.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7262, allocations: 0 / 424.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001931/0.7282, allocations: 345.6 kB / 425 MB, free: 10.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/0.7311, allocations: 1.62 MB / 426.7 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.7344, allocations: 1.348 MB / 428 MB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.7345, allocations: 0 / 428 MB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.7358, allocations: 0.536 MB / 428.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.737, allocations: 101.2 kB / 428.6 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.7415, allocations: 1.183 MB / 429.8 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.7423, allocations: 0.953 MB / 430.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/0.7429, allocations: 239.2 kB / 431 MB, free: 7.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7429, allocations: 0 / 431 MB, free: 7.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.005/3.748, allocations: 16.76 MB / 447.8 MB, free: 13.36 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat