Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.579e-05, allocations: 4 kB / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3121, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4596, allocations: 82.37 MB / 376.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4599, allocations: 87.89 kB / 376.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07407/0.534, allocations: 13.74 MB / 390.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5341, allocations: 0 / 390.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.5342, allocations: 16 kB / 390.5 MB, free: 1.535 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003036/0.5372, allocations: 0.9208 MB / 391.4 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5373, allocations: 12.03 kB / 391.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.5377, allocations: 94.91 kB / 391.5 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5391, allocations: 0.5007 MB / 392 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.5392, allocations: 23.98 kB / 392 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.5393, allocations: 51.91 kB / 392.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/0.5408, allocations: 475.9 kB / 392.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.5426, allocations: 0.6132 MB / 393.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.5428, allocations: 4 kB / 393.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/0.5429, allocations: 0 / 393.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.5429, allocations: 23.95 kB / 393.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/0.5498, allocations: 2.54 MB / 395.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.5517, allocations: 0.6008 MB / 396.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5529, allocations: 382.4 kB / 396.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.389e-05/0.553, allocations: 4.562 kB / 396.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.5539, allocations: 360.7 kB / 397 MB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 3.356e-06/0.5539, allocations: 7.875 kB / 397 MB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001544/0.5554, allocations: 0.5158 MB / 397.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.5555, allocations: 115.4 kB / 397.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/0.5562, allocations: 353.1 kB / 398 MB, free: 9.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.5563, allocations: 33.7 kB / 398 MB, free: 9.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.5567, allocations: 324.1 kB / 398.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.5569, allocations: 177.5 kB / 398.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.557, allocations: 8 kB / 398.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5572, allocations: 358.8 kB / 398.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.5577, allocations: 185.5 kB / 399.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.5584, allocations: 331.9 kB / 399.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.5589, allocations: 202.5 kB / 399.6 MB, free: 8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.5589, allocations: 0 / 399.6 MB, free: 8 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001771/0.5607, allocations: 0.6364 MB / 400.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007832/0.5615, allocations: 1.575 MB / 401.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5616, allocations: 4 kB / 401.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/0.5623, allocations: 149.6 kB / 402 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.5632, allocations: 111.8 kB / 402.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.5685, allocations: 3.5 MB / 405.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.5695, allocations: 71.61 kB / 405.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.5696, allocations: 20 kB / 405.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5696, allocations: 4 kB / 405.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/0.5712, allocations: 0.5455 MB / 406.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5712, allocations: 4.188 kB / 406.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.5719, allocations: 162 kB / 406.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.5726, allocations: 103.8 kB / 406.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.5779, allocations: 3.501 MB / 410 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.5787, allocations: 63.59 kB / 410 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.5788, allocations: 20 kB / 410.1 MB, free: 12.92 MB / 362.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 (67): * Single equations (assignments): 65 * 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.0003074/0.5791, allocations: 146.1 kB / 410.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001424/0.5806, allocations: 0.5235 MB / 410.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5807, allocations: 51.34 kB / 410.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.581, allocations: 61.62 kB / 410.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.581, allocations: 8 kB / 410.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.581, allocations: 3.953 kB / 410.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.581, allocations: 3.984 kB / 410.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.584, allocations: 1.281 MB / 412.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.584, allocations: 0 / 412.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.5847, allocations: 75.88 kB / 412.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006758/0.5854, allocations: 153.5 kB / 412.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.5855, allocations: 8 kB / 412.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.5904, allocations: 3.391 MB / 415.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5904, allocations: 0 / 415.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.5927, allocations: 0.8986 MB / 416.6 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.5932, allocations: 196.2 kB / 416.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.5934, allocations: 0 / 416.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.5941, allocations: 51.89 kB / 416.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.5945, allocations: 76.44 kB / 417 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.5945, allocations: 16 kB / 417 MB, free: 5.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004774/0.595, allocations: 267 kB / 417.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.595, allocations: 0 / 417.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/0.5967, allocations: 326.9 kB / 417.6 MB, free: 5.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 38 * 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.00262/0.5994, allocations: 1.477 MB / 419 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.6024, allocations: 1.315 MB / 420.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6024, allocations: 4 kB / 420.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6035, allocations: 0.5132 MB / 420.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.6043, allocations: 78.11 kB / 420.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.608, allocations: 1.1 MB / 422 MB, free: 448 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2689/0.877, allocations: 0.9602 MB / 423 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.8782, allocations: 105.3 kB / 423.1 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008569/0.8791, allocations: 227.9 kB / 423.3 MB, free: 104.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.8792, allocations: 0 / 423.3 MB, free: 104.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.9505, allocations: 14.81 MB / 438.1 MB, free: 102.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.9508, allocations: 213.4 kB / 438.3 MB, free: 102 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/4.241, allocations: 3.953 kB / 438.4 MB, free: 102 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat