Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.484e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1637, allocations: 50.42 MB / 342.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.6008, allocations: 89.74 MB / 432.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6012, allocations: 89.75 kB / 432.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06261/0.6638, allocations: 14.96 MB / 447.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6639, allocations: 0 / 447.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.664, allocations: 16 kB / 447.5 MB, free: 7.777 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002663/0.6666, allocations: 0.9206 MB / 448.4 MB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6667, allocations: 12.03 kB / 448.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/0.667, allocations: 114.6 kB / 448.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.6673, allocations: 94.81 kB / 448.6 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.6685, allocations: 0.5187 MB / 449.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.6686, allocations: 54.61 kB / 449.2 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6688, allocations: 73.38 kB / 449.2 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.6707, allocations: 0.7333 MB / 450 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.6707, allocations: 4 kB / 450 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6709, allocations: 35.8 kB / 450 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.6709, allocations: 16 kB / 450 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.6724, allocations: 0.5204 MB / 450.5 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00655/0.6789, allocations: 2.784 MB / 453.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.6803, allocations: 0.5348 MB / 453.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.6817, allocations: 434.8 kB / 454.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.6818, allocations: 8.562 kB / 454.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.6827, allocations: 361.9 kB / 454.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 3.536e-06/0.6827, allocations: 3.938 kB / 454.7 MB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001613/0.6844, allocations: 0.5644 MB / 455.2 MB, free: 1.625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.6845, allocations: 149 kB / 455.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/0.6853, allocations: 446.7 kB / 455.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6855, allocations: 51.38 kB / 455.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.6858, allocations: 365 kB / 456.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.686, allocations: 178.4 kB / 456.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.6861, allocations: 10.5 kB / 456.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6862, allocations: 344.7 kB / 456.7 MB, free: 304 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.6868, allocations: 197.7 kB / 456.9 MB, free: 188 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.6875, allocations: 358.4 kB / 457.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.6882, allocations: 221.1 kB / 457.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6882, allocations: 0 / 457.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00242/0.6906, allocations: 0.6742 MB / 458.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009266/0.6916, allocations: 1.579 MB / 459.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.6916, allocations: 4 kB / 459.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6928, allocations: 157.6 kB / 459.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6939, allocations: 107.8 kB / 460 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/0.7015, allocations: 3.599 MB / 463.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.703, allocations: 95.45 kB / 463.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7031, allocations: 28 kB / 463.7 MB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7031, allocations: 4 kB / 463.7 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002554/0.7057, allocations: 0.6276 MB / 464.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.7058, allocations: 7.953 kB / 464.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.7068, allocations: 158.1 kB / 464.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7078, allocations: 91.83 kB / 464.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.7152, allocations: 3.57 MB / 468.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7162, allocations: 79.56 kB / 468.3 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/0.7164, allocations: 28.25 kB / 468.3 MB, free: 4.262 MB / 378.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_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_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 (68): * Single equations (assignments): 66 * 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.0004121/0.7168, allocations: 156.9 kB / 468.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.7171, allocations: 67.28 kB / 468.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.7175, allocations: 73.7 kB / 468.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.7175, allocations: 8 kB / 468.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7175, allocations: 3.953 kB / 468.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.7175, allocations: 0 / 468.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.723, allocations: 1.485 MB / 470.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.7231, allocations: 4 kB / 470.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.724, allocations: 51.97 kB / 470.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.7253, allocations: 153.6 kB / 470.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.7254, allocations: 15.98 kB / 470.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008496/0.7339, allocations: 3.508 MB / 473.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.734, allocations: 0 / 473.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/0.7385, allocations: 1.011 MB / 474.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.7393, allocations: 192.3 kB / 475 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.7394, allocations: 19.98 kB / 475 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.7401, allocations: 43.97 kB / 475.1 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.7404, allocations: 80.34 kB / 475.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.7405, allocations: 20.27 kB / 475.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006721/0.7412, allocations: 337.6 kB / 475.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7412, allocations: 0 / 475.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001824/0.743, allocations: 362.9 kB / 475.8 MB, free: 12.3 MB / 394.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: 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_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: 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 (44): * Single equations (assignments): 37 * 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.003728/0.7468, allocations: 1.662 MB / 477.5 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.7501, allocations: 1.35 MB / 478.9 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.7501, allocations: 0 / 478.9 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.7513, allocations: 0.5412 MB / 479.4 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7524, allocations: 110.5 kB / 479.5 MB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.7564, allocations: 1.187 MB / 480.7 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.7572, allocations: 0.9624 MB / 481.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.7579, allocations: 251.3 kB / 481.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7579, allocations: 0 / 481.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.952/3.71, allocations: 17.3 MB / 499.2 MB, free: 4.793 MB / 410.7 MB