Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.994e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5891, allocations: 82.33 MB / 382.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5895, allocations: 86.19 kB / 382.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05153/0.641, allocations: 13.37 MB / 395.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6411, allocations: 7.875 kB / 395.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.191e-05/0.6412, allocations: 19.44 kB / 395.8 MB, free: 11.48 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002095/0.6433, allocations: 0.8784 MB / 396.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6433, allocations: 7.781 kB / 396.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.6435, allocations: 109.6 kB / 396.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.6437, allocations: 89.52 kB / 396.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.6448, allocations: 0.4912 MB / 397.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.6449, allocations: 55.72 kB / 397.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.645, allocations: 67.09 kB / 397.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.6466, allocations: 0.6797 MB / 398.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.6467, allocations: 0 / 398.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.6468, allocations: 26.81 kB / 398.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.6468, allocations: 19.34 kB / 398.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.648, allocations: 0.4938 MB / 398.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.6535, allocations: 2.65 MB / 401.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.6551, allocations: 0.5739 MB / 401.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6562, allocations: 389.1 kB / 402.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.6563, allocations: 4.312 kB / 402.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.657, allocations: 348.3 kB / 402.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.647e-06/0.657, allocations: 0 / 402.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001399/0.6585, allocations: 0.5343 MB / 403.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.6585, allocations: 119.1 kB / 403.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.6593, allocations: 425.5 kB / 403.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.6594, allocations: 48.88 kB / 403.8 MB, free: 8.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.6596, allocations: 312.7 kB / 404.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6598, allocations: 174.4 kB / 404.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.6599, allocations: 15.31 kB / 404.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.66, allocations: 369.3 kB / 404.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.6605, allocations: 188.2 kB / 404.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.6611, allocations: 345.3 kB / 405.1 MB, free: 7.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.6616, allocations: 208.3 kB / 405.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.6617, allocations: 0 / 405.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001672/0.6633, allocations: 0.6894 MB / 406 MB, free: 7.062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003374/0.6637, allocations: 1.57 MB / 407.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6637, allocations: 7.625 kB / 407.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.6645, allocations: 160.1 kB / 407.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.6652, allocations: 100.2 kB / 407.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.6701, allocations: 3.589 MB / 411.5 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009426/0.6711, allocations: 89.48 kB / 411.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.6712, allocations: 22.94 kB / 411.6 MB, free: 18.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6712, allocations: 3.875 kB / 411.6 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001504/0.6727, allocations: 0.6123 MB / 412.2 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6727, allocations: 3.938 kB / 412.2 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.6734, allocations: 162.2 kB / 412.3 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.674, allocations: 90.2 kB / 412.4 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.6787, allocations: 3.603 MB / 416 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/0.6796, allocations: 76.16 kB / 416.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.6797, allocations: 25.53 kB / 416.1 MB, free: 15.36 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: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.68, allocations: 156.5 kB / 416.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.6801, allocations: 58.31 kB / 416.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.6804, allocations: 67.44 kB / 416.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.6804, allocations: 7.828 kB / 416.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.6804, allocations: 4 kB / 416.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6804, allocations: 3.969 kB / 416.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.6834, allocations: 1.392 MB / 417.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6835, allocations: 4.031 kB / 417.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.684, allocations: 54.69 kB / 417.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006685/0.6846, allocations: 149.1 kB / 418 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.6847, allocations: 14.77 kB / 418 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004741/0.6895, allocations: 3.522 MB / 421.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6895, allocations: 0 / 421.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.6918, allocations: 0.9369 MB / 422.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.6923, allocations: 187.1 kB / 422.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.6924, allocations: 17.83 kB / 422.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.6931, allocations: 38.38 kB / 422.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.6934, allocations: 78.55 kB / 422.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.6934, allocations: 23.05 kB / 422.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.694, allocations: 326 kB / 423.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.694, allocations: 0 / 423.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001598/0.6956, allocations: 339.1 kB / 423.5 MB, free: 11.1 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: 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002663/0.6983, allocations: 1.575 MB / 425 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.7013, allocations: 1.382 MB / 426.4 MB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.7014, allocations: 4.062 kB / 426.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.7026, allocations: 0.5332 MB / 427 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.7036, allocations: 102 kB / 427.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.7074, allocations: 1.109 MB / 428.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.7082, allocations: 0.9562 MB / 429.1 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007487/0.709, allocations: 106.9 kB / 429.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.7094, allocations: 221.8 kB / 429.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7094, allocations: 0 / 429.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.8145, allocations: 16.03 MB / 445.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/0.815, allocations: 240.5 kB / 445.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.167, allocations: 0 / 445.7 MB, free: 14.5 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat