Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.831e-05, allocations: 3.656 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09832, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5494, allocations: 84.09 MB / 378.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004112/0.5498, allocations: 86.11 kB / 378.5 MB, free: 6.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.139/0.6888, allocations: 27.56 MB / 406 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6889, allocations: 0 / 406 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001284/0.689, allocations: 35.12 kB / 406.1 MB, free: 12.04 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.005238/0.6943, allocations: 1.507 MB / 407.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6943, allocations: 8.031 kB / 407.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/0.6949, allocations: 158.2 kB / 407.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007147/0.7021, allocations: 1.625 MB / 409.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.7022, allocations: 47.98 kB / 409.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.7026, allocations: 75.94 kB / 409.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004023/0.7066, allocations: 1.248 MB / 410.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.711, allocations: 1.47 MB / 412.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.7111, allocations: 7.984 kB / 412.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.7113, allocations: 0 / 412.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.7114, allocations: 54.45 kB / 412.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.7251, allocations: 4.605 MB / 416.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.7283, allocations: 0.9934 MB / 417.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.7299, allocations: 0.5286 MB / 418.4 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.924e-05/0.73, allocations: 12.06 kB / 418.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.7315, allocations: 0.5625 MB / 419 MB, free: 2.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 4.549e-06/0.7316, allocations: 0 / 419 MB, free: 2.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.003076/0.7347, allocations: 0.9267 MB / 419.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.7348, allocations: 149.7 kB / 420.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.7366, allocations: 0.6772 MB / 420.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.7367, allocations: 41.69 kB / 420.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008478/0.7376, allocations: 0.5721 MB / 421.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.738, allocations: 224.2 kB / 421.6 MB, free: 340 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.7381, allocations: 0 / 421.6 MB, free: 340 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.7384, allocations: 398.7 kB / 421.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.7395, allocations: 386.4 kB / 422.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.741, allocations: 0.6031 MB / 422.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.7422, allocations: 412.2 kB / 423.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.7422, allocations: 4 kB / 423.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003411/0.7456, allocations: 1.097 MB / 424.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001285/0.7469, allocations: 2.532 MB / 427 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.747, allocations: 8 kB / 427 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.7481, allocations: 232.7 kB / 427.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.7494, allocations: 139.8 kB / 427.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.7557, allocations: 2.825 MB / 430.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.7573, allocations: 131.3 kB / 430.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7575, allocations: 36 kB / 430.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7575, allocations: 4 kB / 430.3 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/0.7604, allocations: 0.976 MB / 431.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.7604, allocations: 8 kB / 431.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009219/0.7613, allocations: 232.7 kB / 431.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7624, allocations: 135.7 kB / 431.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.7682, allocations: 2.835 MB / 434.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7696, allocations: 111.5 kB / 434.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7698, allocations: 32 kB / 434.6 MB, free: 2.688 MB / 330.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.7702, allocations: 176.6 kB / 434.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002827/0.773, allocations: 0.9332 MB / 435.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.7733, allocations: 90.92 kB / 435.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.7737, allocations: 92.75 kB / 435.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.7737, allocations: 8 kB / 435.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7737, allocations: 3.984 kB / 435.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.7737, allocations: 3.984 kB / 435.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.7807, allocations: 2.387 MB / 438.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7808, allocations: 0 / 438.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.7815, allocations: 71.89 kB / 438.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000829/0.7824, allocations: 210.1 kB / 438.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.7825, allocations: 7.938 kB / 438.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.7875, allocations: 2.545 MB / 441.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7876, allocations: 4 kB / 441.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/0.792, allocations: 1.583 MB / 442.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.7928, allocations: 248 kB / 443 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.7931, allocations: 16 kB / 443 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7942, allocations: 75.91 kB / 443.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000607/0.7948, allocations: 140.8 kB / 443.2 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.7949, allocations: 23.98 kB / 443.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.7961, allocations: 0.4952 MB / 443.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7961, allocations: 0 / 443.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002619/0.7988, allocations: 0.5251 MB / 444.3 MB, free: 8.852 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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.004805/0.8036, allocations: 2.253 MB / 446.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.8084, allocations: 1.793 MB / 448.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8084, allocations: 0 / 448.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.8101, allocations: 0.6381 MB / 448.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.8117, allocations: 175.9 kB / 449.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.8186, allocations: 2.155 MB / 451.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.8204, allocations: 1.39 MB / 452.7 MB, free: 320 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002215/0.8226, allocations: 394.5 kB / 453 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/0.8236, allocations: 423.3 kB / 453.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.8236, allocations: 0 / 453.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.9309, allocations: 24 MB / 477.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004047/0.9314, allocations: 212.5 kB / 477.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.914/4.846, allocations: 0 / 477.7 MB, free: 7.273 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat