Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.862e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5616, allocations: 86.59 MB / 386.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.562, allocations: 90.14 kB / 386.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1431/0.7051, allocations: 36.06 MB / 422.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7052, allocations: 4 kB / 422.7 MB, free: 1.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.7054, allocations: 50.44 kB / 422.8 MB, free: 1.336 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.006956/0.7124, allocations: 2 MB / 424.8 MB, free: 112 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.7124, allocations: 13.48 kB / 424.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.7135, allocations: 257.3 kB / 425 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.7144, allocations: 226.8 kB / 425.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/0.7221, allocations: 1.971 MB / 427.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.7224, allocations: 145.4 kB / 427.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008598/0.7233, allocations: 168.5 kB / 427.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007471/0.7308, allocations: 2.337 MB / 429.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/0.7309, allocations: 7.859 kB / 429.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.7312, allocations: 78.05 kB / 429.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.7314, allocations: 74.94 kB / 430 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.7374, allocations: 1.946 MB / 432 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.7592, allocations: 7.306 MB / 439.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005125/0.7643, allocations: 1.623 MB / 440.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.7671, allocations: 0.9132 MB / 441.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.7672, allocations: 16.44 kB / 441.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.7696, allocations: 0.8149 MB / 442.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.581e-06/0.7696, allocations: 4 kB / 442.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004438/0.7741, allocations: 1.497 MB / 444.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7743, allocations: 123.8 kB / 444.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.7772, allocations: 1.11 MB / 445.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003889/0.7777, allocations: 69.69 kB / 445.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.7788, allocations: 0.754 MB / 446.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.7795, allocations: 333.8 kB / 446.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7797, allocations: 27.94 kB / 446.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.7799, allocations: 374.7 kB / 446.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.7815, allocations: 0.5843 MB / 447.5 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.7834, allocations: 0.792 MB / 448.3 MB, free: 24 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.7851, allocations: 0.6099 MB / 448.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.7851, allocations: 0 / 448.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004464/0.7896, allocations: 1.631 MB / 450.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008927/0.7906, allocations: 1.922 MB / 452.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.7906, allocations: 11.98 kB / 452.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.7924, allocations: 430 kB / 452.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.794, allocations: 183.6 kB / 453.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009702/0.8037, allocations: 4.388 MB / 457.4 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.8057, allocations: 175.2 kB / 457.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.8061, allocations: 43.98 kB / 457.7 MB, free: 6.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8061, allocations: 7.953 kB / 457.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00431/0.8104, allocations: 1.57 MB / 459.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.8105, allocations: 8 kB / 459.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.8121, allocations: 425.6 kB / 459.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.8137, allocations: 171.7 kB / 459.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009541/0.8233, allocations: 4.451 MB / 464.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.8247, allocations: 155.2 kB / 464.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.8249, allocations: 47.98 kB / 464.5 MB, free: 15.39 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.000539/0.8255, allocations: 220.8 kB / 464.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/0.826, allocations: 130.4 kB / 464.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.8267, allocations: 164.9 kB / 465 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.8267, allocations: 12 kB / 465 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.8267, allocations: 0 / 465 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.8268, allocations: 7.969 kB / 465 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.8373, allocations: 3.608 MB / 468.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8374, allocations: 0 / 468.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.8386, allocations: 115.8 kB / 468.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.8401, allocations: 396.5 kB / 469.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.8404, allocations: 27.98 kB / 469.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009541/0.85, allocations: 4.319 MB / 473.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.85, allocations: 0 / 473.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006745/0.8568, allocations: 2.485 MB / 475.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.8582, allocations: 367.2 kB / 476.3 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/0.8587, allocations: 31.98 kB / 476.3 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.8603, allocations: 119.8 kB / 476.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008827/0.8612, allocations: 224.6 kB / 476.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.8614, allocations: 31.98 kB / 476.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002257/0.8637, allocations: 0.8528 MB / 477.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8637, allocations: 0 / 477.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003672/0.8674, allocations: 0.829 MB / 478.4 MB, free: 1.254 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.00686/0.8743, allocations: 3.113 MB / 481.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007285/0.8817, allocations: 2.681 MB / 484.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.8817, allocations: 0.7812 kB / 484.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/0.8844, allocations: 0.9653 MB / 485.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8869, allocations: 288.9 kB / 485.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.8985, allocations: 3.34 MB / 488.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.901, allocations: 1.72 MB / 490.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/0.9029, allocations: 0.6516 MB / 491.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9029, allocations: 0 / 491.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.813/4.716, allocations: 40.34 MB / 0.519 GB, free: 121.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat