Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.846e-05, allocations: 3.125 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09603, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.6304, allocations: 81.44 MB / 375.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.6308, allocations: 82.69 kB / 375.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05031/0.6811, allocations: 12.51 MB / 388.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6812, allocations: 3.938 kB / 388.4 MB, free: 18.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.313e-05/0.6812, allocations: 15.38 kB / 388.4 MB, free: 18.38 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002398/0.6837, allocations: 0.8539 MB / 389.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.6837, allocations: 11.56 kB / 389.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.6841, allocations: 78.03 kB / 389.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.6853, allocations: 485.1 kB / 389.8 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.6853, allocations: 19.34 kB / 389.8 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.6855, allocations: 38.88 kB / 389.8 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/0.6867, allocations: 406.4 kB / 390.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6881, allocations: 0.5344 MB / 390.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.6882, allocations: 3.953 kB / 390.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.6883, allocations: 7.203 kB / 390.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.6883, allocations: 12.78 kB / 390.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.6937, allocations: 2.195 MB / 393 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.6951, allocations: 443.4 kB / 393.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.6958, allocations: 236 kB / 393.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.6959, allocations: 3.875 kB / 393.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.6966, allocations: 292.9 kB / 393.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.797e-06/0.6966, allocations: 0 / 393.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001158/0.6978, allocations: 396.7 kB / 394.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.6979, allocations: 139.5 kB / 394.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.6986, allocations: 365.1 kB / 394.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.6987, allocations: 32.02 kB / 394.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.699, allocations: 321.6 kB / 395.2 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6992, allocations: 131.8 kB / 395.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6992, allocations: 0 / 395.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6994, allocations: 361.2 kB / 395.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.6998, allocations: 144.6 kB / 395.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.7004, allocations: 293 kB / 396.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.7008, allocations: 167.3 kB / 396.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.7008, allocations: 0 / 396.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00131/0.7022, allocations: 0.4928 MB / 396.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000761/0.7029, allocations: 1.668 MB / 398.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.703, allocations: 3.875 kB / 398.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.7035, allocations: 80.45 kB / 398.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.7042, allocations: 96.33 kB / 398.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.7067, allocations: 1.696 MB / 400.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/0.7076, allocations: 69.64 kB / 400.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.7077, allocations: 22.66 kB / 400.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.7077, allocations: 7.875 kB / 400.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001112/0.7089, allocations: 417.2 kB / 400.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7089, allocations: 4.406 kB / 400.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.7093, allocations: 82.47 kB / 400.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.7099, allocations: 85.19 kB / 400.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.7123, allocations: 1.705 MB / 402.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.7131, allocations: 55.22 kB / 402.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.7131, allocations: 27.38 kB / 402.7 MB, free: 9.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.7134, allocations: 131.5 kB / 402.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001011/0.7144, allocations: 403.2 kB / 403.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.7146, allocations: 50.47 kB / 403.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.7148, allocations: 51.06 kB / 403.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7148, allocations: 8 kB / 403.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7148, allocations: 0 / 403.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.7148, allocations: 3.984 kB / 403.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.7174, allocations: 1.125 MB / 404.5 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7175, allocations: 32 / 404.5 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.718, allocations: 57.62 kB / 404.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.7184, allocations: 67.45 kB / 404.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.7184, allocations: 7.859 kB / 404.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.7207, allocations: 1.591 MB / 406.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7208, allocations: 3.875 kB / 406.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.7224, allocations: 0.7125 MB / 406.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.7228, allocations: 166.8 kB / 407.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.7229, allocations: 14.88 kB / 407.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.7236, allocations: 35.34 kB / 407.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.7238, allocations: 52.55 kB / 407.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.7239, allocations: 14.86 kB / 407.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004484/0.7243, allocations: 263.9 kB / 407.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7243, allocations: 0 / 407.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0014/0.7257, allocations: 259.9 kB / 407.7 MB, free: 6.723 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002039/0.7278, allocations: 1.356 MB / 409.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.7297, allocations: 0.8697 MB / 409.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.7298, allocations: 0 / 409.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.7304, allocations: 319.5 kB / 410.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.7311, allocations: 65.64 kB / 410.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.7342, allocations: 0.9171 MB / 411.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.7349, allocations: 0.927 MB / 412.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000729/0.7356, allocations: 106.3 kB / 412.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.736, allocations: 208.7 kB / 412.5 MB, free: 4.043 MB / 314.7 MB Notification: Performance of SimCode: time 3.476e-06/0.7361, allocations: 0 / 412.5 MB, free: 4.043 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06664/0.8027, allocations: 11.31 MB / 423.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004282/0.8032, allocations: 206.9 kB / 424 MB, free: 9.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.326/4.129, allocations: 0 / 424 MB, free: 9.672 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat