Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.4e-05, allocations: 10.48 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.4 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6169, allocations: 90.12 MB / 433.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.6172, allocations: 92.31 kB / 433.4 MB, free: 4.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06197/0.6792, allocations: 15.22 MB / 448.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6793, allocations: 0 / 448.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.852e-05/0.6793, allocations: 16 kB / 448.6 MB, free: 7.234 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002569/0.6819, allocations: 0.9488 MB / 449.6 MB, free: 6.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.682, allocations: 8.031 kB / 449.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.6822, allocations: 116.1 kB / 449.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.6824, allocations: 98.86 kB / 449.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6835, allocations: 0.5109 MB / 450.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.6836, allocations: 63.45 kB / 450.4 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.6838, allocations: 70.12 kB / 450.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.6857, allocations: 0.7428 MB / 451.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.6857, allocations: 0 / 451.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6858, allocations: 40.05 kB / 451.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.6859, allocations: 19.98 kB / 451.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.6874, allocations: 0.53 MB / 451.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.6933, allocations: 2.766 MB / 454.5 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.6953, allocations: 0.6618 MB / 455.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.6967, allocations: 439 kB / 455.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.6968, allocations: 8.375 kB / 455.6 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.6977, allocations: 381.9 kB / 456 MB, free: 1.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.036e-06/0.6977, allocations: 0 / 456 MB, free: 1.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001614/0.6993, allocations: 0.5907 MB / 456.6 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.6995, allocations: 148.9 kB / 456.7 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.7002, allocations: 411.2 kB / 457.1 MB, free: 416 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/0.7003, allocations: 49.69 kB / 457.2 MB, free: 360 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.7006, allocations: 332.2 kB / 457.5 MB, free: 24 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.7009, allocations: 193.3 kB / 457.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.701, allocations: 20 kB / 457.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7012, allocations: 366.7 kB / 458.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.7018, allocations: 205.5 kB / 458.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.7025, allocations: 365.3 kB / 458.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.7031, allocations: 227.2 kB / 458.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7032, allocations: 4 kB / 458.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001911/0.7051, allocations: 0.7111 MB / 459.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006429/0.7057, allocations: 1.57 MB / 461.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.7058, allocations: 4 kB / 461.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.7066, allocations: 169.6 kB / 461.3 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.7074, allocations: 111.8 kB / 461.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.7125, allocations: 3.6 MB / 465 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008803/0.7134, allocations: 83.5 kB / 465.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.7135, allocations: 31.98 kB / 465.1 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.7135, allocations: 8.062 kB / 465.1 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/0.7152, allocations: 0.6242 MB / 465.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7153, allocations: 4 kB / 465.8 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.716, allocations: 161.7 kB / 465.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.7167, allocations: 103.8 kB / 466 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.7215, allocations: 3.593 MB / 469.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.7224, allocations: 83.44 kB / 469.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.7225, allocations: 28.06 kB / 469.7 MB, free: 3.031 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (69): * Single equations (assignments): 67 * 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.0002798/0.7227, allocations: 160.9 kB / 469.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.7229, allocations: 59.25 kB / 469.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.7231, allocations: 77.62 kB / 470 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.7231, allocations: 4 kB / 470 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7232, allocations: 0 / 470 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7232, allocations: 7.984 kB / 470 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.7265, allocations: 1.489 MB / 471.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.7265, allocations: 0 / 471.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.7272, allocations: 79.92 kB / 471.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.7279, allocations: 157.8 kB / 471.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.728, allocations: 19.94 kB / 471.8 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.733, allocations: 3.506 MB / 475.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.733, allocations: 4.062 kB / 475.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.7356, allocations: 1.011 MB / 476.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.736, allocations: 196.2 kB / 476.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.7361, allocations: 12 kB / 476.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007348/0.7369, allocations: 55.95 kB / 476.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.7372, allocations: 80.44 kB / 476.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.7372, allocations: 19.98 kB / 476.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006584/0.7379, allocations: 321.6 kB / 477 MB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7379, allocations: 4 kB / 477 MB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001748/0.7397, allocations: 367 kB / 477.3 MB, free: 11.03 MB / 394.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (47): * Single equations (assignments): 40 * 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.002978/0.7427, allocations: 1.666 MB / 479 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.7459, allocations: 1.396 MB / 480.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7459, allocations: 0 / 480.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.7471, allocations: 0.5567 MB / 480.9 MB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.748, allocations: 114.9 kB / 481.1 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.7525, allocations: 1.216 MB / 482.3 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.7533, allocations: 0.9828 MB / 483.3 MB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008534/0.7542, allocations: 124.9 kB / 483.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.7547, allocations: 243.3 kB / 483.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7547, allocations: 0 / 483.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/0.8129, allocations: 16.96 MB / 0.4888 GB, free: 3.938 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005829/0.8136, allocations: 245.9 kB / 0.4891 GB, free: 3.605 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/4.203, allocations: 0 / 0.4891 GB, free: 3.605 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat