Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.108e-05, allocations: 7.984 kB / 255.5 MB, free: 2.586 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 44.5 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5195, allocations: 81.87 MB / 381.9 MB, free: 21.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5199, allocations: 88.25 kB / 382 MB, free: 21.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05463/0.5746, allocations: 12.36 MB / 394.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5746, allocations: 0 / 394.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.302e-05/0.5747, allocations: 11.81 kB / 394.3 MB, free: 19.52 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002605/0.5773, allocations: 0.8373 MB / 395.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.5774, allocations: 7.844 kB / 395.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.5777, allocations: 101.7 kB / 395.3 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.578, allocations: 82.25 kB / 395.3 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5793, allocations: 481.7 kB / 395.8 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.5794, allocations: 50.84 kB / 395.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.5796, allocations: 59.84 kB / 395.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.5816, allocations: 0.5955 MB / 396.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.5816, allocations: 0 / 396.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.5818, allocations: 26.06 kB / 396.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.5818, allocations: 19.61 kB / 396.6 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.5833, allocations: 417 kB / 397 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006395/0.5898, allocations: 2.289 MB / 399.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.5915, allocations: 454.7 kB / 399.7 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/0.5924, allocations: 237.2 kB / 399.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.5925, allocations: 11.84 kB / 399.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.5934, allocations: 294.2 kB / 400.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.058e-06/0.5934, allocations: 0 / 400.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001525/0.5949, allocations: 422 kB / 400.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.595, allocations: 147.8 kB / 400.8 MB, free: 17.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.5959, allocations: 400.6 kB / 401.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.5961, allocations: 40.64 kB / 401.2 MB, free: 17.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.5964, allocations: 300.5 kB / 401.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.5966, allocations: 148.3 kB / 401.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.5966, allocations: 14.66 kB / 401.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5968, allocations: 361.5 kB / 402 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.5973, allocations: 153.4 kB / 402.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.5981, allocations: 302.8 kB / 402.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.5987, allocations: 166.3 kB / 402.6 MB, free: 16.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5987, allocations: 3.938 kB / 402.6 MB, free: 16.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001776/0.6005, allocations: 0.5343 MB / 403.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000442/0.601, allocations: 1.664 MB / 404.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.601, allocations: 3.875 kB / 404.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.6016, allocations: 81.64 kB / 404.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.6025, allocations: 94.88 kB / 405 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.6051, allocations: 1.725 MB / 406.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.6062, allocations: 82.95 kB / 406.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.6063, allocations: 26.06 kB / 406.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6063, allocations: 3.844 kB / 406.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.6078, allocations: 471 kB / 407.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6079, allocations: 3.906 kB / 407.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.6083, allocations: 88.98 kB / 407.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/0.6091, allocations: 90 kB / 407.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.6126, allocations: 1.73 MB / 409.2 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6137, allocations: 69.78 kB / 409.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.6138, allocations: 19.31 kB / 409.3 MB, free: 27.55 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 (61): * Single equations (assignments): 60 * 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.0003296/0.6141, allocations: 150.6 kB / 409.4 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6143, allocations: 58.55 kB / 409.5 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.6145, allocations: 61.95 kB / 409.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6146, allocations: 3.906 kB / 409.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6146, allocations: 3.906 kB / 409.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6146, allocations: 3.797 kB / 409.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.6179, allocations: 1.232 MB / 410.8 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.618, allocations: 48 / 410.8 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.6186, allocations: 54.12 kB / 410.9 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.619, allocations: 69.55 kB / 410.9 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.6191, allocations: 15.27 kB / 410.9 MB, free: 26.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.6219, allocations: 1.656 MB / 412.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6219, allocations: 0 / 412.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.6242, allocations: 0.7403 MB / 413.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.6246, allocations: 169.9 kB / 413.5 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6248, allocations: 14.67 kB / 413.5 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.6256, allocations: 45.34 kB / 413.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6259, allocations: 46.84 kB / 413.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.626, allocations: 17.94 kB / 413.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007369/0.6267, allocations: 304.5 kB / 413.9 MB, free: 25.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6268, allocations: 0 / 413.9 MB, free: 25.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002043/0.6288, allocations: 277.9 kB / 414.2 MB, free: 25.18 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 (39): * Single equations (assignments): 33 * 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.002191/0.631, allocations: 1.399 MB / 415.6 MB, free: 24.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.6329, allocations: 0.8904 MB / 416.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6329, allocations: 3.938 kB / 416.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.6335, allocations: 328 kB / 416.8 MB, free: 23.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.6343, allocations: 91.95 kB / 416.9 MB, free: 23.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.6369, allocations: 0.9622 MB / 417.9 MB, free: 23.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.6376, allocations: 0.9148 MB / 418.8 MB, free: 22.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006474/0.6382, allocations: 111 kB / 418.9 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.6386, allocations: 207 kB / 419.1 MB, free: 22.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6386, allocations: 0 / 419.1 MB, free: 22.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.6804, allocations: 12.5 MB / 431.6 MB, free: 16.64 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.6806, allocations: 241.5 kB / 431.8 MB, free: 16.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/3.861, allocations: 0 / 431.8 MB, free: 16.33 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_RL_res.mat does not exist to compare? outputFormat=mat