Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.899e-05, allocations: 4.625 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09789, allocations: 44.52 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4085/0.5064, allocations: 82.1 MB / 382.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5068, allocations: 89.14 kB / 382.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04825/0.5551, allocations: 12.64 MB / 394.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5551, allocations: 0 / 394.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.053e-05/0.5552, allocations: 15.5 kB / 394.8 MB, free: 11.38 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001968/0.5572, allocations: 0.8505 MB / 395.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5572, allocations: 11.59 kB / 395.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.5574, allocations: 104.8 kB / 395.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5576, allocations: 81.69 kB / 395.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.5585, allocations: 476 kB / 396.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.5586, allocations: 55.28 kB / 396.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5587, allocations: 62.03 kB / 396.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5602, allocations: 0.6233 MB / 397 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.5602, allocations: 0 / 397 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/0.5603, allocations: 32.64 kB / 397.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.5603, allocations: 15.61 kB / 397.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.5614, allocations: 437.7 kB / 397.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.5663, allocations: 2.333 MB / 399.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.5676, allocations: 466.6 kB / 400.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.5683, allocations: 246.1 kB / 400.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.5684, allocations: 3.844 kB / 400.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006306/0.569, allocations: 301 kB / 400.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/0.569, allocations: 0 / 400.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001115/0.5702, allocations: 439.4 kB / 401.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5702, allocations: 139.9 kB / 401.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.5709, allocations: 406.2 kB / 401.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.571, allocations: 54.28 kB / 401.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.5712, allocations: 347.7 kB / 402.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5714, allocations: 145.5 kB / 402.3 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.5714, allocations: 14.25 kB / 402.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.5715, allocations: 331.2 kB / 402.7 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.5719, allocations: 147.5 kB / 402.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.5724, allocations: 314.6 kB / 403.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.5728, allocations: 176.5 kB / 403.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5728, allocations: 0 / 403.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001169/0.574, allocations: 0.5219 MB / 403.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.5744, allocations: 1.663 MB / 405.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5744, allocations: 3.875 kB / 405.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.5748, allocations: 77.67 kB / 405.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.5755, allocations: 97.19 kB / 405.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.5778, allocations: 1.732 MB / 407.4 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.5787, allocations: 85.64 kB / 407.5 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.5787, allocations: 23.39 kB / 407.5 MB, free: 20.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5787, allocations: 5.594 kB / 407.5 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.5798, allocations: 486.6 kB / 408 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5799, allocations: 3.844 kB / 408 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.5802, allocations: 86.22 kB / 408.1 MB, free: 20.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.5808, allocations: 85.22 kB / 408.1 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5829, allocations: 1.734 MB / 409.9 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.5836, allocations: 69.16 kB / 409.9 MB, free: 18.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.5836, allocations: 26.69 kB / 410 MB, free: 18.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.5839, allocations: 149.9 kB / 410.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.5841, allocations: 46.23 kB / 410.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.5843, allocations: 67.86 kB / 410.2 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5843, allocations: 3.781 kB / 410.2 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5843, allocations: 0 / 410.2 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.5844, allocations: 7.875 kB / 410.2 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.5868, allocations: 1.249 MB / 411.5 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5869, allocations: 0 / 411.5 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.5873, allocations: 53.47 kB / 411.5 MB, free: 17.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/0.5877, allocations: 85.22 kB / 411.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.5877, allocations: 13.33 kB / 411.6 MB, free: 17.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.5898, allocations: 1.644 MB / 413.3 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5899, allocations: 3.938 kB / 413.3 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5915, allocations: 0.7443 MB / 414 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.5919, allocations: 172.9 kB / 414.2 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.592, allocations: 10 kB / 414.2 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.5926, allocations: 42.19 kB / 414.3 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.5928, allocations: 57.17 kB / 414.3 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5929, allocations: 18.3 kB / 414.3 MB, free: 16.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005698/0.5934, allocations: 312.3 kB / 414.6 MB, free: 16.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5935, allocations: 0 / 414.6 MB, free: 16.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001323/0.5948, allocations: 289.2 kB / 414.9 MB, free: 16.02 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002116/0.5969, allocations: 1.401 MB / 416.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.5989, allocations: 0.9153 MB / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.599, allocations: 4.781 kB / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.5996, allocations: 342.2 kB / 417.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.6004, allocations: 82.56 kB / 417.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.6032, allocations: 0.9971 MB / 418.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.6038, allocations: 0.9301 MB / 419.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.6043, allocations: 221.7 kB / 419.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6043, allocations: 0 / 419.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.918/3.522, allocations: 12.41 MB / 432.2 MB, free: 7.105 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat