Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.262e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 50.4 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6119, allocations: 89.47 MB / 432.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005117/0.6125, allocations: 90.44 kB / 432.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09609/0.7086, allocations: 14.14 MB / 446.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7087, allocations: 0 / 446.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.7088, allocations: 20 kB / 446.4 MB, free: 8.727 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004027/0.7129, allocations: 0.8974 MB / 447.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/0.713, allocations: 8.031 kB / 447.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003634/0.7133, allocations: 105.8 kB / 447.4 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.7138, allocations: 90.97 kB / 447.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.7157, allocations: 494.4 kB / 447.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7158, allocations: 56.3 kB / 448 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.7161, allocations: 68 kB / 448.1 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.7189, allocations: 0.6558 MB / 448.7 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.454e-05/0.7191, allocations: 7.906 kB / 448.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.7193, allocations: 29.31 kB / 448.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.7193, allocations: 16 kB / 448.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.7217, allocations: 461.5 kB / 449.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/0.7314, allocations: 2.408 MB / 451.6 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.7344, allocations: 0.5283 MB / 452.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.7357, allocations: 276.3 kB / 452.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.7358, allocations: 9.125 kB / 452.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.7371, allocations: 335 kB / 452.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 6.061e-06/0.7371, allocations: 0 / 452.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002215/0.7393, allocations: 472 kB / 453.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.7395, allocations: 170.6 kB / 453.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.7407, allocations: 404.7 kB / 453.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.7409, allocations: 38.77 kB / 453.8 MB, free: 2.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.7413, allocations: 358.7 kB / 454.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.7417, allocations: 164 kB / 454.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.7417, allocations: 10.5 kB / 454.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.742, allocations: 336.1 kB / 454.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.7428, allocations: 168.3 kB / 454.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.7438, allocations: 331.9 kB / 455.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.7446, allocations: 187.3 kB / 455.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.7447, allocations: 4 kB / 455.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002267/0.7469, allocations: 0.5381 MB / 455.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009349/0.7479, allocations: 1.653 MB / 457.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.748, allocations: 4 kB / 457.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007155/0.7487, allocations: 80.88 kB / 457.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.75, allocations: 107.4 kB / 457.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.7537, allocations: 1.733 MB / 459.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7552, allocations: 86.61 kB / 459.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.7553, allocations: 26.62 kB / 459.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7554, allocations: 0 / 459.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/0.7575, allocations: 0.4941 MB / 460.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.7576, allocations: 8 kB / 460.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.7581, allocations: 79.72 kB / 460.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7593, allocations: 103.5 kB / 460.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.763, allocations: 1.734 MB / 462 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.7638, allocations: 71.72 kB / 462.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.7638, allocations: 20 kB / 462.1 MB, free: 10.8 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (65): * Single equations (assignments): 64 * 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.0002776/0.7641, allocations: 159.8 kB / 462.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.7643, allocations: 59.25 kB / 462.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.7646, allocations: 69.23 kB / 462.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.7646, allocations: 8 kB / 462.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7646, allocations: 0 / 462.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.7646, allocations: 4 kB / 462.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.7676, allocations: 1.351 MB / 463.7 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7677, allocations: 0 / 463.7 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.7683, allocations: 75.92 kB / 463.8 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.7687, allocations: 68.83 kB / 463.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.7688, allocations: 15.98 kB / 463.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.7711, allocations: 1.649 MB / 465.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7711, allocations: 0 / 465.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.7732, allocations: 0.8326 MB / 466.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.7737, allocations: 180.2 kB / 466.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7738, allocations: 12 kB / 466.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.7746, allocations: 55.95 kB / 466.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.7749, allocations: 56.34 kB / 466.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.7749, allocations: 16 kB / 466.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006582/0.7756, allocations: 313.1 kB / 467 MB, free: 5.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7756, allocations: 0 / 467 MB, free: 5.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001489/0.7771, allocations: 307 kB / 467.3 MB, free: 5.355 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (45): * Single equations (assignments): 39 * 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.002513/0.7797, allocations: 1.474 MB / 468.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.7821, allocations: 0.934 MB / 469.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.7821, allocations: 4 kB / 469.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.783, allocations: 368.8 kB / 470 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.784, allocations: 95.28 kB / 470.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.7877, allocations: 1.08 MB / 471.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.7884, allocations: 0.9457 MB / 472.2 MB, free: 328 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.789, allocations: 227.4 kB / 472.4 MB, free: 100 kB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.789, allocations: 0 / 472.4 MB, free: 100 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.981/3.77, allocations: 13.18 MB / 485.6 MB, free: 2.961 MB / 394.7 MB