Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.556e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5496, allocations: 86.08 MB / 428.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004884/0.5502, allocations: 85.69 kB / 428.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04891/0.5991, allocations: 10.32 MB / 439.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5992, allocations: 0 / 439.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.139e-05/0.5992, allocations: 12 kB / 439.1 MB, free: 14.94 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001716/0.601, allocations: 0.6932 MB / 439.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.601, allocations: 8.031 kB / 439.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.6012, allocations: 83.27 kB / 439.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.6013, allocations: 62.53 kB / 440 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.6021, allocations: 384.6 kB / 440.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.6022, allocations: 34.55 kB / 440.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.6023, allocations: 45.69 kB / 440.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6034, allocations: 463.3 kB / 440.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.6035, allocations: 7.906 kB / 440.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.6036, allocations: 24.36 kB / 440.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6036, allocations: 8 kB / 440.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.6044, allocations: 319.2 kB / 441.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.6085, allocations: 1.636 MB / 442.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.6094, allocations: 278 kB / 443.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.6097, allocations: 105.4 kB / 443.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.6097, allocations: 7.938 kB / 443.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005575/0.6103, allocations: 237.6 kB / 443.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/0.6103, allocations: 0 / 443.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009947/0.6113, allocations: 310.2 kB / 443.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6115, allocations: 143.9 kB / 443.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.612, allocations: 313.2 kB / 444.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.6121, allocations: 36.45 kB / 444.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.6124, allocations: 298.2 kB / 444.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6125, allocations: 93.14 kB / 444.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.6125, allocations: 7.75 kB / 444.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6127, allocations: 329.8 kB / 445 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.613, allocations: 113.8 kB / 445.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.6135, allocations: 268.1 kB / 445.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.6139, allocations: 130.4 kB / 445.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.6139, allocations: 4 kB / 445.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001035/0.6149, allocations: 400.4 kB / 445.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007758/0.6157, allocations: 1.659 MB / 447.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.6158, allocations: 4 kB / 447.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.6161, allocations: 52.3 kB / 447.6 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.6167, allocations: 75.39 kB / 447.7 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.6186, allocations: 1.489 MB / 449.2 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.6193, allocations: 82.33 kB / 449.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.6194, allocations: 19.7 kB / 449.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6194, allocations: 4 kB / 449.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009378/0.6204, allocations: 353.7 kB / 449.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6204, allocations: 4 kB / 449.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.6206, allocations: 44 kB / 449.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.6211, allocations: 66.97 kB / 449.7 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.6228, allocations: 1.488 MB / 451.2 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.6234, allocations: 61.53 kB / 451.3 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.6234, allocations: 15.56 kB / 451.3 MB, free: 3.727 MB / 362.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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.6237, allocations: 154.1 kB / 451.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.6238, allocations: 31.62 kB / 451.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.624, allocations: 44.11 kB / 451.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.624, allocations: 4 kB / 451.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.624, allocations: 0 / 451.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.624, allocations: 0 / 451.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.6259, allocations: 0.8833 MB / 452.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.626, allocations: 4 kB / 452.4 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.6263, allocations: 27.92 kB / 452.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.6265, allocations: 34.53 kB / 452.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6265, allocations: 18.88 kB / 452.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.6282, allocations: 1.411 MB / 453.9 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6282, allocations: 7.922 kB / 453.9 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.6295, allocations: 0.539 MB / 454.4 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.6297, allocations: 134.4 kB / 454.6 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.6298, allocations: 10.56 kB / 454.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.6303, allocations: 35.03 kB / 454.6 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6305, allocations: 31.45 kB / 454.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.6305, allocations: 19.48 kB / 454.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004177/0.631, allocations: 235.2 kB / 454.9 MB, free: 428 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.631, allocations: 0 / 454.9 MB, free: 428 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001212/0.6322, allocations: 210.6 kB / 455.1 MB, free: 236 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.634, allocations: 1.111 MB / 456.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.6357, allocations: 0.6891 MB / 456.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6357, allocations: 0 / 456.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.6362, allocations: 248.5 kB / 457.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.6368, allocations: 55.98 kB / 457.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.6393, allocations: 0.7134 MB / 457.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.6399, allocations: 0.8574 MB / 458.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.6402, allocations: 137.8 kB / 458.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6402, allocations: 0 / 458.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.921/3.561, allocations: 8.871 MB / 467.8 MB, free: 4.078 MB / 378.7 MB