Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.334/2.334, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.546e-05, allocations: 7.984 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6115, allocations: 88.07 MB / 405.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.6119, allocations: 89.75 kB / 405.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06183/0.6738, allocations: 14.16 MB / 419.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6739, allocations: 0 / 419.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.578e-05/0.6739, allocations: 20 kB / 419.4 MB, free: 3.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002704/0.6767, allocations: 0.9066 MB / 420.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.6767, allocations: 8.031 kB / 420.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002544/0.677, allocations: 108.8 kB / 420.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.6773, allocations: 94.92 kB / 420.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.6786, allocations: 0.502 MB / 421 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.6787, allocations: 53.06 kB / 421 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.6789, allocations: 71.05 kB / 421.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.6808, allocations: 0.6967 MB / 421.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.6809, allocations: 11.84 kB / 421.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.681, allocations: 30.69 kB / 421.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.681, allocations: 16 kB / 421.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6825, allocations: 0.4907 MB / 422.4 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006738/0.6893, allocations: 2.7 MB / 425.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.6911, allocations: 0.5774 MB / 425.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.6926, allocations: 415.3 kB / 426 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.6927, allocations: 4.438 kB / 426 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009027/0.6936, allocations: 364.8 kB / 426.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.997e-06/0.6936, allocations: 0 / 426.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001646/0.6953, allocations: 0.5404 MB / 426.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6954, allocations: 119.3 kB / 427.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.6963, allocations: 438.9 kB / 427.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.6964, allocations: 43.25 kB / 427.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.6968, allocations: 329.8 kB / 427.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.6971, allocations: 181.8 kB / 428 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.6971, allocations: 10.12 kB / 428 MB, free: 12.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.6974, allocations: 376 kB / 428.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.6979, allocations: 187.8 kB / 428.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.6986, allocations: 346.8 kB / 428.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.6992, allocations: 206.3 kB / 429.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6993, allocations: 0 / 429.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001999/0.7013, allocations: 0.6832 MB / 429.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007815/0.7021, allocations: 1.569 MB / 431.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.7022, allocations: 8 kB / 431.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008844/0.703, allocations: 157.2 kB / 431.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.7038, allocations: 95.14 kB / 431.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.7093, allocations: 3.599 MB / 435.2 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.7104, allocations: 89.72 kB / 435.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.7105, allocations: 31.31 kB / 435.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7105, allocations: 4 kB / 435.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001765/0.7123, allocations: 0.6021 MB / 436 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7123, allocations: 4 kB / 436 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/0.713, allocations: 168.3 kB / 436.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.7137, allocations: 87.27 kB / 436.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.719, allocations: 3.599 MB / 439.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.72, allocations: 70.22 kB / 439.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.7201, allocations: 31.61 kB / 439.9 MB, free: 1.828 MB / 346.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 (66): * Single equations (assignments): 64 * 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.0003091/0.7204, allocations: 155.2 kB / 440.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7206, allocations: 67.2 kB / 440.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.7208, allocations: 69.28 kB / 440.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.7208, allocations: 4 kB / 440.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7208, allocations: 0 / 440.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.7209, allocations: 11.97 kB / 440.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.7243, allocations: 1.41 MB / 441.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7244, allocations: 4 kB / 441.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.7249, allocations: 51.09 kB / 441.7 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.7256, allocations: 150.7 kB / 441.8 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.7257, allocations: 18.36 kB / 441.8 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.7313, allocations: 3.516 MB / 445.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.7314, allocations: 3.984 kB / 445.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.734, allocations: 0.9491 MB / 446.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.7346, allocations: 189.6 kB / 446.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.7347, allocations: 14.94 kB / 446.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/0.7355, allocations: 43.28 kB / 446.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.7358, allocations: 75.19 kB / 446.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.7359, allocations: 19.61 kB / 446.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006703/0.7365, allocations: 325.7 kB / 447 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7366, allocations: 0 / 447 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001923/0.7385, allocations: 363.1 kB / 447.3 MB, free: 11.45 MB / 362.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 (42): * 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: 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.00314/0.7417, allocations: 1.591 MB / 448.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.7451, allocations: 1.333 MB / 450.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.7452, allocations: 0 / 450.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.7464, allocations: 0.5294 MB / 450.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.7475, allocations: 110.4 kB / 450.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.7516, allocations: 1.123 MB / 452 MB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.7524, allocations: 0.9554 MB / 453 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000807/0.7533, allocations: 116.8 kB / 453.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.7538, allocations: 231.4 kB / 453.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7538, allocations: 4 kB / 453.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08132/0.8351, allocations: 16.31 MB / 469.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.8355, allocations: 244.2 kB / 469.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/4.115, allocations: 3.938 kB / 469.9 MB, free: 4.902 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat