Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.499e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/0.6456, allocations: 81.86 MB / 381.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.646, allocations: 85.03 kB / 381.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04949/0.6955, allocations: 12.37 MB / 394.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6955, allocations: 0 / 394.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.135e-05/0.6956, allocations: 15.69 kB / 394.3 MB, free: 11.53 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.002027/0.6976, allocations: 0.8337 MB / 395.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6977, allocations: 7.719 kB / 395.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.6979, allocations: 100.1 kB / 395.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.6981, allocations: 77.97 kB / 395.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6992, allocations: 475.1 kB / 395.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.6993, allocations: 51.75 kB / 395.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6994, allocations: 61.38 kB / 395.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.7008, allocations: 0.5916 MB / 396.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.7009, allocations: 3.938 kB / 396.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.701, allocations: 31.66 kB / 396.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.701, allocations: 11.62 kB / 396.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.7021, allocations: 419.4 kB / 396.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.7071, allocations: 2.289 MB / 399.2 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.7085, allocations: 456.1 kB / 399.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.7091, allocations: 234.1 kB / 399.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.7092, allocations: 7.75 kB / 399.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006393/0.7098, allocations: 297 kB / 400.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.088e-06/0.7099, allocations: 3.984 kB / 400.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001138/0.711, allocations: 423.7 kB / 400.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.7111, allocations: 152.1 kB / 400.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.7118, allocations: 395.9 kB / 401.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.7119, allocations: 41.23 kB / 401.2 MB, free: 8.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.7121, allocations: 346.5 kB / 401.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.7123, allocations: 143.1 kB / 401.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.7123, allocations: 7.875 kB / 401.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.7124, allocations: 338.3 kB / 402 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.7128, allocations: 151.4 kB / 402.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.7133, allocations: 300.8 kB / 402.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.7137, allocations: 167.1 kB / 402.6 MB, free: 8.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7137, allocations: 0 / 402.6 MB, free: 8.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00117/0.7149, allocations: 0.5085 MB / 403.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003508/0.7153, allocations: 1.665 MB / 404.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7153, allocations: 3.969 kB / 404.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.7158, allocations: 77.52 kB / 404.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.7164, allocations: 96.91 kB / 405 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.7187, allocations: 1.718 MB / 406.7 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/0.7197, allocations: 92.64 kB / 406.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.7197, allocations: 22.81 kB / 406.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.7198, allocations: 3.719 kB / 406.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.7209, allocations: 468.7 kB / 407.3 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7209, allocations: 3.938 kB / 407.3 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.7213, allocations: 94.09 kB / 407.4 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.7219, allocations: 84.19 kB / 407.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.7241, allocations: 1.721 MB / 409.2 MB, free: 19.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.7248, allocations: 70 kB / 409.2 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.7248, allocations: 22.16 kB / 409.2 MB, free: 19.12 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.0002507/0.7251, allocations: 157.2 kB / 409.4 MB, free: 18.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.7253, allocations: 54.09 kB / 409.5 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.7255, allocations: 55.64 kB / 409.5 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.7255, allocations: 3.719 kB / 409.5 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7255, allocations: 7.797 kB / 409.5 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.7256, allocations: 0 / 409.5 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.7281, allocations: 1.239 MB / 410.8 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7281, allocations: 0 / 410.8 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.7286, allocations: 50.53 kB / 410.8 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.729, allocations: 68.61 kB / 410.9 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.729, allocations: 14.42 kB / 410.9 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.7311, allocations: 1.652 MB / 412.5 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7312, allocations: 0 / 412.5 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.7329, allocations: 0.7503 MB / 413.3 MB, free: 16.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.7333, allocations: 167.3 kB / 413.5 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7334, allocations: 14.73 kB / 413.5 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/0.734, allocations: 38.56 kB / 413.5 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.7342, allocations: 59.23 kB / 413.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.7343, allocations: 11.77 kB / 413.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000538/0.7348, allocations: 304.3 kB / 413.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.7348, allocations: 0 / 413.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001295/0.7362, allocations: 287.4 kB / 414.2 MB, free: 16.37 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.002166/0.7383, allocations: 1.391 MB / 415.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.7403, allocations: 0.8714 MB / 416.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.7404, allocations: 0 / 416.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.741, allocations: 333.1 kB / 416.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.7418, allocations: 80.05 kB / 416.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.7448, allocations: 0.9769 MB / 417.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.7455, allocations: 0.9164 MB / 418.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.7459, allocations: 216.3 kB / 418.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7459, allocations: 3.844 kB / 418.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.975/3.721, allocations: 12.08 MB / 431 MB, free: 7.668 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat