Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.366/2.366, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.866e-05/5.884e-05, allocations: 4 kB / 292.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 50.41 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5814, allocations: 88.57 MB / 431.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.5818, allocations: 88.69 kB / 431.8 MB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06024/0.642, allocations: 13.38 MB / 445.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.6421, allocations: 0 / 445.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.6422, allocations: 15.94 kB / 445.2 MB, free: 10.3 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002671/0.6448, allocations: 0.8421 MB / 446.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6449, allocations: 8.031 kB / 446.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000287/0.6452, allocations: 103.1 kB / 446.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.6455, allocations: 75.16 kB / 446.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6468, allocations: 475.2 kB / 446.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.647, allocations: 57.45 kB / 446.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6472, allocations: 68.02 kB / 446.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.649, allocations: 0.611 MB / 447.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.6491, allocations: 3.938 kB / 447.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6492, allocations: 30.55 kB / 447.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.6492, allocations: 15.98 kB / 447.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.6506, allocations: 436.2 kB / 447.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006286/0.6569, allocations: 2.286 MB / 450.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.6581, allocations: 405.5 kB / 450.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.6589, allocations: 242.5 kB / 450.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.659, allocations: 4 kB / 450.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/0.6598, allocations: 319.6 kB / 451.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.416e-06/0.6598, allocations: 0 / 451.2 MB, free: 5.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.00138/0.6612, allocations: 436.4 kB / 451.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6614, allocations: 170.2 kB / 451.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6625, allocations: 416.4 kB / 452.2 MB, free: 4.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.6627, allocations: 40.94 kB / 452.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.6631, allocations: 313.6 kB / 452.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.6633, allocations: 134.7 kB / 452.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.6633, allocations: 10.5 kB / 452.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6635, allocations: 359.1 kB / 453 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.664, allocations: 161.3 kB / 453.2 MB, free: 3.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.6647, allocations: 313.7 kB / 453.5 MB, free: 3.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6658, allocations: 180.7 kB / 453.6 MB, free: 3.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/0.6658, allocations: 4 kB / 453.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002086/0.668, allocations: 0.5577 MB / 454.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008739/0.6689, allocations: 1.652 MB / 455.9 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.6689, allocations: 4 kB / 455.9 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.6696, allocations: 92.31 kB / 455.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.6703, allocations: 87.2 kB / 456 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.6734, allocations: 1.854 MB / 457.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/0.6744, allocations: 95.53 kB / 458 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.6745, allocations: 20 kB / 458 MB, free: 15.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6745, allocations: 4 kB / 458 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/0.6759, allocations: 479.9 kB / 458.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6759, allocations: 4 kB / 458.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.6764, allocations: 92.75 kB / 458.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.677, allocations: 80.34 kB / 458.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.68, allocations: 1.835 MB / 460.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.6809, allocations: 75.52 kB / 460.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.681, allocations: 24.06 kB / 460.6 MB, free: 12.46 MB / 378.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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (58): * Single equations (assignments): 57 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.6813, allocations: 152 kB / 460.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6815, allocations: 51.44 kB / 460.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.6817, allocations: 64.91 kB / 460.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6817, allocations: 8 kB / 460.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6817, allocations: 0 / 460.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6818, allocations: 7.953 kB / 460.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.6849, allocations: 1.276 MB / 462.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6849, allocations: 3.953 kB / 462.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.6854, allocations: 43.91 kB / 462.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.6858, allocations: 89.06 kB / 462.3 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.6859, allocations: 12 kB / 462.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.6889, allocations: 1.756 MB / 464 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6889, allocations: 7.969 kB / 464 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.6909, allocations: 0.7654 MB / 464.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.6914, allocations: 172.4 kB / 465 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6916, allocations: 12 kB / 465 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.6922, allocations: 43.97 kB / 465 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.6925, allocations: 51.92 kB / 465.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.6926, allocations: 15.98 kB / 465.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006512/0.6932, allocations: 317.2 kB / 465.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6933, allocations: 0 / 465.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001557/0.6948, allocations: 287.1 kB / 465.7 MB, free: 7.098 MB / 378.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.6974, allocations: 1.413 MB / 467.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.7, allocations: 0.937 MB / 468 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.7001, allocations: 0 / 468 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.701, allocations: 346.6 kB / 468.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.7019, allocations: 90.16 kB / 468.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.7053, allocations: 0.9243 MB / 469.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.7061, allocations: 0.9231 MB / 470.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000846/0.7069, allocations: 124.7 kB / 470.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.7074, allocations: 211.4 kB / 470.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7074, allocations: 0 / 470.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/0.7606, allocations: 13.12 MB / 483.8 MB, free: 5.145 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004019/0.7611, allocations: 234.2 kB / 484 MB, free: 4.836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/3.791, allocations: 0 / 484 MB, free: 4.836 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat