Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.904e-05, allocations: 8 kB / 292.8 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.41 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5694/0.6787, allocations: 94.74 MB / 437.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.6791, allocations: 88.22 kB / 438 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1694/0.8485, allocations: 39.08 MB / 477.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.8486, allocations: 4 kB / 477.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002535/0.8488, allocations: 47.94 kB / 477.1 MB, free: 12.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007652/0.8565, allocations: 2.051 MB / 479.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.8566, allocations: 16.03 kB / 479.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008257/0.8574, allocations: 269.8 kB / 479.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.8581, allocations: 233.3 kB / 479.7 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008383/0.8665, allocations: 2.117 MB / 481.8 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.8668, allocations: 143.6 kB / 481.9 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/0.8673, allocations: 183.9 kB / 482.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006457/0.8737, allocations: 2.428 MB / 484.6 MB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.8739, allocations: 4 kB / 484.6 MB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.8742, allocations: 75.98 kB / 484.6 MB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.8743, allocations: 75.59 kB / 484.7 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005625/0.8799, allocations: 1.967 MB / 486.7 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.8995, allocations: 7.076 MB / 493.8 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.9039, allocations: 1.704 MB / 495.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.9066, allocations: 1.003 MB / 496.5 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.9067, allocations: 13 kB / 496.5 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002392/0.9091, allocations: 0.9329 MB / 497.4 MB, free: 7.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 5.24e-06/0.9092, allocations: 3.938 kB / 497.4 MB, free: 7.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.005017/0.9142, allocations: 1.734 MB / 499.1 MB, free: 6.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.9144, allocations: 183.5 kB / 499.3 MB, free: 5.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.9173, allocations: 1.056 MB / 0.4887 GB, free: 4.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004285/0.9177, allocations: 77.67 kB / 0.4887 GB, free: 4.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.9189, allocations: 0.7769 MB / 0.4895 GB, free: 3.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007588/0.9197, allocations: 398.6 kB / 0.4899 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.9199, allocations: 32 kB / 0.4899 GB, free: 3.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.9201, allocations: 365.9 kB / 0.4902 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.9219, allocations: 0.6755 MB / 0.4909 GB, free: 2.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.924, allocations: 0.9418 MB / 0.4918 GB, free: 1.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.926, allocations: 0.7348 MB / 0.4925 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.926, allocations: 0 / 0.4925 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005655/0.9317, allocations: 2 MB / 0.4945 GB, free: 14.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.9329, allocations: 2.452 MB / 0.4969 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.933, allocations: 11.94 kB / 0.4969 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.935, allocations: 0.4948 MB / 0.4974 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.9367, allocations: 187.7 kB / 0.4976 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.9484, allocations: 5.209 MB / 0.5026 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.9504, allocations: 187 kB / 0.5028 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.9507, allocations: 55.98 kB / 0.5029 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9507, allocations: 8 kB / 0.5029 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004753/0.9555, allocations: 1.859 MB / 0.5047 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.9556, allocations: 8 kB / 0.5047 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.9574, allocations: 488.6 kB / 0.5052 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.959, allocations: 195.7 kB / 0.5054 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.9707, allocations: 5.211 MB / 0.5105 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.9727, allocations: 179.1 kB / 0.5106 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.9729, allocations: 48 kB / 0.5107 GB, free: 13.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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 {6 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005975/0.9735, allocations: 245.4 kB / 0.5109 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.974, allocations: 134.4 kB / 0.511 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.9746, allocations: 177.8 kB / 0.5112 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.9746, allocations: 12 kB / 0.5112 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.9746, allocations: 0 / 0.5112 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.9747, allocations: 3.984 kB / 0.5112 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.9855, allocations: 3.762 MB / 0.5149 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9856, allocations: 0 / 0.5149 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.9869, allocations: 135.8 kB / 0.515 GB, free: 9.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.9889, allocations: 464.7 kB / 0.5155 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.9892, allocations: 31.98 kB / 0.5155 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.001, allocations: 5.151 MB / 0.5205 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.001, allocations: 4 kB / 0.5205 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006915/1.008, allocations: 2.75 MB / 0.5232 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.009, allocations: 383.1 kB / 0.5236 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/1.01, allocations: 51.92 kB / 0.5236 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2996/1.309, allocations: 115.7 kB / 0.5237 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.31, allocations: 234.8 kB / 0.524 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.31, allocations: 37.92 kB / 0.524 GB, free: 126.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002126/1.313, allocations: 0.797 MB / 0.5248 GB, free: 126.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.313, allocations: 0 / 0.5248 GB, free: 126.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004158/1.317, allocations: 0.8982 MB / 0.5257 GB, free: 126.6 MB / 442.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.007608/1.325, allocations: 3.429 MB / 0.529 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008353/1.333, allocations: 3.115 MB / 0.532 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.333, allocations: 0 / 0.532 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/1.336, allocations: 1.089 MB / 0.5331 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/1.339, allocations: 325.2 kB / 0.5334 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.351, allocations: 3.519 MB / 0.5369 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/1.353, allocations: 1.77 MB / 0.5386 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003543/1.357, allocations: 0.647 MB / 0.5392 GB, free: 124 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.358, allocations: 0.6326 MB / 0.5398 GB, free: 124 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/1.358, allocations: 0 / 0.5398 GB, free: 124 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/1.507, allocations: 43.84 MB / 0.5826 GB, free: 107.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/1.507, allocations: 259.6 kB / 0.5829 GB, free: 106.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/5.766, allocations: 6.625 kB / 0.5829 GB, free: 106.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat