Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.26/2.26, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.473e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.558, allocations: 82.63 MB / 382.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004709/0.5585, allocations: 87.47 kB / 382.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05075/0.6093, allocations: 10.55 MB / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6094, allocations: 0 / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.6094, allocations: 19.47 kB / 393.3 MB, free: 11.72 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002089/0.6115, allocations: 0.8649 MB / 394.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.6116, allocations: 7.75 kB / 394.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.6118, allocations: 107.1 kB / 394.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.612, allocations: 85.2 kB / 394.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.613, allocations: 487.7 kB / 394.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.6131, allocations: 62.84 kB / 394.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6132, allocations: 63.53 kB / 394.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6147, allocations: 0.6436 MB / 395.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.6148, allocations: 11.75 kB / 395.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.615, allocations: 24.52 kB / 395.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.615, allocations: 19.59 kB / 395.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.6162, allocations: 481.9 kB / 396.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005318/0.6216, allocations: 2.58 MB / 398.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.6232, allocations: 0.5559 MB / 399.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.624, allocations: 312.5 kB / 399.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.6241, allocations: 8.219 kB / 399.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000718/0.6249, allocations: 332.1 kB / 399.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 2.985e-06/0.6249, allocations: 3.969 kB / 399.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.00136/0.6262, allocations: 0.5011 MB / 400.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.6263, allocations: 118.9 kB / 400.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.6271, allocations: 426.9 kB / 400.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.6272, allocations: 37.14 kB / 400.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.6275, allocations: 312.1 kB / 401.2 MB, free: 8.953 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.6277, allocations: 160.3 kB / 401.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.6278, allocations: 14.28 kB / 401.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6279, allocations: 363.9 kB / 401.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.6284, allocations: 171.1 kB / 401.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.6289, allocations: 335.6 kB / 402.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.6294, allocations: 191.3 kB / 402.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.6294, allocations: 3.938 kB / 402.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0016/0.631, allocations: 0.6336 MB / 403.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.6314, allocations: 1.573 MB / 404.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6314, allocations: 7.875 kB / 404.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.6322, allocations: 145.5 kB / 404.8 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.6328, allocations: 84.39 kB / 404.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.6367, allocations: 2.329 MB / 407.2 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.6377, allocations: 88.88 kB / 407.3 MB, free: 20.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.6378, allocations: 23.33 kB / 407.3 MB, free: 20.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.6378, allocations: 7.688 kB / 407.3 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.6391, allocations: 0.5582 MB / 407.9 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.6391, allocations: 3.875 kB / 407.9 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.6398, allocations: 148 kB / 408 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.6403, allocations: 77.25 kB / 408.1 MB, free: 20.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003779/0.6441, allocations: 2.314 MB / 410.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.645, allocations: 68.2 kB / 410.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.6451, allocations: 22.97 kB / 410.5 MB, free: 19.3 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.6454, allocations: 159.8 kB / 410.7 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6456, allocations: 54.38 kB / 410.7 MB, free: 19.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6458, allocations: 74.61 kB / 410.8 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.6458, allocations: 7.75 kB / 410.8 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6458, allocations: 0 / 410.8 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6459, allocations: 0 / 410.8 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.6488, allocations: 1.315 MB / 412.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6488, allocations: 0 / 412.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.6492, allocations: 50.28 kB / 412.2 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006347/0.6499, allocations: 141.7 kB / 412.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.6499, allocations: 10.34 kB / 412.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.6539, allocations: 2.312 MB / 414.6 MB, free: 17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.654, allocations: 0 / 414.6 MB, free: 17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.6561, allocations: 0.8714 MB / 415.5 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.6565, allocations: 184.7 kB / 415.7 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6566, allocations: 10.5 kB / 415.7 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.6573, allocations: 41.72 kB / 415.7 MB, free: 16.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.6575, allocations: 62 kB / 415.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.6576, allocations: 19.58 kB / 415.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005671/0.6581, allocations: 314.5 kB / 416.1 MB, free: 16.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6582, allocations: 7.656 kB / 416.1 MB, free: 16.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001437/0.6596, allocations: 334.4 kB / 416.5 MB, free: 16.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002406/0.662, allocations: 1.513 MB / 418 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.6648, allocations: 1.138 MB / 419.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.6648, allocations: 3.875 kB / 419.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.6658, allocations: 447.7 kB / 419.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008941/0.6667, allocations: 91.66 kB / 419.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.6699, allocations: 1.007 MB / 420.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.6706, allocations: 0.9365 MB / 421.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007109/0.6713, allocations: 107 kB / 421.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.6717, allocations: 212.7 kB / 421.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6717, allocations: 0 / 421.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0712/0.7429, allocations: 15.53 MB / 437.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000435/0.7434, allocations: 235 kB / 437.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/4.111, allocations: 3.938 kB / 437.7 MB, free: 5.691 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat