Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.336e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.5385, allocations: 82.1 MB / 382.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5389, allocations: 86.75 kB / 382.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05075/0.5896, allocations: 12.64 MB / 394.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5897, allocations: 0 / 394.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.5898, allocations: 15.5 kB / 394.8 MB, free: 11.01 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.002352/0.5921, allocations: 0.8561 MB / 395.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5922, allocations: 7.75 kB / 395.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/0.5925, allocations: 107.1 kB / 395.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.5928, allocations: 81.62 kB / 395.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.594, allocations: 476.2 kB / 396.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.5941, allocations: 47.5 kB / 396.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5942, allocations: 65.98 kB / 396.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.5957, allocations: 0.6091 MB / 397.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.5958, allocations: 0 / 397.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.5959, allocations: 34.78 kB / 397.1 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.5959, allocations: 15.53 kB / 397.1 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.597, allocations: 425.4 kB / 397.5 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.6022, allocations: 2.339 MB / 399.9 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6036, allocations: 463 kB / 400.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.6043, allocations: 241.6 kB / 400.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.6044, allocations: 7.891 kB / 400.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/0.605, allocations: 303.2 kB / 400.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.427e-06/0.605, allocations: 0 / 400.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001139/0.6062, allocations: 428.9 kB / 401.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.6063, allocations: 140.1 kB / 401.4 MB, free: 8.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.6071, allocations: 413.1 kB / 401.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.6072, allocations: 48.11 kB / 401.9 MB, free: 8.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.6074, allocations: 316.5 kB / 402.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.6076, allocations: 144.1 kB / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.6077, allocations: 14.22 kB / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6078, allocations: 362.5 kB / 402.7 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.6082, allocations: 152 kB / 402.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.6087, allocations: 301.9 kB / 403.1 MB, free: 7.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.6092, allocations: 179.5 kB / 403.3 MB, free: 7.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.6092, allocations: 3.938 kB / 403.3 MB, free: 7.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/0.6105, allocations: 0.5403 MB / 403.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.6109, allocations: 1.658 MB / 405.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.6109, allocations: 11.73 kB / 405.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.6114, allocations: 75.3 kB / 405.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.6123, allocations: 92.8 kB / 405.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.6158, allocations: 1.735 MB / 407.4 MB, free: 19.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6171, allocations: 83.42 kB / 407.5 MB, free: 19.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.6172, allocations: 22.16 kB / 407.5 MB, free: 19.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6172, allocations: 11.73 kB / 407.5 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/0.6189, allocations: 476.4 kB / 408 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.6189, allocations: 4.406 kB / 408 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.6195, allocations: 85.16 kB / 408.1 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.6203, allocations: 85.02 kB / 408.2 MB, free: 19.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.6236, allocations: 1.741 MB / 409.9 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6249, allocations: 68.38 kB / 410 MB, free: 18.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.625, allocations: 23.16 kB / 410 MB, free: 18.35 MB / 330.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.0003676/0.6254, allocations: 150.6 kB / 410.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6256, allocations: 57.8 kB / 410.2 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.6259, allocations: 58.2 kB / 410.3 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6259, allocations: 3.875 kB / 410.3 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6259, allocations: 0 / 410.3 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.626, allocations: 7.984 kB / 410.3 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.6299, allocations: 1.259 MB / 411.5 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6299, allocations: 0 / 411.5 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.6306, allocations: 42.91 kB / 411.6 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.6312, allocations: 81.22 kB / 411.7 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6313, allocations: 17.39 kB / 411.7 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003221/0.6346, allocations: 1.651 MB / 413.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.6346, allocations: 0 / 413.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.6369, allocations: 0.748 MB / 414.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.6374, allocations: 172.6 kB / 414.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.6376, allocations: 11.09 kB / 414.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/0.6385, allocations: 42.27 kB / 414.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.6388, allocations: 54.52 kB / 414.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.6389, allocations: 14.5 kB / 414.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008144/0.6398, allocations: 317.6 kB / 414.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6398, allocations: 0 / 414.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002278/0.6421, allocations: 285.3 kB / 415 MB, free: 15.6 MB / 330.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.003113/0.6453, allocations: 1.395 MB / 416.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.6482, allocations: 0.8976 MB / 417.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6482, allocations: 0 / 417.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.6492, allocations: 330 kB / 417.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6504, allocations: 95.2 kB / 417.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.655, allocations: 0.9828 MB / 418.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.6559, allocations: 0.9333 MB / 419.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001112/0.657, allocations: 110.6 kB / 419.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.6576, allocations: 212.5 kB / 419.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6577, allocations: 4 kB / 419.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/0.7092, allocations: 12.73 MB / 432.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/0.7096, allocations: 238.7 kB / 432.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/3.871, allocations: 3.875 kB / 432.9 MB, free: 6.406 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat