Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.182/2.182, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.183e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3128, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.4875, allocations: 80.89 MB / 375.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005236/0.4881, allocations: 83.95 kB / 375.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06233/0.5505, allocations: 11.92 MB / 387.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5505, allocations: 0 / 387.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.853e-05/0.5506, allocations: 12 kB / 387.1 MB, free: 4.871 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002217/0.5528, allocations: 0.8165 MB / 388 MB, free: 4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5529, allocations: 8.031 kB / 388 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.5531, allocations: 79.11 kB / 388 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.5544, allocations: 472.4 kB / 388.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.5545, allocations: 24 kB / 388.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5547, allocations: 35.91 kB / 388.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/0.5559, allocations: 382.5 kB / 388.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5573, allocations: 0.5066 MB / 389.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.5574, allocations: 3.938 kB / 389.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.5575, allocations: 0 / 389.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.5576, allocations: 19.95 kB / 389.5 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.5631, allocations: 2.072 MB / 391.5 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5647, allocations: 426.2 kB / 392 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.5655, allocations: 221.4 kB / 392.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.5656, allocations: 4.328 kB / 392.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/0.5664, allocations: 285.9 kB / 392.5 MB, free: 15.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.737e-06/0.5664, allocations: 4 kB / 392.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.001238/0.5677, allocations: 373.8 kB / 392.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5678, allocations: 140.5 kB / 393 MB, free: 14.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.5687, allocations: 349.2 kB / 393.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.5688, allocations: 37.64 kB / 393.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.5693, allocations: 304.2 kB / 393.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.5695, allocations: 118.2 kB / 393.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.5696, allocations: 7.938 kB / 393.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.5698, allocations: 362.8 kB / 394.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.5702, allocations: 137.1 kB / 394.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.5708, allocations: 283.7 kB / 394.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.5712, allocations: 156.7 kB / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5713, allocations: 7.891 kB / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001402/0.5727, allocations: 489.4 kB / 395.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007992/0.5735, allocations: 1.656 MB / 396.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.5736, allocations: 4 kB / 396.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.5742, allocations: 96.84 kB / 396.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.5749, allocations: 87.83 kB / 397 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.5779, allocations: 1.795 MB / 398.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.5788, allocations: 71.7 kB / 398.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.5789, allocations: 20 kB / 398.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5789, allocations: 4 kB / 398.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.5801, allocations: 408.7 kB / 399.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5801, allocations: 11.98 kB / 399.3 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.5806, allocations: 80.83 kB / 399.4 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.5811, allocations: 80.23 kB / 399.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.5841, allocations: 1.807 MB / 401.3 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.5849, allocations: 59.61 kB / 401.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.585, allocations: 20 kB / 401.3 MB, free: 5.898 MB / 346.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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.5853, allocations: 139.9 kB / 401.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001098/0.5864, allocations: 381.8 kB / 401.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5866, allocations: 55.42 kB / 401.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.5867, allocations: 44.91 kB / 402 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5868, allocations: 7.953 kB / 402 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5868, allocations: 4 kB / 402 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5868, allocations: 8.016 kB / 402 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.5895, allocations: 1.09 MB / 403.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5895, allocations: 7.938 kB / 403.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.5899, allocations: 31.98 kB / 403.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.5904, allocations: 88.78 kB / 403.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.5905, allocations: 3.984 kB / 403.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.5932, allocations: 1.69 MB / 404.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.5933, allocations: 384 / 404.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.5951, allocations: 0.6877 MB / 405.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.5956, allocations: 160.5 kB / 405.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5957, allocations: 8 kB / 405.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.5963, allocations: 43.89 kB / 405.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.5966, allocations: 51.92 kB / 405.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.5967, allocations: 16 kB / 405.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005128/0.5972, allocations: 262.9 kB / 406.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5972, allocations: 0 / 406.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001557/0.5988, allocations: 255 kB / 406.4 MB, free: 0.6602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/0.6011, allocations: 1.315 MB / 407.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.6035, allocations: 0.864 MB / 408.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.6035, allocations: 4 kB / 408.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.6044, allocations: 334.4 kB / 408.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.6051, allocations: 65.88 kB / 408.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.6082, allocations: 0.8282 MB / 409.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.609, allocations: 0.9105 MB / 410.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.6098, allocations: 104.5 kB / 410.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.6103, allocations: 195.4 kB / 411 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6103, allocations: 4 kB / 411 MB, free: 11.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.6711, allocations: 11.19 MB / 422.2 MB, free: 0.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.6715, allocations: 203.9 kB / 422.4 MB, free: 496 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/3.768, allocations: 0 / 422.4 MB, free: 496 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat