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.078/2.078, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.674e-05, allocations: 3.984 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.4486, allocations: 81.2 MB / 375.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.4489, allocations: 91.94 kB / 375.5 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05513/0.5041, allocations: 12.24 MB / 387.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5041, allocations: 3.938 kB / 387.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.246e-05/0.5042, allocations: 16 kB / 387.8 MB, free: 4.223 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002497/0.5067, allocations: 0.8251 MB / 388.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.5068, allocations: 8.031 kB / 388.6 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.5071, allocations: 87.05 kB / 388.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5084, allocations: 476.2 kB / 389.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.5085, allocations: 23.98 kB / 389.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5087, allocations: 36 kB / 389.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/0.5099, allocations: 394.5 kB / 389.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.5114, allocations: 0.5222 MB / 390.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.5114, allocations: 8 kB / 390.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.5115, allocations: 7.984 kB / 390.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.5115, allocations: 12 kB / 390.2 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.5171, allocations: 2.161 MB / 392.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5188, allocations: 430.8 kB / 392.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.5195, allocations: 233.4 kB / 393 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.5196, allocations: 4 kB / 393 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/0.5203, allocations: 289 kB / 393.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.606e-06/0.5203, allocations: 0 / 393.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001221/0.5216, allocations: 394 kB / 393.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.5217, allocations: 144.4 kB / 393.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.5225, allocations: 349.2 kB / 394.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.5226, allocations: 33.7 kB / 394.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.523, allocations: 304.2 kB / 394.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5232, allocations: 138 kB / 394.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.5233, allocations: 11.97 kB / 394.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5235, allocations: 359.4 kB / 395 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.5239, allocations: 141.1 kB / 395.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.5245, allocations: 295 kB / 395.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.5249, allocations: 160.2 kB / 395.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.525, allocations: 3.938 kB / 395.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001424/0.5264, allocations: 493 kB / 396 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007158/0.5271, allocations: 1.66 MB / 397.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.5272, allocations: 7.984 kB / 397.7 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.5277, allocations: 76.78 kB / 397.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.5284, allocations: 95.83 kB / 397.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.531, allocations: 1.698 MB / 399.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.5319, allocations: 71.62 kB / 399.6 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.532, allocations: 23.98 kB / 399.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.532, allocations: 4 kB / 399.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/0.5332, allocations: 420 kB / 400.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5333, allocations: 4 kB / 400.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.5337, allocations: 76.81 kB / 400.1 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.5344, allocations: 83.84 kB / 400.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.5369, allocations: 1.698 MB / 401.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.5377, allocations: 63.62 kB / 402 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.5378, allocations: 20 kB / 402 MB, free: 5.238 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 (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.0002642/0.5381, allocations: 132 kB / 402.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001114/0.5392, allocations: 397.7 kB / 402.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5393, allocations: 47.39 kB / 402.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.5395, allocations: 48.97 kB / 402.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5396, allocations: 8 kB / 402.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5396, allocations: 0 / 402.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5396, allocations: 3.984 kB / 402.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.5423, allocations: 1.112 MB / 403.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5423, allocations: 48 / 403.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.5428, allocations: 55.89 kB / 403.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/0.5432, allocations: 64.83 kB / 403.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.5432, allocations: 7.984 kB / 403.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.5456, allocations: 1.6 MB / 405.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5457, allocations: 4.062 kB / 405.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.5477, allocations: 0.7066 MB / 406.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.5482, allocations: 164.5 kB / 406.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5483, allocations: 4 kB / 406.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.5489, allocations: 35.97 kB / 406.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.5492, allocations: 51.92 kB / 406.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.5493, allocations: 19.92 kB / 406.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005639/0.5498, allocations: 267 kB / 406.7 MB, free: 304 kB / 346.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.5499, allocations: 0 / 406.7 MB, free: 304 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001495/0.5514, allocations: 259 kB / 407 MB, free: 44 kB / 346.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.002542/0.554, allocations: 1.346 MB / 408.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003468/0.5575, allocations: 0.858 MB / 409.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.5576, allocations: 0 / 409.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.5584, allocations: 329.6 kB / 409.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/0.5592, allocations: 66.09 kB / 409.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.5625, allocations: 0.9137 MB / 410.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.5633, allocations: 0.9186 MB / 411.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007618/0.5641, allocations: 104.3 kB / 411.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.5645, allocations: 203.4 kB / 411.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5646, allocations: 0 / 411.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/0.6306, allocations: 11.15 MB / 422.8 MB, free: 36 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2505/0.8811, allocations: 197.2 kB / 423 MB, free: 113.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/3.98, allocations: 0 / 423 MB, free: 113.1 MB / 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_RL_res.mat does not exist to compare? outputFormat=mat