Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.585e-05, allocations: 3.094 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09619, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6339, allocations: 87.22 MB / 381.5 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.6342, allocations: 88.97 kB / 381.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1537/0.7879, allocations: 36.2 MB / 417.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.788, allocations: 0 / 417.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002508/0.7883, allocations: 47.94 kB / 417.9 MB, free: 2.816 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.00803/0.7963, allocations: 1.988 MB / 419.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.7964, allocations: 11.97 kB / 419.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.7975, allocations: 225.3 kB / 420.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008684/0.8062, allocations: 2.073 MB / 422.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.8064, allocations: 67.11 kB / 422.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007118/0.8071, allocations: 107.9 kB / 422.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006131/0.8132, allocations: 1.82 MB / 424.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006437/0.8197, allocations: 2.114 MB / 426.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.861e-05/0.8198, allocations: 7.984 kB / 426.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.8201, allocations: 7.953 kB / 426.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.8202, allocations: 74.09 kB / 426.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.8403, allocations: 6.522 MB / 432.9 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.8446, allocations: 1.554 MB / 434.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.8472, allocations: 0.9179 MB / 435.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.8473, allocations: 13.31 kB / 435.4 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.8496, allocations: 0.8548 MB / 436.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.739e-06/0.8496, allocations: 0 / 436.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.004757/0.8544, allocations: 1.574 MB / 437.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8545, allocations: 153.8 kB / 437.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.8568, allocations: 0.8899 MB / 438.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.8571, allocations: 57.67 kB / 438.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.8581, allocations: 0.7523 MB / 439.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.8587, allocations: 370.4 kB / 440 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.8588, allocations: 3.938 kB / 440 MB, free: 14.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.8591, allocations: 365.9 kB / 440.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.8607, allocations: 0.6169 MB / 441 MB, free: 13.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.8627, allocations: 0.8862 MB / 441.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.8644, allocations: 0.6739 MB / 442.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.8645, allocations: 3.953 kB / 442.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004995/0.8695, allocations: 1.801 MB / 444.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001191/0.8707, allocations: 2.451 MB / 446.8 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.8708, allocations: 4 kB / 446.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/0.8729, allocations: 497.9 kB / 447.3 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.8746, allocations: 183.7 kB / 447.5 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.8867, allocations: 5.118 MB / 452.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8887, allocations: 159 kB / 452.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.8889, allocations: 48.06 kB / 452.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8889, allocations: 8 kB / 452.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004886/0.8938, allocations: 1.653 MB / 454.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/0.8939, allocations: 4 kB / 454.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.8969, allocations: 480.6 kB / 454.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.8993, allocations: 179.8 kB / 455.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.914, allocations: 5.126 MB / 460.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.9159, allocations: 147.1 kB / 460.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.9161, allocations: 48.06 kB / 460.4 MB, free: 9.707 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.000575/0.9167, allocations: 197.3 kB / 460.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004567/0.9213, allocations: 1.562 MB / 462.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.9217, allocations: 122.5 kB / 462.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.9223, allocations: 152.6 kB / 462.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.9223, allocations: 15.95 kB / 462.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9224, allocations: 4 kB / 462.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.9224, allocations: 7.922 kB / 462.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.9315, allocations: 3.26 MB / 465.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.9316, allocations: 3.953 kB / 465.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.9329, allocations: 123.7 kB / 465.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.9351, allocations: 457.3 kB / 466.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/0.9354, allocations: 8 kB / 466.3 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.9475, allocations: 5.006 MB / 471.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.9476, allocations: 4 kB / 471.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006737/0.9543, allocations: 2.519 MB / 473.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.9557, allocations: 359.3 kB / 474.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.9562, allocations: 23.98 kB / 474.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.9578, allocations: 99.88 kB / 474.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009724/0.9588, allocations: 229 kB / 474.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.9589, allocations: 35.98 kB / 474.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.9606, allocations: 0.6568 MB / 475.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9606, allocations: 0 / 475.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003613/0.9642, allocations: 0.7979 MB / 476 MB, free: 9.883 MB / 378.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.007259/0.9715, allocations: 3.179 MB / 479.2 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008072/0.9796, allocations: 2.928 MB / 482.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9796, allocations: 0 / 482.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.9825, allocations: 1.022 MB / 483.1 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.985, allocations: 276 kB / 483.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.9963, allocations: 3.27 MB / 486.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.9988, allocations: 1.728 MB / 488.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003265/1.002, allocations: 0.5681 MB / 489 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.004, allocations: 0.6086 MB / 489.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/1.004, allocations: 0 / 489.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4193/1.423, allocations: 39.17 MB / 0.5164 GB, free: 107.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002888/1.423, allocations: 225.2 kB / 0.5166 GB, free: 107.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.642/6.065, allocations: 4 kB / 0.5166 GB, free: 107.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat