Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.346e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5459, allocations: 82.02 MB / 382 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.5463, allocations: 85.36 kB / 382.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05307/0.5994, allocations: 13.05 MB / 395.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5995, allocations: 0 / 395.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.924e-05/0.5996, allocations: 15.66 kB / 395.2 MB, free: 11.62 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002615/0.6022, allocations: 0.8631 MB / 396 MB, free: 11.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.596e-05/0.6023, allocations: 11.62 kB / 396 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004586/0.6028, allocations: 103.2 kB / 396.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.6031, allocations: 89.14 kB / 396.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6042, allocations: 492.3 kB / 396.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.6043, allocations: 49.88 kB / 396.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.6045, allocations: 69.19 kB / 396.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.6061, allocations: 0.6602 MB / 397.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.6062, allocations: 0 / 397.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.6063, allocations: 28.22 kB / 397.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6063, allocations: 15.25 kB / 397.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.6075, allocations: 483.1 kB / 398 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.6131, allocations: 2.608 MB / 400.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.6147, allocations: 0.5603 MB / 401.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/0.6155, allocations: 311.5 kB / 401.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.6156, allocations: 8.188 kB / 401.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.6163, allocations: 328.5 kB / 401.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.948e-06/0.6164, allocations: 11.88 kB / 401.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001383/0.6177, allocations: 0.5073 MB / 402.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.6179, allocations: 115.1 kB / 402.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.6187, allocations: 416.6 kB / 402.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.6189, allocations: 45.16 kB / 402.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.6191, allocations: 306.5 kB / 403.2 MB, free: 8.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.6193, allocations: 167.3 kB / 403.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.6194, allocations: 11.44 kB / 403.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6195, allocations: 373.2 kB / 403.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.62, allocations: 182.9 kB / 403.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.6205, allocations: 332.1 kB / 404.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.6211, allocations: 196.7 kB / 404.4 MB, free: 7.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.6211, allocations: 3.75 kB / 404.4 MB, free: 7.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001642/0.6228, allocations: 0.6451 MB / 405.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.6232, allocations: 1.573 MB / 406.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.6232, allocations: 3.875 kB / 406.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000779/0.624, allocations: 152.4 kB / 406.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.6246, allocations: 87.83 kB / 406.9 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.6288, allocations: 2.348 MB / 409.2 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/0.6298, allocations: 89.73 kB / 409.3 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.6299, allocations: 26.5 kB / 409.3 MB, free: 20.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6299, allocations: 3.875 kB / 409.3 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/0.6314, allocations: 0.5648 MB / 409.9 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6314, allocations: 7.781 kB / 409.9 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/0.6321, allocations: 153.6 kB / 410 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.6326, allocations: 77.78 kB / 410.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.6366, allocations: 2.338 MB / 412.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.6375, allocations: 75.73 kB / 412.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.6376, allocations: 22.88 kB / 412.6 MB, free: 18.53 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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.638, allocations: 157.8 kB / 412.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.6381, allocations: 62.3 kB / 412.8 MB, free: 18.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.6384, allocations: 64.45 kB / 412.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6384, allocations: 7.875 kB / 412.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6384, allocations: 0 / 412.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6384, allocations: 11.8 kB / 412.9 MB, free: 18.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.6416, allocations: 1.343 MB / 414.2 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6417, allocations: 0 / 414.2 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.6421, allocations: 42.97 kB / 414.2 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/0.6427, allocations: 143.8 kB / 414.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.6428, allocations: 14.42 kB / 414.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.6467, allocations: 2.246 MB / 416.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6467, allocations: 0 / 416.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.649, allocations: 0.8889 MB / 417.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.6495, allocations: 183.4 kB / 417.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6496, allocations: 17.94 kB / 417.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.6502, allocations: 41.86 kB / 417.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6505, allocations: 74.28 kB / 417.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.6506, allocations: 19.06 kB / 417.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005961/0.6512, allocations: 317.2 kB / 418.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6512, allocations: 0 / 418.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001427/0.6527, allocations: 336.3 kB / 418.5 MB, free: 15.66 MB / 330.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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002691/0.6554, allocations: 1.527 MB / 420 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.6582, allocations: 1.16 MB / 421.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.6583, allocations: 4.125 kB / 421.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.6593, allocations: 437.2 kB / 421.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.6602, allocations: 105.4 kB / 421.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.6635, allocations: 1.013 MB / 422.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.6642, allocations: 0.9459 MB / 423.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000682/0.6649, allocations: 106.7 kB / 423.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6653, allocations: 213.4 kB / 424 MB, free: 12.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6653, allocations: 0 / 424 MB, free: 12.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06412/0.7294, allocations: 15.72 MB / 439.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004015/0.7299, allocations: 231.5 kB / 439.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/4.095, allocations: 0 / 439.9 MB, free: 4.406 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat