Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 225.8 MB / 239.3 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.452e-05, allocations: 8 kB / 292.8 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.4 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5793, allocations: 92.17 MB / 435.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5797, allocations: 93.53 kB / 435.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.7041, allocations: 31.05 MB / 466.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7042, allocations: 0 / 466.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.7043, allocations: 36 kB / 466.5 MB, free: 2.926 MB / 346.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.006071/0.7104, allocations: 1.63 MB / 468.1 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.7105, allocations: 12.03 kB / 468.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007827/0.7113, allocations: 204.1 kB / 468.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.7119, allocations: 174 kB / 468.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/0.7185, allocations: 1.672 MB / 470.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.7187, allocations: 108.6 kB / 470.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.7193, allocations: 137.8 kB / 470.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.7246, allocations: 1.761 MB / 472.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.7247, allocations: 0 / 472.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.7249, allocations: 60.48 kB / 472.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.725, allocations: 54.7 kB / 472.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.7295, allocations: 1.404 MB / 473.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.7447, allocations: 5.226 MB / 478.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.7483, allocations: 1.157 MB / 480.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.75, allocations: 0.6142 MB / 480.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.7502, allocations: 12.77 kB / 480.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.7518, allocations: 0.6447 MB / 481.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 4.899e-06/0.7518, allocations: 4 kB / 481.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.003027/0.7549, allocations: 1.047 MB / 482.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.7551, allocations: 174.9 kB / 482.6 MB, free: 5.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.757, allocations: 0.789 MB / 483.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.7573, allocations: 61.69 kB / 483.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008206/0.7581, allocations: 0.6086 MB / 484 MB, free: 4.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.7587, allocations: 272.2 kB / 484.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.7588, allocations: 20 kB / 484.3 MB, free: 3.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.759, allocations: 354 kB / 484.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.7602, allocations: 437.8 kB / 485.1 MB, free: 3.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.7616, allocations: 0.6718 MB / 485.8 MB, free: 2.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.7629, allocations: 480.6 kB / 486.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.763, allocations: 0 / 486.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003779/0.7668, allocations: 1.272 MB / 487.5 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.7681, allocations: 2.54 MB / 490.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.7681, allocations: 4 kB / 490.1 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009655/0.7691, allocations: 220.7 kB / 490.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.7706, allocations: 175.7 kB / 490.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/0.7757, allocations: 2.761 MB / 493.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.7773, allocations: 159.2 kB / 493.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.7774, allocations: 36 kB / 493.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7775, allocations: 4 kB / 493.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003022/0.7805, allocations: 1.17 MB / 494.6 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7805, allocations: 4 kB / 494.6 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.7813, allocations: 221.9 kB / 494.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.7826, allocations: 163.7 kB / 494.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.7875, allocations: 2.768 MB / 497.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.7891, allocations: 143.4 kB / 497.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7892, allocations: 36 kB / 497.9 MB, free: 5.707 MB / 378.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.0004188/0.7897, allocations: 208.7 kB / 498.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.7899, allocations: 98.78 kB / 498.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.7904, allocations: 125.8 kB / 498.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.7904, allocations: 8 kB / 498.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7904, allocations: 0 / 498.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.7905, allocations: 11.98 kB / 498.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.7976, allocations: 2.732 MB / 0.4893 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.7977, allocations: 4 kB / 0.4893 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.7987, allocations: 111.9 kB / 0.4894 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/0.7995, allocations: 208.8 kB / 0.4896 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.686e-05/0.7996, allocations: 12 kB / 0.4896 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.8044, allocations: 2.725 MB / 0.4923 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8045, allocations: 0 / 0.4923 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.8088, allocations: 1.813 MB / 0.4941 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.8097, allocations: 271.8 kB / 0.4943 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.81, allocations: 31.98 kB / 0.4944 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.8112, allocations: 103.9 kB / 0.4945 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/0.8117, allocations: 148.5 kB / 0.4946 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.8118, allocations: 27.98 kB / 0.4946 GB, free: 12.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.8132, allocations: 0.6006 MB / 0.4952 GB, free: 12.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8133, allocations: 0 / 0.4952 GB, free: 12.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002737/0.816, allocations: 0.6188 MB / 0.4958 GB, free: 11.59 MB / 394.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.005052/0.8211, allocations: 2.567 MB / 0.4983 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.8262, allocations: 1.978 MB / 0.5003 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8263, allocations: 0 / 0.5003 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.8282, allocations: 0.744 MB / 0.501 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.83, allocations: 200.7 kB / 0.5012 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.8378, allocations: 2.499 MB / 0.5036 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.8395, allocations: 1.45 MB / 0.505 GB, free: 2.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002306/0.8418, allocations: 471.4 kB / 0.5055 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.8429, allocations: 471.3 kB / 0.5059 GB, free: 1.078 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8429, allocations: 0 / 0.5059 GB, free: 1.078 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09223/0.9352, allocations: 27.99 MB / 0.5333 GB, free: 5.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/0.9356, allocations: 253 kB / 0.5335 GB, free: 5.168 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/4.703, allocations: 0 / 0.5335 GB, free: 5.168 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat