Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.647e-05, allocations: 8 kB / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3035, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.5246, allocations: 87.22 MB / 381.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000537/0.5252, allocations: 87.94 kB / 381.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.6885, allocations: 36.19 MB / 417.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6886, allocations: 0 / 417.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002924/0.6889, allocations: 55.92 kB / 417.8 MB, free: 6.051 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.009687/0.6986, allocations: 1.984 MB / 419.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.6987, allocations: 12.03 kB / 419.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.7, allocations: 225.3 kB / 420 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.711, allocations: 2.069 MB / 422.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.7112, allocations: 64 kB / 422.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000812/0.712, allocations: 116 kB / 422.2 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2622/0.9743, allocations: 1.816 MB / 424.1 MB, free: 93.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.9816, allocations: 2.111 MB / 426.2 MB, free: 92.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.908e-05/0.9817, allocations: 8.969 kB / 426.2 MB, free: 92.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.982, allocations: 4.109 kB / 426.2 MB, free: 92.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.9821, allocations: 76.81 kB / 426.3 MB, free: 92.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/1.001, allocations: 6.519 MB / 432.8 MB, free: 91.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/1.005, allocations: 1.557 MB / 434.3 MB, free: 91.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/1.007, allocations: 0.9332 MB / 435.3 MB, free: 91.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/1.007, allocations: 14.14 kB / 435.3 MB, free: 91.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.009, allocations: 0.8482 MB / 436.1 MB, free: 91.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 4.939e-06/1.009, allocations: 0 / 436.1 MB, free: 91.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.003961/1.013, allocations: 1.571 MB / 437.7 MB, free: 90.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/1.013, allocations: 152.5 kB / 437.8 MB, free: 90.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.015, allocations: 0.8901 MB / 438.7 MB, free: 90.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/1.016, allocations: 56.08 kB / 438.8 MB, free: 90.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/1.016, allocations: 0.744 MB / 439.5 MB, free: 89.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.017, allocations: 367.3 kB / 439.9 MB, free: 89.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/1.017, allocations: 5.219 kB / 439.9 MB, free: 89.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/1.017, allocations: 368.1 kB / 440.3 MB, free: 89.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.019, allocations: 0.6216 MB / 440.9 MB, free: 89.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/1.02, allocations: 0.8783 MB / 441.8 MB, free: 88.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.021, allocations: 0.6715 MB / 442.4 MB, free: 88.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.021, allocations: 0 / 442.4 MB, free: 88.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003819/1.025, allocations: 1.742 MB / 444.2 MB, free: 87.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005288/1.026, allocations: 2.443 MB / 446.6 MB, free: 85.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.026, allocations: 8.281 kB / 446.6 MB, free: 85.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/1.028, allocations: 485.8 kB / 447.1 MB, free: 84.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.029, allocations: 185.7 kB / 447.3 MB, free: 84.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00936/1.038, allocations: 5.135 MB / 452.4 MB, free: 81.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.04, allocations: 154.4 kB / 452.6 MB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.041, allocations: 46.88 kB / 452.6 MB, free: 81.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.041, allocations: 3.969 kB / 452.6 MB, free: 81.86 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/1.044, allocations: 1.657 MB / 454.3 MB, free: 81.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/1.044, allocations: 6.344 kB / 454.3 MB, free: 81.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/1.046, allocations: 477 kB / 454.7 MB, free: 81.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.047, allocations: 177.3 kB / 454.9 MB, free: 81.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009156/1.056, allocations: 5.175 MB / 460.1 MB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.058, allocations: 130.2 kB / 460.2 MB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.058, allocations: 48.62 kB / 460.3 MB, free: 78.11 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (138): * Single equations (assignments): 137 * 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.0004696/1.058, allocations: 191.9 kB / 460.5 MB, free: 77.96 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003717/1.062, allocations: 1.57 MB / 462 MB, free: 77.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/1.063, allocations: 127 kB / 462.1 MB, free: 77.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/1.063, allocations: 150.3 kB / 462.3 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/1.063, allocations: 15.25 kB / 462.3 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.063, allocations: 0 / 462.3 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.063, allocations: 12.55 kB / 462.3 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/1.07, allocations: 3.255 MB / 465.6 MB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.071, allocations: 0 / 465.6 MB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.072, allocations: 126.3 kB / 465.7 MB, free: 75.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/1.073, allocations: 459 kB / 466.1 MB, free: 75.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.073, allocations: 11.64 kB / 466.2 MB, free: 75.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/1.082, allocations: 5.012 MB / 471.2 MB, free: 72.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.082, allocations: 3.391 kB / 471.2 MB, free: 72.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/1.087, allocations: 2.524 MB / 473.7 MB, free: 69.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.088, allocations: 360.3 kB / 474 MB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/1.089, allocations: 26.94 kB / 474.1 MB, free: 69.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.09, allocations: 97.53 kB / 474.2 MB, free: 69.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/1.091, allocations: 227.8 kB / 474.4 MB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.091, allocations: 35.84 kB / 474.4 MB, free: 69.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001245/1.092, allocations: 0.653 MB / 475.1 MB, free: 68.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.092, allocations: 0 / 475.1 MB, free: 68.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003113/1.095, allocations: 0.7922 MB / 475.9 MB, free: 67.89 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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.005271/1.101, allocations: 3.174 MB / 479 MB, free: 65.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006054/1.107, allocations: 2.893 MB / 481.9 MB, free: 62.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.107, allocations: 4.625 kB / 481.9 MB, free: 62.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/1.109, allocations: 1.003 MB / 482.9 MB, free: 61.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/1.111, allocations: 271.5 kB / 483.2 MB, free: 61.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/1.12, allocations: 3.228 MB / 486.4 MB, free: 58.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.122, allocations: 1.698 MB / 488.1 MB, free: 57.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.123, allocations: 0.6293 MB / 488.8 MB, free: 56.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/1.123, allocations: 0 / 488.8 MB, free: 56.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.311/4.434, allocations: 39.76 MB / 0.5161 GB, free: 17.15 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat