Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.266e-05, allocations: 4 kB / 292.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.4 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4875/0.5989, allocations: 92.4 MB / 435.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.5993, allocations: 86.27 kB / 435.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1315/0.7308, allocations: 31.04 MB / 466.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7309, allocations: 0 / 466.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.7311, allocations: 36 kB / 466.2 MB, free: 7.008 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005903/0.737, allocations: 1.631 MB / 467.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.7371, allocations: 8.031 kB / 467.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007416/0.7378, allocations: 210.7 kB / 468.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.7385, allocations: 166 kB / 468.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007244/0.7457, allocations: 1.679 MB / 469.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.746, allocations: 111 kB / 470 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/0.7465, allocations: 135.9 kB / 470.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006418/0.753, allocations: 1.765 MB / 471.9 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.7531, allocations: 0 / 471.9 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.7534, allocations: 56 kB / 472 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.7536, allocations: 62.69 kB / 472 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005636/0.7592, allocations: 1.399 MB / 473.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.7795, allocations: 5.222 MB / 478.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.784, allocations: 1.157 MB / 479.8 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.7863, allocations: 0.6166 MB / 480.4 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.7864, allocations: 20.75 kB / 480.4 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/0.7885, allocations: 0.6376 MB / 481.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 5.531e-06/0.7886, allocations: 0 / 481.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003952/0.7925, allocations: 1.047 MB / 482.1 MB, free: 6.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.7927, allocations: 179 kB / 482.3 MB, free: 6.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.7952, allocations: 0.7891 MB / 483.1 MB, free: 5.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7955, allocations: 57.69 kB / 483.2 MB, free: 5.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.7966, allocations: 0.6164 MB / 483.8 MB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/0.7971, allocations: 272.2 kB / 484 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.7973, allocations: 24.03 kB / 484.1 MB, free: 4.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.7975, allocations: 341.9 kB / 484.4 MB, free: 4.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.7992, allocations: 441.8 kB / 484.8 MB, free: 3.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.8011, allocations: 0.664 MB / 485.5 MB, free: 3.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.8028, allocations: 489.7 kB / 486 MB, free: 2.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.8028, allocations: 0 / 486 MB, free: 2.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004551/0.8074, allocations: 1.273 MB / 487.2 MB, free: 1.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001634/0.809, allocations: 2.538 MB / 489.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.8091, allocations: 8 kB / 489.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.8103, allocations: 220.7 kB / 490 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.8122, allocations: 171.7 kB / 490.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006902/0.8191, allocations: 2.756 MB / 492.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.8212, allocations: 159.2 kB / 493.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8214, allocations: 39.94 kB / 493.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8214, allocations: 7.953 kB / 493.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0036/0.825, allocations: 1.163 MB / 494.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.8251, allocations: 8.844 kB / 494.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.8259, allocations: 224.9 kB / 494.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8273, allocations: 167.7 kB / 494.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/0.8323, allocations: 2.769 MB / 497.4 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.8339, allocations: 135.4 kB / 497.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8341, allocations: 40 kB / 497.6 MB, free: 6.574 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 113 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004283/0.8345, allocations: 208.7 kB / 497.8 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.8348, allocations: 98.78 kB / 497.9 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.8352, allocations: 121.8 kB / 498 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.8352, allocations: 16 kB / 498.1 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8352, allocations: 0 / 498.1 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.8353, allocations: 3.984 kB / 498.1 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006946/0.8422, allocations: 2.732 MB / 0.4891 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.8423, allocations: 0 / 0.4891 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.8433, allocations: 115.9 kB / 0.4892 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.8441, allocations: 204.8 kB / 0.4894 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.8443, allocations: 19.98 kB / 0.4894 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.8493, allocations: 2.717 MB / 0.492 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.8494, allocations: 7.938 kB / 0.492 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.8538, allocations: 1.805 MB / 0.4938 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/0.8546, allocations: 283.8 kB / 0.4941 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.8548, allocations: 23.98 kB / 0.4941 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.856, allocations: 99.91 kB / 0.4942 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/0.8566, allocations: 144.5 kB / 0.4943 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.8567, allocations: 27.98 kB / 0.4944 GB, free: 13.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.8581, allocations: 0.6006 MB / 0.4949 GB, free: 13.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.8581, allocations: 3.938 kB / 0.4949 GB, free: 13.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003785/0.8619, allocations: 0.6227 MB / 0.4956 GB, free: 12.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006608/0.8686, allocations: 2.571 MB / 0.4981 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006606/0.8752, allocations: 1.97 MB / 0.5 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.8753, allocations: 4 kB / 0.5 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.8779, allocations: 0.74 MB / 0.5007 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.8804, allocations: 200 kB / 0.5009 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.891, allocations: 2.507 MB / 0.5034 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.8934, allocations: 1.446 MB / 0.5048 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003386/0.8968, allocations: 475.3 kB / 0.5052 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/0.8983, allocations: 463.3 kB / 0.5057 GB, free: 1.957 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.8984, allocations: 3.938 kB / 0.5057 GB, free: 1.953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3839/1.282, allocations: 27.98 MB / 0.533 GB, free: 132.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/1.283, allocations: 258 kB / 0.5332 GB, free: 131.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/4.985, allocations: 3.047 kB / 0.5332 GB, free: 131.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat