Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.876e-05, allocations: 3.953 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.0992, allocations: 44.52 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5573, allocations: 80.88 MB / 375.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.5577, allocations: 86.53 kB / 375.3 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05426/0.612, allocations: 11.91 MB / 387.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.612, allocations: 0 / 387.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.542e-05/0.6121, allocations: 11.34 kB / 387.2 MB, free: 18.71 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002382/0.6145, allocations: 0.8227 MB / 388 MB, free: 18.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.6146, allocations: 15.67 kB / 388 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.6149, allocations: 77.45 kB / 388.1 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.616, allocations: 461.9 kB / 388.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.6161, allocations: 19.47 kB / 388.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.6162, allocations: 46.27 kB / 388.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/0.6174, allocations: 382.3 kB / 389 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6188, allocations: 0.5094 MB / 389.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.6188, allocations: 0 / 389.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.6189, allocations: 0 / 389.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6189, allocations: 19.3 kB / 389.5 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.6241, allocations: 2.077 MB / 391.6 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6255, allocations: 434.3 kB / 392 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.6263, allocations: 217.5 kB / 392.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.6263, allocations: 6.766 kB / 392.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006934/0.627, allocations: 281.8 kB / 392.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.587e-06/0.6271, allocations: 0 / 392.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001139/0.6282, allocations: 378.7 kB / 392.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6283, allocations: 144.4 kB / 393 MB, free: 15.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.629, allocations: 345.9 kB / 393.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.6291, allocations: 32.83 kB / 393.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.6294, allocations: 307.7 kB / 393.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6295, allocations: 130.7 kB / 393.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.6296, allocations: 0 / 393.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6298, allocations: 353.7 kB / 394.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.6301, allocations: 138.5 kB / 394.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.6307, allocations: 286.4 kB / 394.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.6311, allocations: 160.7 kB / 394.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.6311, allocations: 7.922 kB / 394.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001251/0.6324, allocations: 486.9 kB / 395.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000792/0.6332, allocations: 1.652 MB / 396.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6332, allocations: 3.938 kB / 396.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.6338, allocations: 96.69 kB / 397 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.6345, allocations: 81.56 kB / 397.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.6374, allocations: 1.793 MB / 398.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.6383, allocations: 70.14 kB / 398.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.6384, allocations: 22.88 kB / 398.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6384, allocations: 3.875 kB / 399 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/0.6395, allocations: 415.5 kB / 399.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6395, allocations: 7.75 kB / 399.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.64, allocations: 92.78 kB / 399.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.6405, allocations: 80.59 kB / 399.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.6433, allocations: 1.801 MB / 401.3 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.6441, allocations: 62.14 kB / 401.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.6441, allocations: 19.16 kB / 401.4 MB, free: 9.879 MB / 314.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 (56): * Single equations (assignments): 55 * 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.0002697/0.6444, allocations: 138.8 kB / 401.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000988/0.6454, allocations: 380.1 kB / 401.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6455, allocations: 46.69 kB / 402 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.6457, allocations: 54.91 kB / 402 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.6457, allocations: 8.172 kB / 402 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6458, allocations: 0 / 402 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6458, allocations: 4.031 kB / 402 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.6482, allocations: 1.094 MB / 403.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6483, allocations: 7.969 kB / 403.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.6487, allocations: 42.12 kB / 403.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.6491, allocations: 82.78 kB / 403.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.6492, allocations: 4 kB / 403.3 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.6518, allocations: 1.691 MB / 405 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6518, allocations: 8 kB / 405 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6535, allocations: 0.6814 MB / 405.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.6538, allocations: 163.7 kB / 405.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.654, allocations: 6.531 kB / 405.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.6546, allocations: 35.06 kB / 405.8 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.6548, allocations: 48.58 kB / 405.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.6549, allocations: 18.67 kB / 405.9 MB, free: 7.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004726/0.6554, allocations: 263.3 kB / 406.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6554, allocations: 0 / 406.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001467/0.6569, allocations: 256.9 kB / 406.4 MB, free: 7.121 MB / 314.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,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 (35): * Single equations (assignments): 29 * 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.002151/0.659, allocations: 1.318 MB / 407.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.6612, allocations: 0.8581 MB / 408.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6612, allocations: 4.25 kB / 408.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.662, allocations: 334.9 kB / 408.9 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.6628, allocations: 74.31 kB / 409 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.6658, allocations: 0.829 MB / 409.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.6665, allocations: 0.9084 MB / 410.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007567/0.6673, allocations: 102.7 kB / 410.8 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.6677, allocations: 197.3 kB / 411 MB, free: 4.508 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6677, allocations: 0 / 411 MB, free: 4.508 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06656/0.7343, allocations: 11.19 MB / 422.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00039/0.7347, allocations: 204.5 kB / 422.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.255/3.99, allocations: 0 / 422.4 MB, free: 10.89 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat