Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.67e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09927, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5457, allocations: 82.33 MB / 382.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.5461, allocations: 86.95 kB / 382.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07947/0.6256, allocations: 13.37 MB / 395.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6257, allocations: 0 / 395.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.6258, allocations: 23.02 kB / 395.8 MB, free: 11.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.01145/0.6372, allocations: 0.8708 MB / 396.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.6373, allocations: 15.56 kB / 396.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003963/0.6377, allocations: 103.1 kB / 396.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.6381, allocations: 93.27 kB / 396.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.6438, allocations: 0.4986 MB / 397.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.644, allocations: 54.44 kB / 397.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.6443, allocations: 73.62 kB / 397.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.6469, allocations: 0.6804 MB / 398.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.6471, allocations: 0 / 398.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.6472, allocations: 32.09 kB / 398.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.6473, allocations: 15.56 kB / 398.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.6494, allocations: 0.4886 MB / 398.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.6597, allocations: 2.649 MB / 401.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.6614, allocations: 0.5692 MB / 401.9 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.6625, allocations: 390.9 kB / 402.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.6626, allocations: 4.312 kB / 402.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.6634, allocations: 353 kB / 402.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 4.038e-06/0.6634, allocations: 0 / 402.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001458/0.6649, allocations: 0.5356 MB / 403.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.665, allocations: 119.1 kB / 403.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.6657, allocations: 419.6 kB / 403.7 MB, free: 8.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.6658, allocations: 44.8 kB / 403.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.6661, allocations: 357.9 kB / 404.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6663, allocations: 175.5 kB / 404.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.6663, allocations: 11.44 kB / 404.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.6664, allocations: 342.2 kB / 404.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.6669, allocations: 190.5 kB / 404.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.6675, allocations: 348.4 kB / 405.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.668, allocations: 204.2 kB / 405.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.668, allocations: 0 / 405.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001785/0.6698, allocations: 0.6618 MB / 406 MB, free: 7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/0.6704, allocations: 1.566 MB / 407.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6704, allocations: 3.938 kB / 407.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.6715, allocations: 161.1 kB / 407.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.6724, allocations: 97.52 kB / 407.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.6773, allocations: 3.592 MB / 411.4 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.6783, allocations: 89.39 kB / 411.5 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.6784, allocations: 26.53 kB / 411.5 MB, free: 18.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6784, allocations: 3.875 kB / 411.5 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/0.6799, allocations: 0.6087 MB / 412.1 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.68, allocations: 3.969 kB / 412.1 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.6806, allocations: 164.9 kB / 412.3 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.6812, allocations: 87.09 kB / 412.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.6859, allocations: 3.581 MB / 416 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.6866, allocations: 72.34 kB / 416 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.6867, allocations: 25.81 kB / 416.1 MB, free: 15.32 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (65): * Single equations (assignments): 63 * 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.0002847/0.687, allocations: 151 kB / 416.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.6872, allocations: 59.08 kB / 416.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.6874, allocations: 65.42 kB / 416.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.6874, allocations: 11.8 kB / 416.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.6874, allocations: 0 / 416.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6874, allocations: 7.922 kB / 416.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.6904, allocations: 1.405 MB / 417.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6905, allocations: 0 / 417.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.691, allocations: 53.41 kB / 417.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/0.6916, allocations: 149.3 kB / 417.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.6917, allocations: 17.56 kB / 418 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.6964, allocations: 3.514 MB / 421.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6965, allocations: 0 / 421.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.6987, allocations: 0.9381 MB / 422.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.6991, allocations: 184.2 kB / 422.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6992, allocations: 17.78 kB / 422.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.6999, allocations: 42.14 kB / 422.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.7001, allocations: 81.52 kB / 422.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.7002, allocations: 19.2 kB / 422.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005433/0.7008, allocations: 317.4 kB / 423.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7008, allocations: 0 / 423.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001522/0.7023, allocations: 336.7 kB / 423.4 MB, free: 11.06 MB / 330.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (41): * Single equations (assignments): 34 * 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.002603/0.7049, allocations: 1.582 MB / 425 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.7078, allocations: 1.369 MB / 426.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7079, allocations: 3.938 kB / 426.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.7089, allocations: 0.5421 MB / 426.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.7098, allocations: 89.11 kB / 427 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.7131, allocations: 1.124 MB / 428.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.7138, allocations: 0.9474 MB / 429 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.7142, allocations: 229.2 kB / 429.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7142, allocations: 0 / 429.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.176/3.89, allocations: 16.2 MB / 445.5 MB, free: 15.23 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat