Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.209/2.209, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.306e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 50.41 MB / 342.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5578, allocations: 90.21 MB / 432.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5582, allocations: 90.8 kB / 433 MB, free: 3.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06709/0.6253, allocations: 15.21 MB / 448.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6254, allocations: 0 / 448.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.87e-05/0.6255, allocations: 19.98 kB / 448.2 MB, free: 6.75 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003078/0.6286, allocations: 0.9526 MB / 449.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.6286, allocations: 8.031 kB / 449.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.629, allocations: 116.9 kB / 449.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.6294, allocations: 98.88 kB / 449.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.6308, allocations: 0.5068 MB / 449.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.631, allocations: 61.58 kB / 449.9 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.6312, allocations: 73 kB / 450 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.6334, allocations: 0.7445 MB / 450.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.6336, allocations: 0 / 450.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.6337, allocations: 36.3 kB / 450.8 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.6337, allocations: 16 kB / 450.8 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.6355, allocations: 0.5253 MB / 451.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007276/0.6428, allocations: 2.764 MB / 454.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.645, allocations: 0.6583 MB / 454.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.6465, allocations: 445.7 kB / 455.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.6467, allocations: 4.562 kB / 455.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.6477, allocations: 397 kB / 455.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 4.688e-06/0.6477, allocations: 0 / 455.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001795/0.6496, allocations: 0.5833 MB / 456.1 MB, free: 428 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6497, allocations: 144.6 kB / 456.3 MB, free: 256 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.6506, allocations: 414.3 kB / 456.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.6508, allocations: 51.44 kB / 456.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.6512, allocations: 374.7 kB / 457.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.6515, allocations: 184.8 kB / 457.3 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.6515, allocations: 13.88 kB / 457.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6517, allocations: 337.6 kB / 457.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.6523, allocations: 204.2 kB / 457.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.6531, allocations: 369 kB / 458.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.6537, allocations: 225.8 kB / 458.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6538, allocations: 0 / 458.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001886/0.6557, allocations: 0.6802 MB / 459.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008057/0.6565, allocations: 1.575 MB / 460.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.6565, allocations: 11.94 kB / 460.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008512/0.6574, allocations: 157.6 kB / 460.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008863/0.6583, allocations: 107.8 kB / 460.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.664, allocations: 3.6 MB / 464.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.665, allocations: 87.47 kB / 464.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.6651, allocations: 28 kB / 464.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6652, allocations: 4 kB / 464.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/0.667, allocations: 0.6359 MB / 465.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.667, allocations: 4.125 kB / 465.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.6677, allocations: 161.6 kB / 465.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.6686, allocations: 103.8 kB / 465.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.674, allocations: 3.576 MB / 469.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.6748, allocations: 79.58 kB / 469.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.6749, allocations: 24 kB / 469.2 MB, free: 3.215 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 (69): * Single equations (assignments): 67 * 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.0003293/0.6753, allocations: 164.9 kB / 469.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6755, allocations: 63.33 kB / 469.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.6758, allocations: 73.62 kB / 469.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.6758, allocations: 8 kB / 469.5 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6758, allocations: 4 kB / 469.5 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6758, allocations: 0 / 469.5 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.6795, allocations: 1.489 MB / 471 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6796, allocations: 0 / 471 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.6803, allocations: 79.92 kB / 471.1 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.681, allocations: 149.6 kB / 471.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/0.6812, allocations: 15.95 kB / 471.3 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/0.6865, allocations: 3.52 MB / 474.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6865, allocations: 3.938 kB / 474.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.6891, allocations: 1.003 MB / 475.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.6897, allocations: 200.2 kB / 476 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.6898, allocations: 16 kB / 476 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.6906, allocations: 52.23 kB / 476.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.6909, allocations: 76.45 kB / 476.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.691, allocations: 23.98 kB / 476.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006462/0.6917, allocations: 333.5 kB / 476.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6917, allocations: 0 / 476.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001884/0.6936, allocations: 355.1 kB / 476.8 MB, free: 11.22 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 (47): * Single equations (assignments): 40 * 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.003076/0.6967, allocations: 1.67 MB / 478.5 MB, free: 9.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.7001, allocations: 1.382 MB / 479.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.7001, allocations: 0 / 479.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.7014, allocations: 0.5598 MB / 480.4 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.7024, allocations: 98.39 kB / 480.5 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.7068, allocations: 1.225 MB / 481.8 MB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/0.7076, allocations: 0.978 MB / 482.7 MB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.7083, allocations: 247.4 kB / 483 MB, free: 4.898 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7083, allocations: 0 / 483 MB, free: 4.898 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.01/3.718, allocations: 17.52 MB / 0.4888 GB, free: 3.426 MB / 410.7 MB