Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.986e-05, allocations: 0 / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 50.41 MB / 342.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.6115, allocations: 94.8 MB / 437.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.6119, allocations: 82.64 kB / 437.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.7797, allocations: 39.08 MB / 476.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.7797, allocations: 0 / 476.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002469/0.78, allocations: 47.94 kB / 476.7 MB, free: 12.68 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007987/0.788, allocations: 2.055 MB / 478.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7881, allocations: 12.03 kB / 478.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.7891, allocations: 269.7 kB / 479 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008653/0.79, allocations: 237.3 kB / 479.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008817/0.7989, allocations: 2.105 MB / 481.3 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.7991, allocations: 147.5 kB / 481.5 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007023/0.7999, allocations: 187.8 kB / 481.7 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007634/0.8075, allocations: 2.425 MB / 484.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.696e-05/0.8076, allocations: 0 / 484.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.8079, allocations: 79.98 kB / 484.2 MB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.8081, allocations: 71.61 kB / 484.2 MB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006615/0.8147, allocations: 1.967 MB / 486.2 MB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.8363, allocations: 7.076 MB / 493.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.841, allocations: 1.716 MB / 495 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.8436, allocations: 1.003 MB / 496 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.8438, allocations: 13 kB / 496 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/0.8461, allocations: 0.9329 MB / 496.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 4.158e-06/0.8461, allocations: 0 / 496.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.005036/0.8512, allocations: 1.734 MB / 498.7 MB, free: 6.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.8514, allocations: 183.5 kB / 498.9 MB, free: 6.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.8541, allocations: 1.052 MB / 499.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004085/0.8545, allocations: 81.67 kB / 500 MB, free: 4.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.8556, allocations: 0.7635 MB / 0.489 GB, free: 4.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/0.8563, allocations: 394.6 kB / 0.4894 GB, free: 3.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.8564, allocations: 28 kB / 0.4894 GB, free: 3.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.8567, allocations: 366.8 kB / 0.4898 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.8585, allocations: 0.6755 MB / 0.4904 GB, free: 2.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.8606, allocations: 0.9496 MB / 0.4914 GB, free: 1.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.8626, allocations: 0.7271 MB / 0.4921 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.8627, allocations: 8 kB / 0.4921 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005059/0.8677, allocations: 1.915 MB / 0.4939 GB, free: 14.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.8691, allocations: 2.445 MB / 0.4963 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.8692, allocations: 15.94 kB / 0.4963 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.8713, allocations: 498.6 kB / 0.4968 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.873, allocations: 199.6 kB / 0.497 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.8848, allocations: 5.205 MB / 0.5021 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.8869, allocations: 194.9 kB / 0.5023 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.8871, allocations: 51.94 kB / 0.5023 GB, free: 6.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8871, allocations: 4 kB / 0.5023 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006465/0.8936, allocations: 1.863 MB / 0.5041 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/0.8937, allocations: 4 kB / 0.5042 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/0.8964, allocations: 492.6 kB / 0.5046 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.8985, allocations: 187.7 kB / 0.5048 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.9125, allocations: 5.262 MB / 0.5099 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.9145, allocations: 171.2 kB / 0.5101 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/0.915, allocations: 52 kB / 0.5102 GB, free: 13.9 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 (144): * Single equations (assignments): 143 * 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.0009401/0.916, allocations: 241.4 kB / 0.5104 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.9167, allocations: 130.4 kB / 0.5105 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.9178, allocations: 185.8 kB / 0.5107 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-05/0.9178, allocations: 12 kB / 0.5107 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.9179, allocations: 0 / 0.5107 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/0.9179, allocations: 3.984 kB / 0.5107 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.932, allocations: 3.766 MB / 0.5144 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9321, allocations: 4 kB / 0.5144 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.9333, allocations: 135.7 kB / 0.5145 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.9352, allocations: 460.8 kB / 0.515 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.9354, allocations: 23.98 kB / 0.515 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.9469, allocations: 5.167 MB / 0.52 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9469, allocations: 0 / 0.52 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.9537, allocations: 2.754 MB / 0.5227 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.955, allocations: 383.1 kB / 0.5231 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.9554, allocations: 51.92 kB / 0.5231 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.957, allocations: 119.8 kB / 0.5232 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008558/0.9579, allocations: 236.9 kB / 0.5235 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3014/1.259, allocations: 29.52 kB / 0.5235 GB, free: 126.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002145/1.262, allocations: 0.798 MB / 0.5243 GB, free: 126.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.262, allocations: 0.5 kB / 0.5243 GB, free: 126.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003772/1.265, allocations: 0.8888 MB / 0.5251 GB, free: 126.3 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[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 89 * 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.007318/1.273, allocations: 3.428 MB / 0.5285 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007761/1.281, allocations: 3.065 MB / 0.5315 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.281, allocations: 0.5625 kB / 0.5315 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/1.283, allocations: 1.091 MB / 0.5325 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.286, allocations: 320.4 kB / 0.5329 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.297, allocations: 3.455 MB / 0.5362 GB, free: 124.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.299, allocations: 1.735 MB / 0.5379 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.301, allocations: 0.6497 MB / 0.5386 GB, free: 123.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/1.301, allocations: 0 / 0.5386 GB, free: 123.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.38/4.681, allocations: 41.89 MB / 0.5795 GB, free: 110.2 MB / 442.7 MB