Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.495e-05, allocations: 4 kB / 255.5 MB, free: 3.066 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09809, allocations: 44.51 MB / 300 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.596, allocations: 82.11 MB / 382.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5963, allocations: 86.25 kB / 382.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05133/0.6477, allocations: 12.63 MB / 394.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6478, allocations: 0 / 394.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.999e-05/0.6478, allocations: 19.41 kB / 394.8 MB, free: 11.45 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002314/0.6502, allocations: 0.8553 MB / 395.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6502, allocations: 11.88 kB / 395.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/0.6505, allocations: 103.4 kB / 395.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.6507, allocations: 77.97 kB / 395.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6519, allocations: 477.4 kB / 396.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.6519, allocations: 50.78 kB / 396.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6521, allocations: 65.81 kB / 396.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.6536, allocations: 0.6127 MB / 397.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.6537, allocations: 0 / 397.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/0.6538, allocations: 27.02 kB / 397.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.6538, allocations: 19.19 kB / 397.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.655, allocations: 439.1 kB / 397.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005353/0.6603, allocations: 2.329 MB / 399.9 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.6617, allocations: 460.1 kB / 400.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.6624, allocations: 240.5 kB / 400.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-05/0.6625, allocations: 11.77 kB / 400.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006637/0.6632, allocations: 304.6 kB / 400.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/0.6632, allocations: 0 / 400.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001158/0.6644, allocations: 434.8 kB / 401.3 MB, free: 8.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.6645, allocations: 140 kB / 401.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.6652, allocations: 405.7 kB / 401.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.6653, allocations: 44.84 kB / 401.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.6656, allocations: 359.9 kB / 402.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6657, allocations: 139.5 kB / 402.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.6658, allocations: 10.41 kB / 402.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.6659, allocations: 332.4 kB / 402.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.6663, allocations: 154.7 kB / 402.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.6668, allocations: 306.5 kB / 403.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.6673, allocations: 180 kB / 403.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6673, allocations: 3.875 kB / 403.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001191/0.6685, allocations: 0.5065 MB / 403.8 MB, free: 7.645 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.6689, allocations: 1.659 MB / 405.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6689, allocations: 3.969 kB / 405.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.6694, allocations: 78.59 kB / 405.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.6701, allocations: 93.67 kB / 405.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.6725, allocations: 1.728 MB / 407.4 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.6734, allocations: 87.95 kB / 407.5 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.6735, allocations: 22.17 kB / 407.5 MB, free: 20.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6735, allocations: 7.766 kB / 407.5 MB, free: 20.4 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/0.6746, allocations: 481 kB / 408 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6747, allocations: 7.828 kB / 408 MB, free: 20.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.675, allocations: 81.27 kB / 408 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.6756, allocations: 85.2 kB / 408.1 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6779, allocations: 1.719 MB / 409.8 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.6786, allocations: 70.47 kB / 409.9 MB, free: 18.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.6787, allocations: 27.36 kB / 409.9 MB, free: 18.82 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 (62): * Single equations (assignments): 61 * 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.0003064/0.679, allocations: 150.2 kB / 410.1 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.6792, allocations: 54.47 kB / 410.1 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.6794, allocations: 59.19 kB / 410.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6794, allocations: 7.828 kB / 410.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6794, allocations: 3.984 kB / 410.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6794, allocations: 0 / 410.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.682, allocations: 1.26 MB / 411.5 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6821, allocations: 3.938 kB / 411.5 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.6825, allocations: 46.34 kB / 411.5 MB, free: 18.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.6829, allocations: 84.16 kB / 411.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.683, allocations: 14.44 kB / 411.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.6852, allocations: 1.645 MB / 413.3 MB, free: 16.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6853, allocations: 80 / 413.3 MB, free: 16.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.687, allocations: 0.7439 MB / 414 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.6875, allocations: 175.8 kB / 414.2 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6876, allocations: 10.75 kB / 414.2 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.6882, allocations: 40.78 kB / 414.2 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.6884, allocations: 53.05 kB / 414.3 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.6885, allocations: 19.42 kB / 414.3 MB, free: 16.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.689, allocations: 317 kB / 414.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6891, allocations: 0 / 414.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001399/0.6905, allocations: 289.5 kB / 414.9 MB, free: 16.07 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 (40): * Single equations (assignments): 34 * 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.002268/0.6928, allocations: 1.391 MB / 416.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.6948, allocations: 0.8803 MB / 417.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.6949, allocations: 0.8125 kB / 417.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.6956, allocations: 339.4 kB / 417.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.6964, allocations: 71.89 kB / 417.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.6997, allocations: 1.008 MB / 418.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.7004, allocations: 0.9212 MB / 419.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.7009, allocations: 222.5 kB / 419.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7009, allocations: 0 / 419.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.975/3.676, allocations: 12.38 MB / 432.1 MB, free: 7.219 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat