Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.764e-05, allocations: 4 kB / 292.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5966, allocations: 91.6 MB / 434.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004038/0.597, allocations: 86.52 kB / 434.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1371/0.7342, allocations: 30.26 MB / 464.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7342, allocations: 0 / 464.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.7344, allocations: 36 kB / 464.6 MB, free: 8.477 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005118/0.7395, allocations: 1.566 MB / 466.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7396, allocations: 8.031 kB / 466.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005353/0.7401, allocations: 206.4 kB / 466.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.7406, allocations: 166 kB / 466.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/0.7472, allocations: 1.66 MB / 468.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.7474, allocations: 102.6 kB / 468.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/0.7477, allocations: 135.9 kB / 468.5 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.7522, allocations: 1.713 MB / 470.2 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.7523, allocations: 3.984 kB / 470.2 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.7525, allocations: 55.98 kB / 470.2 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/0.7526, allocations: 66.58 kB / 470.3 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.7565, allocations: 1.368 MB / 471.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.7697, allocations: 5.067 MB / 476.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.7727, allocations: 1.016 MB / 477.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.7743, allocations: 0.5832 MB / 478.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/0.7744, allocations: 8.781 kB / 478.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.7758, allocations: 0.6214 MB / 479 MB, free: 9.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 3.306e-06/0.7758, allocations: 0 / 479 MB, free: 9.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002958/0.7788, allocations: 1.011 MB / 480 MB, free: 8.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7789, allocations: 175 kB / 480.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.7808, allocations: 0.8007 MB / 481 MB, free: 7.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.781, allocations: 53.69 kB / 481 MB, free: 7.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.7818, allocations: 0.6045 MB / 481.6 MB, free: 7.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.7822, allocations: 248.6 kB / 481.9 MB, free: 6.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.7823, allocations: 23.94 kB / 481.9 MB, free: 6.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.7825, allocations: 345.9 kB / 482.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.7836, allocations: 433.8 kB / 482.6 MB, free: 6.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.7849, allocations: 0.6524 MB / 483.3 MB, free: 5.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.7861, allocations: 469.7 kB / 483.8 MB, free: 4.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.7861, allocations: 4 kB / 483.8 MB, free: 4.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003137/0.7892, allocations: 1.257 MB / 485 MB, free: 3.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.7903, allocations: 2.522 MB / 487.5 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.7903, allocations: 8 kB / 487.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009502/0.7913, allocations: 228.6 kB / 487.8 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7925, allocations: 155.7 kB / 487.9 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/0.7974, allocations: 2.791 MB / 490.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.799, allocations: 159.3 kB / 490.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.7991, allocations: 36 kB / 490.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7992, allocations: 5.25 kB / 490.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002784/0.802, allocations: 1.135 MB / 492 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.802, allocations: 8 kB / 492.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008326/0.8028, allocations: 222 kB / 492.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.8039, allocations: 159.7 kB / 492.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.8087, allocations: 2.792 MB / 495.2 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.8101, allocations: 135.4 kB / 495.4 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8103, allocations: 44 kB / 495.4 MB, free: 8.699 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 (108): * Single equations (assignments): 107 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.8107, allocations: 201.9 kB / 495.6 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.8109, allocations: 98.73 kB / 495.7 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.8113, allocations: 121.3 kB / 495.8 MB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8113, allocations: 8 kB / 495.8 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8113, allocations: 0 / 495.8 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8114, allocations: 3.984 kB / 495.8 MB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/0.8177, allocations: 2.65 MB / 498.5 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8178, allocations: 0 / 498.5 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.8186, allocations: 83.83 kB / 498.5 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007695/0.8194, allocations: 208.8 kB / 498.8 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.8195, allocations: 23.92 kB / 498.8 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.824, allocations: 2.648 MB / 0.4897 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.824, allocations: 4 kB / 0.4897 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.8281, allocations: 1.731 MB / 0.4914 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.8289, allocations: 271.8 kB / 0.4916 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.8291, allocations: 27.98 kB / 0.4917 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.8302, allocations: 83.92 kB / 0.4917 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000505/0.8307, allocations: 148.5 kB / 0.4919 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.8308, allocations: 20 kB / 0.4919 GB, free: 136 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.8322, allocations: 0.6085 MB / 0.4925 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8322, allocations: 0 / 0.4925 GB, free: 15.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002385/0.8346, allocations: 0.5993 MB / 0.4931 GB, free: 14.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (72): * Single equations (assignments): 62 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004417/0.839, allocations: 2.409 MB / 0.4954 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004711/0.8438, allocations: 1.945 MB / 0.4973 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8438, allocations: 5.688 kB / 0.4973 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8455, allocations: 0.6954 MB / 0.498 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8471, allocations: 199.5 kB / 0.4982 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/0.8539, allocations: 2.356 MB / 0.5005 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.8554, allocations: 1.441 MB / 0.5019 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002133/0.8576, allocations: 455.2 kB / 0.5023 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009225/0.8585, allocations: 455.3 kB / 0.5028 GB, free: 4.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8585, allocations: 0 / 0.5028 GB, free: 4.836 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3686/1.227, allocations: 27.49 MB / 0.5296 GB, free: 133.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.227, allocations: 233.3 kB / 0.5298 GB, free: 133.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/4.906, allocations: 2.922 kB / 0.5299 GB, free: 133.1 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_R_res.mat does not exist to compare? outputFormat=mat