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 2.075/2.075, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.595e-05, allocations: 8 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09439, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5445/0.6389, allocations: 81.86 MB / 381.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004498/0.6394, allocations: 84.52 kB / 381.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0729/0.7124, allocations: 12.37 MB / 394.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.7125, allocations: 0 / 394.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7e-05/0.7125, allocations: 11.56 kB / 394.3 MB, free: 11.59 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.002965/0.7155, allocations: 0.8374 MB / 395.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/0.7156, allocations: 7.688 kB / 395.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003469/0.716, allocations: 101.9 kB / 395.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.7163, allocations: 77.94 kB / 395.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.7181, allocations: 482.9 kB / 395.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/0.7182, allocations: 42.84 kB / 395.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.7185, allocations: 69.19 kB / 395.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.7208, allocations: 0.5965 MB / 396.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.7209, allocations: 3.75 kB / 396.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.721, allocations: 26.17 kB / 396.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.7211, allocations: 15.81 kB / 396.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.7229, allocations: 424.4 kB / 397 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007703/0.7306, allocations: 2.289 MB / 399.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.7327, allocations: 460.8 kB / 399.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009753/0.7337, allocations: 236.1 kB / 399.9 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.7338, allocations: 11.75 kB / 399.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009663/0.7348, allocations: 297.8 kB / 400.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.96e-06/0.7349, allocations: 0 / 400.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.00167/0.7365, allocations: 427.2 kB / 400.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.7367, allocations: 139.6 kB / 400.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.7377, allocations: 399.1 kB / 401.2 MB, free: 8.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.7379, allocations: 44.22 kB / 401.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.7383, allocations: 308.8 kB / 401.5 MB, free: 8.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.7385, allocations: 142.2 kB / 401.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.7386, allocations: 11.06 kB / 401.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7387, allocations: 363 kB / 402 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/0.7393, allocations: 150.5 kB / 402.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.7401, allocations: 315 kB / 402.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.7408, allocations: 166 kB / 402.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.7408, allocations: 0 / 402.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002021/0.7428, allocations: 0.5443 MB / 403.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005674/0.7435, allocations: 1.667 MB / 404.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.7435, allocations: 3.875 kB / 404.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.7442, allocations: 78.67 kB / 404.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/0.7451, allocations: 96.33 kB / 405 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.7483, allocations: 1.732 MB / 406.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7494, allocations: 89.52 kB / 406.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.7496, allocations: 19.31 kB / 406.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7496, allocations: 3.969 kB / 406.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/0.7512, allocations: 481.3 kB / 407.3 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7512, allocations: 7.828 kB / 407.3 MB, free: 20.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.7518, allocations: 77.92 kB / 407.4 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.7525, allocations: 89.17 kB / 407.5 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.7557, allocations: 1.736 MB / 409.2 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.7568, allocations: 68.91 kB / 409.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.7569, allocations: 18.69 kB / 409.3 MB, free: 19.11 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.0003514/0.7573, allocations: 158.4 kB / 409.5 MB, free: 18.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.7575, allocations: 58.45 kB / 409.5 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.7577, allocations: 56.39 kB / 409.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.7577, allocations: 3.875 kB / 409.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.7578, allocations: 3.875 kB / 409.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.7578, allocations: 3.984 kB / 409.6 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.7614, allocations: 1.243 MB / 410.8 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7615, allocations: 3.938 kB / 410.9 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.7621, allocations: 46.97 kB / 410.9 MB, free: 18.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.7625, allocations: 68.55 kB / 411 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.7626, allocations: 11.44 kB / 411 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.7658, allocations: 1.645 MB / 412.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7658, allocations: 7.922 kB / 412.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.7683, allocations: 0.7486 MB / 413.4 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.7689, allocations: 168.5 kB / 413.5 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.769, allocations: 15.44 kB / 413.6 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.7699, allocations: 46.11 kB / 413.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.7701, allocations: 49.89 kB / 413.7 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.7702, allocations: 14.94 kB / 413.7 MB, free: 16.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007541/0.771, allocations: 307.8 kB / 414 MB, free: 16.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.771, allocations: 0 / 414 MB, free: 16.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002096/0.7731, allocations: 283.1 kB / 414.2 MB, free: 16.35 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.002995/0.7762, allocations: 1.395 MB / 415.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.7792, allocations: 0.919 MB / 416.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.7792, allocations: 4.25 kB / 416.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.7803, allocations: 342.1 kB / 416.9 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7815, allocations: 74.81 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.7867, allocations: 0.9624 MB / 417.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/0.7877, allocations: 0.9242 MB / 418.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.7888, allocations: 110.9 kB / 419 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.7894, allocations: 204.6 kB / 419.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7894, allocations: 0 / 419.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05985/0.8493, allocations: 12.55 MB / 431.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/0.8497, allocations: 250.7 kB / 432 MB, free: 7.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.157, allocations: 0 / 432 MB, free: 7.215 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