Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.62/2.62, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.296e-05, allocations: 3.344 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 44.51 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5724/0.7148, allocations: 82.37 MB / 376.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.7152, allocations: 85.62 kB / 376.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07739/0.7926, allocations: 13.8 MB / 390.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7927, allocations: 0 / 390.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.511e-05/0.7928, allocations: 15.22 kB / 390.6 MB, free: 17.6 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.004146/0.797, allocations: 0.9312 MB / 391.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.7971, allocations: 7.5 kB / 391.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/0.7974, allocations: 83.72 kB / 391.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.7979, allocations: 97.17 kB / 391.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.7998, allocations: 0.5013 MB / 392.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.7999, allocations: 37.16 kB / 392.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.8001, allocations: 44.12 kB / 392.2 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002287/0.8025, allocations: 479.8 kB / 392.7 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.8051, allocations: 0.622 MB / 393.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.8052, allocations: 3.938 kB / 393.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.8054, allocations: 7.938 kB / 393.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.8054, allocations: 15.59 kB / 393.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.8156, allocations: 2.538 MB / 395.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.8188, allocations: 0.5945 MB / 396.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.8207, allocations: 381 kB / 396.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.8208, allocations: 8.094 kB / 396.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.8223, allocations: 354.3 kB / 397.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 5.941e-06/0.8223, allocations: 0 / 397.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002601/0.8249, allocations: 0.5236 MB / 397.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.8251, allocations: 119 kB / 397.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.8262, allocations: 352.1 kB / 398.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8263, allocations: 33.5 kB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.8269, allocations: 325 kB / 398.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.8273, allocations: 175.9 kB / 398.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.8274, allocations: 0 / 398.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003223/0.8277, allocations: 367.8 kB / 399.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008557/0.8286, allocations: 179 kB / 399.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.8297, allocations: 342.5 kB / 399.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.8307, allocations: 200.4 kB / 399.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.8307, allocations: 0 / 399.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003034/0.8338, allocations: 0.6361 MB / 400.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.8349, allocations: 1.571 MB / 402 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.835, allocations: 3.844 kB / 402 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.8362, allocations: 165.7 kB / 402.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8374, allocations: 104.8 kB / 402.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.8442, allocations: 3.5 MB / 405.8 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.8454, allocations: 62.06 kB / 405.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/0.8455, allocations: 29.22 kB / 405.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8456, allocations: 3.469 kB / 405.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/0.8476, allocations: 0.5499 MB / 406.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8476, allocations: 3.969 kB / 406.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/0.8486, allocations: 163.2 kB / 406.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.8496, allocations: 99.11 kB / 406.7 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.8562, allocations: 3.496 MB / 410.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.8573, allocations: 54.66 kB / 410.2 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/0.8575, allocations: 34.95 kB / 410.3 MB, free: 5.527 MB / 314.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.0003747/0.8579, allocations: 141.6 kB / 410.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.8581, allocations: 58.28 kB / 410.4 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.8584, allocations: 59.8 kB / 410.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.8584, allocations: 8.031 kB / 410.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.8584, allocations: 4 kB / 410.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.8585, allocations: 0 / 410.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.8623, allocations: 1.295 MB / 411.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.8624, allocations: 3.938 kB / 411.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.8634, allocations: 66.55 kB / 411.9 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009559/0.8644, allocations: 153.2 kB / 412 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.402e-05/0.8645, allocations: 7.891 kB / 412 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006429/0.871, allocations: 3.381 MB / 415.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.8711, allocations: 4.062 kB / 415.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.874, allocations: 0.8965 MB / 416.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.8746, allocations: 188.1 kB / 416.5 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.8748, allocations: 11.52 kB / 416.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.8758, allocations: 43.2 kB / 416.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003902/0.8762, allocations: 83.75 kB / 416.6 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.8763, allocations: 15.38 kB / 416.7 MB, free: 1.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005927/0.8769, allocations: 267.6 kB / 416.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.8769, allocations: 0 / 416.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002262/0.8792, allocations: 320.1 kB / 417.2 MB, free: 1.414 MB / 314.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: 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.003659/0.8829, allocations: 1.485 MB / 418.7 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004134/0.8871, allocations: 1.322 MB / 420 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.8872, allocations: 384 / 420 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.8887, allocations: 0.5124 MB / 420.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.8898, allocations: 85.23 kB / 420.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.8951, allocations: 1.095 MB / 421.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8962, allocations: 0.9657 MB / 422.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.8972, allocations: 104.6 kB / 422.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.8978, allocations: 223 kB / 423 MB, free: 12.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.8978, allocations: 0 / 423 MB, free: 12.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.043, allocations: 15.37 MB / 438.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006654/1.044, allocations: 222.8 kB / 438.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.239/5.283, allocations: 7.938 kB / 438.6 MB, free: 12.93 MB / 346.7 MB