Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.555e-05, allocations: 0 / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5877, allocations: 86.59 MB / 386.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5881, allocations: 88.56 kB / 386.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1593/0.7474, allocations: 36.06 MB / 422.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7475, allocations: 0 / 422.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002396/0.7478, allocations: 46.91 kB / 422.8 MB, free: 1.191 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.007421/0.7552, allocations: 2.006 MB / 424.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.7553, allocations: 7.75 kB / 424.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/0.7564, allocations: 258.1 kB / 425 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.7576, allocations: 224.9 kB / 425.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007752/0.7654, allocations: 1.978 MB / 427.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.7657, allocations: 133.6 kB / 427.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008208/0.7665, allocations: 173.9 kB / 427.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007953/0.7745, allocations: 2.337 MB / 429.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.7746, allocations: 7.219 kB / 429.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/0.7751, allocations: 77.17 kB / 430 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.7752, allocations: 71.44 kB / 430 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.7817, allocations: 1.948 MB / 432 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.8053, allocations: 7.312 MB / 439.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005476/0.8109, allocations: 1.622 MB / 440.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.8137, allocations: 0.909 MB / 441.8 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.8139, allocations: 13 kB / 441.8 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/0.8166, allocations: 0.8265 MB / 442.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.631e-06/0.8166, allocations: 4 kB / 442.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004986/0.8216, allocations: 1.489 MB / 444.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.8218, allocations: 130.4 kB / 444.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.8252, allocations: 1.11 MB / 445.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003904/0.8256, allocations: 61.69 kB / 445.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.8269, allocations: 0.777 MB / 446.2 MB, free: 1.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.8277, allocations: 344.7 kB / 446.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8279, allocations: 23.94 kB / 446.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.8281, allocations: 361.9 kB / 446.9 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.83, allocations: 0.5921 MB / 447.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.8322, allocations: 0.781 MB / 448.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.8343, allocations: 0.6138 MB / 448.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.8344, allocations: 4 kB / 448.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005647/0.8401, allocations: 1.719 MB / 450.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009631/0.8411, allocations: 1.932 MB / 452.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.8412, allocations: 8 kB / 452.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.8431, allocations: 430 kB / 453 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.8451, allocations: 179.6 kB / 453.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.8591, allocations: 4.386 MB / 457.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.8621, allocations: 187.1 kB / 457.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/0.8625, allocations: 36 kB / 457.8 MB, free: 5.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8626, allocations: 6.188 kB / 457.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006807/0.8694, allocations: 1.578 MB / 459.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/0.8695, allocations: 4 kB / 459.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/0.8717, allocations: 429.5 kB / 459.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.8738, allocations: 167.7 kB / 460 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.8884, allocations: 4.398 MB / 464.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.8912, allocations: 167.2 kB / 464.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000411/0.8916, allocations: 43.98 kB / 464.6 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007168/0.8924, allocations: 212.8 kB / 464.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/0.8931, allocations: 134.4 kB / 464.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.8939, allocations: 168.9 kB / 465.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.894, allocations: 12 kB / 465.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.894, allocations: 0 / 465.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.894, allocations: 7.984 kB / 465.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.9094, allocations: 3.606 MB / 468.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.9095, allocations: 0 / 468.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.9112, allocations: 115.8 kB / 468.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.9134, allocations: 400.5 kB / 469.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/0.9138, allocations: 19.98 kB / 469.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.9264, allocations: 4.316 MB / 473.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.9264, allocations: 7.984 kB / 473.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/0.9333, allocations: 2.478 MB / 476 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.9348, allocations: 371.2 kB / 476.4 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.9353, allocations: 35.92 kB / 476.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.937, allocations: 107.9 kB / 476.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009917/0.938, allocations: 228.6 kB / 476.7 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.9382, allocations: 31.98 kB / 476.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002343/0.9406, allocations: 0.8528 MB / 477.6 MB, free: 1.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9406, allocations: 0 / 477.6 MB, free: 1.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004082/0.9447, allocations: 0.8407 MB / 478.5 MB, free: 0.8359 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007875/0.9527, allocations: 3.1 MB / 481.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008317/0.961, allocations: 2.735 MB / 484.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.9611, allocations: 0 / 484.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.9641, allocations: 0.9726 MB / 485.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.9668, allocations: 288.9 kB / 485.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.9824, allocations: 3.388 MB / 489 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/0.9875, allocations: 1.753 MB / 490.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004273/0.9919, allocations: 0.6031 MB / 491.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.9936, allocations: 0.636 MB / 491.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.754e-06/0.9937, allocations: 0 / 491.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4192/1.413, allocations: 40.38 MB / 0.5199 GB, free: 120.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/1.413, allocations: 249.2 kB / 0.5201 GB, free: 119.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.239/5.652, allocations: 0 / 0.5201 GB, free: 119.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat