Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.166/2.166, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.679e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5525, allocations: 88.53 MB / 405.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004629/0.553, allocations: 89.69 kB / 405.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08105/0.6341, allocations: 14.38 MB / 420 MB, free: 2.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6341, allocations: 0 / 420 MB, free: 2.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.861e-05/0.6342, allocations: 20 kB / 420.1 MB, free: 2.953 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002585/0.6368, allocations: 0.9295 MB / 421 MB, free: 2.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6369, allocations: 12.02 kB / 421 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.6371, allocations: 112.6 kB / 421.1 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.6374, allocations: 87.31 kB / 421.2 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.6386, allocations: 0.5062 MB / 421.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.6386, allocations: 56.38 kB / 421.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.6388, allocations: 74.11 kB / 421.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.6406, allocations: 0.7045 MB / 422.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.6407, allocations: 7.922 kB / 422.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6408, allocations: 34.86 kB / 422.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.6408, allocations: 16 kB / 422.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.6422, allocations: 0.4945 MB / 423.1 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006147/0.6484, allocations: 2.694 MB / 425.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.6503, allocations: 0.6258 MB / 426.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.6518, allocations: 433.8 kB / 426.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.6519, allocations: 8.562 kB / 426.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009327/0.6528, allocations: 379.3 kB / 427.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 3.377e-06/0.6528, allocations: 0 / 427.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001679/0.6545, allocations: 0.5619 MB / 427.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6546, allocations: 111.4 kB / 427.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.6555, allocations: 424.9 kB / 428.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.6556, allocations: 39.7 kB / 428.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6559, allocations: 326.2 kB / 428.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.6562, allocations: 193 kB / 428.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.6562, allocations: 10.5 kB / 428.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6564, allocations: 375.9 kB / 429.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.657, allocations: 196.7 kB / 429.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.6577, allocations: 347.1 kB / 429.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.6583, allocations: 210.3 kB / 429.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6583, allocations: 0 / 429.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00206/0.6604, allocations: 0.6971 MB / 430.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008377/0.6612, allocations: 1.573 MB / 432.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6613, allocations: 4 kB / 432.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6623, allocations: 156.8 kB / 432.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6634, allocations: 106.9 kB / 432.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007086/0.6705, allocations: 3.599 MB / 436.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6722, allocations: 82.53 kB / 436.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.6724, allocations: 26.88 kB / 436.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6724, allocations: 4 kB / 436.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003212/0.6757, allocations: 0.6108 MB / 436.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.6758, allocations: 4.125 kB / 436.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.6772, allocations: 163.3 kB / 437 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6784, allocations: 103.3 kB / 437.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008787/0.6872, allocations: 3.593 MB / 440.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6885, allocations: 74.97 kB / 440.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.6886, allocations: 30.92 kB / 440.8 MB, free: 0.9688 MB / 346.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.000385/0.689, allocations: 153.5 kB / 440.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.6893, allocations: 63.25 kB / 441 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.6896, allocations: 69.77 kB / 441 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6896, allocations: 11.95 kB / 441.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.6896, allocations: 4 kB / 441.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6897, allocations: 7.922 kB / 441.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.6954, allocations: 1.431 MB / 442.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.6955, allocations: 3.953 kB / 442.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/0.6964, allocations: 75.17 kB / 442.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009662/0.6974, allocations: 153.8 kB / 442.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.6975, allocations: 11.81 kB / 442.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007464/0.705, allocations: 3.509 MB / 446.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.7051, allocations: 8.125 kB / 446.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.7088, allocations: 0.9636 MB / 447.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.7094, allocations: 197.2 kB / 447.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.7096, allocations: 11.25 kB / 447.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.7108, allocations: 51.2 kB / 447.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/0.7113, allocations: 90.33 kB / 447.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.7114, allocations: 15.69 kB / 447.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008718/0.7123, allocations: 321.3 kB / 447.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.7123, allocations: 0 / 447.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002793/0.7151, allocations: 347.4 kB / 448.2 MB, free: 10.56 MB / 362.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 (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.004546/0.7197, allocations: 1.616 MB / 449.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.7242, allocations: 1.357 MB / 451.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7243, allocations: 4 kB / 451.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.726, allocations: 0.5331 MB / 451.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7275, allocations: 113.4 kB / 451.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.7335, allocations: 1.157 MB / 453 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009861/0.7346, allocations: 0.9671 MB / 454 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.7357, allocations: 112.8 kB / 454.1 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/0.7363, allocations: 231.4 kB / 454.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7364, allocations: 0 / 454.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/0.8208, allocations: 16.55 MB / 470.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003901/0.8212, allocations: 252.3 kB / 471.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.057, allocations: 0 / 471.1 MB, free: 3.621 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat