Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.522/2.522, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.922e-05, allocations: 2.062 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5618/0.6661, allocations: 81.66 MB / 375.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000533/0.6667, allocations: 83.48 kB / 376 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.7761, allocations: 12.7 MB / 388.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.7762, allocations: 0 / 388.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.7764, allocations: 23.16 kB / 388.7 MB, free: 18.21 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.004934/0.7813, allocations: 0.8726 MB / 389.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.938e-05/0.7814, allocations: 11.62 kB / 389.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004204/0.7819, allocations: 84.5 kB / 389.7 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/0.7824, allocations: 78.12 kB / 389.8 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.7847, allocations: 488.2 kB / 390.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.7849, allocations: 24.69 kB / 390.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.7852, allocations: 38.84 kB / 390.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002594/0.7879, allocations: 409.3 kB / 390.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.791, allocations: 0.5514 MB / 391.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.7911, allocations: 3.984 kB / 391.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.7914, allocations: 0 / 391.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.7914, allocations: 15.5 kB / 391.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.8027, allocations: 2.191 MB / 393.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.8063, allocations: 496.2 kB / 394 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.8079, allocations: 246.4 kB / 394.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.8081, allocations: 4.25 kB / 394.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.8096, allocations: 310 kB / 394.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 7.924e-06/0.8097, allocations: 0 / 394.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.002537/0.8122, allocations: 422.4 kB / 394.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.8125, allocations: 140 kB / 395.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.8138, allocations: 345.4 kB / 395.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.814, allocations: 33.17 kB / 395.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.8147, allocations: 313.8 kB / 395.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/0.8151, allocations: 149.5 kB / 395.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.8152, allocations: 0 / 395.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/0.8156, allocations: 365.3 kB / 396.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.8165, allocations: 142.7 kB / 396.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.8177, allocations: 297 kB / 396.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.8187, allocations: 167.4 kB / 396.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.8187, allocations: 7.938 kB / 396.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002873/0.8216, allocations: 0.4975 MB / 397.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001332/0.823, allocations: 1.654 MB / 399 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/0.8231, allocations: 7.859 kB / 399 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009844/0.8241, allocations: 81.47 kB / 399.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.8259, allocations: 105 kB / 399.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.831, allocations: 1.691 MB / 400.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8329, allocations: 76.36 kB / 401 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.8331, allocations: 18.38 kB / 401 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8332, allocations: 7.875 kB / 401 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00257/0.8358, allocations: 429.5 kB / 401.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.8359, allocations: 7.344 kB / 401.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007641/0.8367, allocations: 69.83 kB / 401.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.8382, allocations: 108.1 kB / 401.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.8434, allocations: 1.686 MB / 403.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8451, allocations: 57.94 kB / 403.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.8454, allocations: 26.8 kB / 403.3 MB, free: 9.23 MB / 314.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 (63): * Single equations (assignments): 62 * 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.0005005/0.8459, allocations: 135.1 kB / 403.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.8462, allocations: 50.12 kB / 403.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.8466, allocations: 63.53 kB / 403.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.8467, allocations: 7.844 kB / 403.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.8467, allocations: 0 / 403.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.8467, allocations: 0 / 403.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.8524, allocations: 1.164 MB / 404.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.8525, allocations: 3.953 kB / 404.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.854, allocations: 70.27 kB / 404.8 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000783/0.8549, allocations: 78.28 kB / 404.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.8551, allocations: 3.938 kB / 404.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.8597, allocations: 1.598 MB / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.8598, allocations: 400 / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.8634, allocations: 0.7375 MB / 407.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/0.8643, allocations: 178 kB / 407.4 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.8647, allocations: 7.859 kB / 407.4 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.8662, allocations: 42.67 kB / 407.5 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/0.8668, allocations: 51.27 kB / 407.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.867, allocations: 23.48 kB / 407.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000901/0.8679, allocations: 257.9 kB / 407.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.868, allocations: 0 / 407.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00326/0.8712, allocations: 258.7 kB / 408 MB, free: 6.559 MB / 314.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 (43): * Single equations (assignments): 37 * 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.004624/0.8759, allocations: 1.385 MB / 409.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.8802, allocations: 0.8937 MB / 410.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.8803, allocations: 0 / 410.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.8818, allocations: 344.1 kB / 410.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8833, allocations: 62.09 kB / 410.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.8899, allocations: 0.9635 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.8912, allocations: 0.9377 MB / 412.6 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.8929, allocations: 110.5 kB / 412.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/0.8938, allocations: 208.2 kB / 412.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of SimCode: time 1.974e-06/0.8938, allocations: 0 / 412.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08682/0.9807, allocations: 12.03 MB / 425 MB, free: 8.824 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000322/0.9811, allocations: 238.3 kB / 425.2 MB, free: 8.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.177/5.158, allocations: 0 / 425.2 MB, free: 8.527 MB / 330.7 MB