Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.561e-05, allocations: 4 kB / 255.5 MB, free: 2.586 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09881, allocations: 44.5 MB / 300 MB, free: 6.012 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.593, allocations: 82.32 MB / 382.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.5934, allocations: 85.31 kB / 382.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05046/0.6439, allocations: 12.76 MB / 395.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6439, allocations: 0 / 395.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.585e-05/0.644, allocations: 19.17 kB / 395.2 MB, free: 11.43 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003487/0.6475, allocations: 0.8709 MB / 396.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.6476, allocations: 11.62 kB / 396.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004118/0.648, allocations: 101.2 kB / 396.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.6484, allocations: 89.25 kB / 396.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.6499, allocations: 483.3 kB / 396.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.6501, allocations: 49.12 kB / 396.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.6503, allocations: 59.62 kB / 396.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.6526, allocations: 0.6175 MB / 397.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.6527, allocations: 2.203 kB / 397.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.6529, allocations: 35.39 kB / 397.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.6529, allocations: 15.64 kB / 397.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.6547, allocations: 433.7 kB / 397.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.6599, allocations: 2.332 MB / 400.3 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.6614, allocations: 0.4994 MB / 400.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.6621, allocations: 255.7 kB / 401 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.6622, allocations: 8.156 kB / 401 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006786/0.6629, allocations: 312.2 kB / 401.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.397e-06/0.6629, allocations: 3.781 kB / 401.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001191/0.6641, allocations: 453.8 kB / 401.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.6642, allocations: 143.4 kB / 401.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.6649, allocations: 391.6 kB / 402.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.6649, allocations: 47.34 kB / 402.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.6652, allocations: 310.6 kB / 402.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.6654, allocations: 149.3 kB / 402.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.6654, allocations: 13 kB / 402.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6656, allocations: 363.3 kB / 403.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.666, allocations: 165.4 kB / 403.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.6665, allocations: 304.3 kB / 403.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.667, allocations: 178.7 kB / 403.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.667, allocations: 0 / 403.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001308/0.6683, allocations: 0.545 MB / 404.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.6687, allocations: 1.665 MB / 406 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6687, allocations: 7.734 kB / 406 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.6692, allocations: 80.84 kB / 406.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.67, allocations: 106.2 kB / 406.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.6722, allocations: 1.723 MB / 407.9 MB, free: 20.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.6731, allocations: 85.77 kB / 408 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.6732, allocations: 23.19 kB / 408 MB, free: 20.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6732, allocations: 3.875 kB / 408 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/0.6744, allocations: 479.4 kB / 408.5 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6744, allocations: 11.69 kB / 408.5 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.6748, allocations: 86.08 kB / 408.6 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.6754, allocations: 92.42 kB / 408.7 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6776, allocations: 1.745 MB / 410.4 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/0.6785, allocations: 65.62 kB / 410.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.6786, allocations: 22.44 kB / 410.5 MB, free: 18.62 MB / 330.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,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_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 (63): * Single equations (assignments): 62 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002802/0.6789, allocations: 160.4 kB / 410.7 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.679, allocations: 58.41 kB / 410.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.6792, allocations: 62.44 kB / 410.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6792, allocations: 7.719 kB / 410.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6792, allocations: 0 / 410.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6793, allocations: 0 / 410.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.6818, allocations: 1.296 MB / 412.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.6818, allocations: 0 / 412.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.6824, allocations: 74.39 kB / 412.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.6828, allocations: 70.7 kB / 412.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.6829, allocations: 18.89 kB / 412.2 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.685, allocations: 1.633 MB / 413.9 MB, free: 16.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6851, allocations: 0 / 413.9 MB, free: 16.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.6868, allocations: 0.7872 MB / 414.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6872, allocations: 175.8 kB / 414.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6873, allocations: 11.62 kB / 414.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.688, allocations: 57.48 kB / 414.9 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.6882, allocations: 61.59 kB / 415 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.6883, allocations: 15.55 kB / 415 MB, free: 16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000505/0.6888, allocations: 303 kB / 415.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6888, allocations: 0 / 415.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6901, allocations: 286.9 kB / 415.6 MB, free: 15.85 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: 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,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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/0.6922, allocations: 1.436 MB / 417 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.6942, allocations: 0.9161 MB / 417.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6943, allocations: 0 / 417.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.6949, allocations: 351.9 kB / 418.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.6957, allocations: 82.09 kB / 418.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.6987, allocations: 1.003 MB / 419.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.6994, allocations: 0.9357 MB / 420.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007208/0.7001, allocations: 110.7 kB / 420.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.7005, allocations: 219 kB / 420.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7005, allocations: 0 / 420.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.7547, allocations: 13 MB / 433.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000381/0.7551, allocations: 251.7 kB / 433.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/3.858, allocations: 3.953 kB / 433.8 MB, free: 6.5 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat