Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.176e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1425, allocations: 44.51 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5831, allocations: 86.34 MB / 386.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.5834, allocations: 90.5 kB / 386.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1373/0.7207, allocations: 35.78 MB / 422.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7208, allocations: 0 / 422.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001713/0.721, allocations: 46.69 kB / 422.2 MB, free: 1.945 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.006587/0.7276, allocations: 1.996 MB / 424.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.7276, allocations: 7.75 kB / 424.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007425/0.7284, allocations: 257 kB / 424.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.729, allocations: 224.2 kB / 424.7 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.7362, allocations: 1.975 MB / 426.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.7364, allocations: 127.1 kB / 426.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.7369, allocations: 178.1 kB / 426.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006087/0.743, allocations: 2.339 MB / 429.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.34e-05/0.7431, allocations: 7.891 kB / 429.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.7434, allocations: 71.12 kB / 429.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.7435, allocations: 73.17 kB / 429.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/0.7488, allocations: 1.96 MB / 431.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02418/0.773, allocations: 7.255 MB / 438.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007295/0.7804, allocations: 1.629 MB / 440.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/0.7838, allocations: 0.8927 MB / 441.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.7841, allocations: 12.44 kB / 441.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003045/0.7871, allocations: 0.8401 MB / 442 MB, free: 6.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.952e-06/0.7872, allocations: 0 / 442 MB, free: 6.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.006071/0.7933, allocations: 1.481 MB / 443.5 MB, free: 4.945 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.7935, allocations: 127.8 kB / 443.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.7976, allocations: 1.1 MB / 444.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/0.7981, allocations: 65.67 kB / 444.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.7994, allocations: 0.75 MB / 445.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008247/0.8002, allocations: 341.6 kB / 445.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.8004, allocations: 24 kB / 445.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.8007, allocations: 354.8 kB / 446.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.803, allocations: 0.5882 MB / 446.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002699/0.8058, allocations: 0.8069 MB / 447.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.8082, allocations: 0.6062 MB / 448.2 MB, free: 80 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.8082, allocations: 4 kB / 448.3 MB, free: 76 kB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006394/0.8147, allocations: 1.639 MB / 449.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.8166, allocations: 1.916 MB / 451.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/0.8167, allocations: 4 kB / 451.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.8198, allocations: 423.1 kB / 452.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.8225, allocations: 187.6 kB / 452.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.8355, allocations: 4.385 MB / 456.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.8375, allocations: 183.1 kB / 457 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.8378, allocations: 43.98 kB / 457 MB, free: 7.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8378, allocations: 4 kB / 457 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004369/0.8422, allocations: 1.582 MB / 458.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.8422, allocations: 4 kB / 458.6 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.8438, allocations: 420.7 kB / 459 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.8453, allocations: 172.1 kB / 459.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009993/0.8554, allocations: 4.443 MB / 463.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.8569, allocations: 155.3 kB / 463.8 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8571, allocations: 47.98 kB / 463.8 MB, free: 64 kB / 346.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 (121): * Single equations (assignments): 120 * 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.0006338/0.8577, allocations: 216.8 kB / 464 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/0.8583, allocations: 134.3 kB / 464.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.8589, allocations: 168.7 kB / 464.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.859, allocations: 8 kB / 464.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.859, allocations: 4 kB / 464.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.859, allocations: 3.984 kB / 464.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.8729, allocations: 3.581 MB / 467.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.873, allocations: 0 / 467.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.8746, allocations: 111.8 kB / 468 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.8769, allocations: 405 kB / 468.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/0.8773, allocations: 19.98 kB / 468.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.8914, allocations: 4.322 MB / 472.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8914, allocations: 3.938 kB / 472.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009857/0.9013, allocations: 2.474 MB / 475.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/0.9033, allocations: 367.1 kB / 475.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007117/0.9041, allocations: 39.92 kB / 475.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/0.9065, allocations: 103.9 kB / 475.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/0.9078, allocations: 228.6 kB / 476 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.9081, allocations: 27.98 kB / 476 MB, free: 3.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003/0.9111, allocations: 0.8407 MB / 476.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.9111, allocations: 0 / 476.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005108/0.9163, allocations: 0.8345 MB / 477.7 MB, free: 1.988 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[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 77 * 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.01004/0.9264, allocations: 3.098 MB / 480.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/0.9373, allocations: 2.732 MB / 483.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.9374, allocations: 0.7812 kB / 483.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00383/0.9412, allocations: 0.9761 MB / 484.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.944, allocations: 299.8 kB / 484.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.9563, allocations: 3.319 MB / 488.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/0.959, allocations: 1.708 MB / 489.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/0.9609, allocations: 0.6438 MB / 490.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.054e-06/0.961, allocations: 0 / 490.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.574/4.535, allocations: 40.21 MB / 0.5182 GB, free: 121 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_RL_res.mat does not exist to compare? outputFormat=mat