Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.513e-05, allocations: 8 kB / 292.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6068, allocations: 91.93 MB / 434.6 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6071, allocations: 89.94 kB / 434.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.7365, allocations: 30.61 MB / 465.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7365, allocations: 0 / 465.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.7367, allocations: 32 kB / 465.3 MB, free: 7.762 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.0052/0.7419, allocations: 1.591 MB / 466.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.742, allocations: 8.031 kB / 466.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005479/0.7425, allocations: 202.5 kB / 467.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/0.743, allocations: 166 kB / 467.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.7497, allocations: 1.679 MB / 469 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.7499, allocations: 102.6 kB / 469.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003622/0.7503, allocations: 136 kB / 469.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.7548, allocations: 1.732 MB / 470.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.7549, allocations: 0 / 470.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.7552, allocations: 59.97 kB / 471 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.7553, allocations: 62.58 kB / 471 MB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.7593, allocations: 1.376 MB / 472.4 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.7723, allocations: 5.167 MB / 477.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.7749, allocations: 1.038 MB / 478.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.7765, allocations: 0.5927 MB / 479.2 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.7766, allocations: 8.781 kB / 479.2 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.7781, allocations: 0.6214 MB / 479.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 3.417e-06/0.7781, allocations: 4 kB / 479.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002885/0.781, allocations: 1.019 MB / 480.9 MB, free: 7.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.7812, allocations: 186.9 kB / 481.1 MB, free: 7.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.7831, allocations: 0.8007 MB / 481.9 MB, free: 6.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.7833, allocations: 57.69 kB / 481.9 MB, free: 6.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/0.7841, allocations: 0.5968 MB / 482.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.7846, allocations: 264.4 kB / 482.8 MB, free: 5.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.7847, allocations: 20 kB / 482.8 MB, free: 5.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7849, allocations: 350 kB / 483.1 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7861, allocations: 429.8 kB / 483.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.7876, allocations: 0.664 MB / 484.2 MB, free: 4.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.7888, allocations: 473.8 kB / 484.7 MB, free: 3.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7888, allocations: 0 / 484.7 MB, free: 3.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003296/0.7921, allocations: 1.261 MB / 485.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.7934, allocations: 2.534 MB / 488.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.7934, allocations: 7.938 kB / 488.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/0.7944, allocations: 216.7 kB / 488.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.7957, allocations: 163.7 kB / 488.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.8006, allocations: 2.773 MB / 491.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.8022, allocations: 159.2 kB / 491.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8024, allocations: 36 kB / 491.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.8024, allocations: 4 kB / 491.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002912/0.8053, allocations: 1.147 MB / 493 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.8054, allocations: 15.88 kB / 493 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.8062, allocations: 217.5 kB / 493.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.8074, allocations: 151.7 kB / 493.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.8122, allocations: 2.764 MB / 496.1 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8138, allocations: 139.3 kB / 496.2 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.8139, allocations: 36 kB / 496.3 MB, free: 7.762 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 (112): * Single equations (assignments): 111 * 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.0004061/0.8143, allocations: 212.9 kB / 496.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.8146, allocations: 98.77 kB / 496.6 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.815, allocations: 121.7 kB / 496.7 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.815, allocations: 8 kB / 496.7 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.815, allocations: 0 / 496.7 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.815, allocations: 7.969 kB / 496.7 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006755/0.8218, allocations: 2.693 MB / 499.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8218, allocations: 3.953 kB / 499.4 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.8227, allocations: 91.81 kB / 499.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/0.8234, allocations: 200.8 kB / 499.7 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/0.8235, allocations: 12 kB / 499.7 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.8283, allocations: 2.733 MB / 0.4907 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8284, allocations: 4 kB / 0.4907 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.8325, allocations: 1.762 MB / 0.4924 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/0.8334, allocations: 283.8 kB / 0.4927 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.8337, allocations: 23.98 kB / 0.4927 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.8348, allocations: 91.92 kB / 0.4928 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/0.8353, allocations: 140.6 kB / 0.4929 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.8354, allocations: 27.98 kB / 0.4929 GB, free: 15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.8368, allocations: 0.6084 MB / 0.4935 GB, free: 14.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8368, allocations: 0 / 0.4935 GB, free: 14.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002613/0.8395, allocations: 0.607 MB / 0.4941 GB, free: 13.78 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 (75): * Single equations (assignments): 65 * 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.004553/0.8441, allocations: 2.527 MB / 0.4966 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004844/0.8489, allocations: 1.944 MB / 0.4985 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.849, allocations: 4.156 kB / 0.4985 GB, free: 9.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.8508, allocations: 0.7306 MB / 0.4992 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.8526, allocations: 199.6 kB / 0.4994 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.8601, allocations: 2.443 MB / 0.5018 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.8617, allocations: 1.437 MB / 0.5032 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002242/0.8639, allocations: 463.2 kB / 0.5036 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.8649, allocations: 463.3 kB / 0.5041 GB, free: 3.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8649, allocations: 0 / 0.5041 GB, free: 3.434 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4341/1.299, allocations: 27.49 MB / 0.5309 GB, free: 130.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.299, allocations: 236.4 kB / 0.5311 GB, free: 130.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/4.934, allocations: 0 / 0.5311 GB, free: 130.6 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_RL_res.mat does not exist to compare? outputFormat=mat