Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.626e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.42 MB / 342.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5639, allocations: 94.14 MB / 436.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.5643, allocations: 89.69 kB / 436.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1959/0.7602, allocations: 49.58 MB / 486.5 MB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7603, allocations: 4 kB / 486.5 MB, free: 2.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.7605, allocations: 55.92 kB / 486.5 MB, free: 2.738 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.006375/0.7669, allocations: 2.011 MB / 488.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7669, allocations: 8.031 kB / 488.5 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00074/0.7677, allocations: 261.6 kB / 488.8 MB, free: 404 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.7684, allocations: 237.3 kB / 489 MB, free: 164 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008198/0.7766, allocations: 2.101 MB / 491.1 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.7768, allocations: 143.5 kB / 491.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.7773, allocations: 180 kB / 491.4 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/0.7834, allocations: 2.404 MB / 493.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/0.7835, allocations: 4 kB / 493.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.7837, allocations: 72 kB / 493.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.7839, allocations: 75.53 kB / 494 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005178/0.7891, allocations: 1.947 MB / 495.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.8071, allocations: 7.001 MB / 0.4912 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.811, allocations: 1.567 MB / 0.4927 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.8137, allocations: 0.9616 MB / 0.4936 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.8139, allocations: 20.98 kB / 0.4936 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/0.8163, allocations: 0.9055 MB / 0.4945 GB, free: 14.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.91e-06/0.8163, allocations: 8 kB / 0.4945 GB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.004823/0.8212, allocations: 1.684 MB / 0.4962 GB, free: 12.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.8213, allocations: 179.5 kB / 0.4964 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.8241, allocations: 1.072 MB / 0.4974 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003872/0.8246, allocations: 77.67 kB / 0.4975 GB, free: 11.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009601/0.8256, allocations: 0.7556 MB / 0.4982 GB, free: 10.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.8262, allocations: 378.8 kB / 0.4986 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.8264, allocations: 24 kB / 0.4986 GB, free: 10.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.8266, allocations: 370.8 kB / 0.4989 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.8284, allocations: 0.6716 MB / 0.4996 GB, free: 9.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.8307, allocations: 0.9379 MB / 0.5005 GB, free: 8.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.8327, allocations: 0.7311 MB / 0.5012 GB, free: 7.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.8328, allocations: 0 / 0.5012 GB, free: 7.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005169/0.838, allocations: 1.912 MB / 0.5031 GB, free: 5.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.8391, allocations: 2.448 MB / 0.5055 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.8391, allocations: 4 kB / 0.5055 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.8411, allocations: 0.4987 MB / 0.506 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.8426, allocations: 179.7 kB / 0.5062 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.8537, allocations: 5.229 MB / 0.5113 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.8558, allocations: 183.1 kB / 0.5114 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.8561, allocations: 55.98 kB / 0.5115 GB, free: 12.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8561, allocations: 4 kB / 0.5115 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004834/0.8609, allocations: 1.843 MB / 0.5133 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.861, allocations: 8 kB / 0.5133 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.8627, allocations: 489 kB / 0.5138 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.8642, allocations: 179.7 kB / 0.5139 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.8757, allocations: 5.291 MB / 0.5191 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.8772, allocations: 163.1 kB / 0.5193 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.8774, allocations: 51.94 kB / 0.5193 GB, free: 4.434 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (142): * Single equations (assignments): 141 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.000549/0.8779, allocations: 243.8 kB / 0.5195 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.8784, allocations: 134.4 kB / 0.5197 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.879, allocations: 173.6 kB / 0.5198 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.8791, allocations: 12 kB / 0.5198 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.8791, allocations: 3.953 kB / 0.5198 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.8791, allocations: 3.984 kB / 0.5199 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/0.8889, allocations: 3.717 MB / 0.5235 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.8889, allocations: 0 / 0.5235 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2832/1.172, allocations: 109.5 kB / 0.5236 GB, free: 127.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/1.174, allocations: 464.8 kB / 0.524 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/1.175, allocations: 29.95 kB / 0.5241 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.186, allocations: 5.142 MB / 0.5291 GB, free: 126 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.186, allocations: 3.781 kB / 0.5291 GB, free: 126 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006435/1.192, allocations: 2.7 MB / 0.5317 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.194, allocations: 379.5 kB / 0.5321 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/1.194, allocations: 44.55 kB / 0.5321 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.195, allocations: 108.5 kB / 0.5322 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/1.196, allocations: 233.6 kB / 0.5325 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.196, allocations: 34.22 kB / 0.5325 GB, free: 125.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001846/1.198, allocations: 0.8112 MB / 0.5333 GB, free: 125.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.198, allocations: 0 / 0.5333 GB, free: 125.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003397/1.202, allocations: 0.8743 MB / 0.5341 GB, free: 125.6 MB / 442.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[2].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,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.006957/1.209, allocations: 3.35 MB / 0.5374 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007705/1.216, allocations: 3.048 MB / 0.5404 GB, free: 124.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.216, allocations: 2.219 kB / 0.5404 GB, free: 124.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/1.219, allocations: 1.062 MB / 0.5414 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.222, allocations: 330.3 kB / 0.5417 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.235, allocations: 3.401 MB / 0.5451 GB, free: 123.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.238, allocations: 1.722 MB / 0.5467 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.24, allocations: 0.6448 MB / 0.5474 GB, free: 122 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/1.24, allocations: 0 / 0.5474 GB, free: 122 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.302/4.542, allocations: 41.24 MB / 0.5876 GB, free: 104 MB / 442.7 MB