Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.847e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 50.41 MB / 342.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5031/0.6076, allocations: 89 MB / 431.6 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004328/0.6081, allocations: 79.77 kB / 431.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07604/0.6842, allocations: 13.72 MB / 445.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6842, allocations: 0 / 445.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.6843, allocations: 12 kB / 445.5 MB, free: 9.199 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002415/0.6867, allocations: 0.861 MB / 446.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6868, allocations: 12.03 kB / 446.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.6871, allocations: 105 kB / 446.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.6873, allocations: 83.06 kB / 446.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.6886, allocations: 488.6 kB / 447 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.6887, allocations: 52.5 kB / 447 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.6888, allocations: 65.61 kB / 447.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.6904, allocations: 0.6299 MB / 447.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.6905, allocations: 6.688 kB / 447.7 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.6906, allocations: 21.81 kB / 447.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.6907, allocations: 16 kB / 447.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.6919, allocations: 452.4 kB / 448.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.6977, allocations: 2.379 MB / 450.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6988, allocations: 423.2 kB / 451 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/0.6996, allocations: 245.3 kB / 451.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.6996, allocations: 15.31 kB / 451.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.7004, allocations: 309.7 kB / 451.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/0.7004, allocations: 0 / 451.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001308/0.7017, allocations: 448.8 kB / 452 MB, free: 3.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7019, allocations: 170.1 kB / 452.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.7027, allocations: 414.9 kB / 452.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/0.7028, allocations: 39.39 kB / 452.6 MB, free: 3.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.7031, allocations: 353.8 kB / 453 MB, free: 3.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.7033, allocations: 143.9 kB / 453.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.7034, allocations: 10.88 kB / 453.1 MB, free: 2.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7035, allocations: 336.9 kB / 453.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.704, allocations: 168.1 kB / 453.6 MB, free: 2.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.7046, allocations: 321.3 kB / 453.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.7051, allocations: 180.3 kB / 454.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.7051, allocations: 3.938 kB / 454.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001332/0.7065, allocations: 0.5275 MB / 454.6 MB, free: 1.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006747/0.7072, allocations: 1.653 MB / 456.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7072, allocations: 7.984 kB / 456.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.7077, allocations: 82.64 kB / 456.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.7085, allocations: 94.95 kB / 456.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.7109, allocations: 1.728 MB / 458.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/0.7119, allocations: 98.3 kB / 458.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.712, allocations: 23.06 kB / 458.3 MB, free: 14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.712, allocations: 4 kB / 458.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.7133, allocations: 493.9 kB / 458.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7134, allocations: 4 kB / 458.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.7138, allocations: 83.45 kB / 458.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.7144, allocations: 93.58 kB / 459 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.7167, allocations: 1.726 MB / 460.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.7174, allocations: 74.94 kB / 460.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.7175, allocations: 18.88 kB / 460.8 MB, free: 11.77 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 (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.0002659/0.7178, allocations: 154.2 kB / 460.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.718, allocations: 59.34 kB / 461 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.7182, allocations: 63.12 kB / 461.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.7182, allocations: 4 kB / 461.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7182, allocations: 0 / 461.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.7182, allocations: 7.984 kB / 461.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.7212, allocations: 1.305 MB / 462.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7212, allocations: 0 / 462.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.7217, allocations: 55.91 kB / 462.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.7221, allocations: 80.78 kB / 462.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.7221, allocations: 12 kB / 462.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.7244, allocations: 1.641 MB / 464.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7244, allocations: 4.062 kB / 464.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.7264, allocations: 0.789 MB / 464.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7268, allocations: 180.3 kB / 465.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.7269, allocations: 12 kB / 465.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.7275, allocations: 47.95 kB / 465.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.7277, allocations: 52.3 kB / 465.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.7278, allocations: 16 kB / 465.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006323/0.7285, allocations: 317.2 kB / 465.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.046e-06/0.7285, allocations: 4 kB / 465.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001388/0.7299, allocations: 303 kB / 465.9 MB, free: 6.598 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 (41): * Single equations (assignments): 35 * 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.002404/0.7323, allocations: 1.442 MB / 467.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.7346, allocations: 0.9078 MB / 468.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.7346, allocations: 384 / 468.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.7354, allocations: 347.2 kB / 468.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.7362, allocations: 86.34 kB / 468.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.7395, allocations: 1.025 MB / 469.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.7402, allocations: 0.9223 MB / 470.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.7407, allocations: 227.3 kB / 470.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of SimCode: time 2.935e-06/0.7407, allocations: 0 / 470.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.957/3.698, allocations: 12.72 MB / 483.5 MB, free: 4.816 MB / 394.7 MB