Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.813e-05, allocations: 2.656 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09466, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.5833, allocations: 84.39 MB / 378.7 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004362/0.5838, allocations: 92.42 kB / 378.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1391/0.723, allocations: 27.9 MB / 406.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7231, allocations: 0 / 406.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001504/0.7232, allocations: 27.03 kB / 406.7 MB, free: 11.86 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006199/0.7294, allocations: 1.516 MB / 408.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.7295, allocations: 8.031 kB / 408.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/0.7303, allocations: 162.1 kB / 408.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007423/0.7378, allocations: 1.637 MB / 410 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.738, allocations: 46.98 kB / 410.1 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.7384, allocations: 76 kB / 410.2 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004101/0.7425, allocations: 1.262 MB / 411.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.7473, allocations: 1.487 MB / 412.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/0.7474, allocations: 0 / 412.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.7476, allocations: 4 kB / 412.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.7478, allocations: 57.75 kB / 413 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.7623, allocations: 4.681 MB / 417.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.7656, allocations: 1.024 MB / 418.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.7671, allocations: 0.5425 MB / 419.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/0.7673, allocations: 10.34 kB / 419.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.7687, allocations: 0.5548 MB / 419.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 4.549e-06/0.7688, allocations: 0 / 419.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.002955/0.7717, allocations: 0.9351 MB / 420.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7719, allocations: 152 kB / 420.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.7736, allocations: 0.677 MB / 421.5 MB, free: 416 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.7739, allocations: 45.69 kB / 421.6 MB, free: 364 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000852/0.7747, allocations: 0.5805 MB / 422.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.7752, allocations: 224.7 kB / 422.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.7753, allocations: 0 / 422.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.7756, allocations: 402.7 kB / 422.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.7767, allocations: 390.4 kB / 423.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7781, allocations: 0.6071 MB / 423.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.7792, allocations: 412.3 kB / 424.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.7793, allocations: 4 kB / 424.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003266/0.7825, allocations: 1.113 MB / 425.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.7838, allocations: 2.539 MB / 427.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.7839, allocations: 4 kB / 427.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.7849, allocations: 212.7 kB / 428 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.7862, allocations: 151.7 kB / 428.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.7919, allocations: 2.712 MB / 430.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.7936, allocations: 131.5 kB / 431 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.7937, allocations: 36 kB / 431.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7938, allocations: 4 kB / 431.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002916/0.7967, allocations: 0.9947 MB / 432.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.7968, allocations: 8.781 kB / 432.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/0.7977, allocations: 216.7 kB / 432.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.799, allocations: 147.7 kB / 432.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/0.8046, allocations: 2.701 MB / 435.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.8061, allocations: 107.5 kB / 435.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.8063, allocations: 40 kB / 435.3 MB, free: 2.105 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 (106): * Single equations (assignments): 105 * 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.0004367/0.8067, allocations: 176.8 kB / 435.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002935/0.8097, allocations: 0.9293 MB / 436.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.81, allocations: 90.89 kB / 436.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.8104, allocations: 104.8 kB / 436.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.8105, allocations: 8 kB / 436.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.8105, allocations: 3.953 kB / 436.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.8105, allocations: 3.984 kB / 436.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00695/0.8175, allocations: 2.279 MB / 438.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.8175, allocations: 4.062 kB / 438.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/0.8184, allocations: 75.89 kB / 438.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.8192, allocations: 204.7 kB / 439.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.8193, allocations: 4 kB / 439.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.8247, allocations: 2.642 MB / 441.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.8247, allocations: 3.953 kB / 441.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/0.8288, allocations: 1.571 MB / 443.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008188/0.8296, allocations: 251.9 kB / 443.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.8299, allocations: 11.98 kB / 443.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8311, allocations: 79.91 kB / 443.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/0.8317, allocations: 140.6 kB / 443.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/0.8318, allocations: 23.98 kB / 443.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001193/0.833, allocations: 0.4991 MB / 444.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8331, allocations: 0 / 444.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002697/0.8358, allocations: 0.5251 MB / 444.9 MB, free: 8.266 MB / 346.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,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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.004749/0.8405, allocations: 2.317 MB / 447.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004962/0.8456, allocations: 1.785 MB / 449 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.8456, allocations: 0 / 449 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.8475, allocations: 0.6736 MB / 449.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.8493, allocations: 167.5 kB / 449.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.8571, allocations: 2.235 MB / 452.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.8589, allocations: 1.405 MB / 453.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00235/0.8613, allocations: 402.6 kB / 453.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.8624, allocations: 427.3 kB / 454.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8624, allocations: 0 / 454.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.9673, allocations: 23.95 MB / 478.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004264/0.9678, allocations: 209.7 kB / 478.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.893/4.861, allocations: 0 / 478.4 MB, free: 6.527 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_RL_res.mat does not exist to compare? outputFormat=mat