Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.88e-05, allocations: 8 kB / 269.5 MB, free: 6.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 47.58 MB / 317 MB, free: 6.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6121, allocations: 90.55 MB / 407.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.6125, allocations: 91.69 kB / 407.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1208/0.7332, allocations: 28.63 MB / 436.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7333, allocations: 0 / 436.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.7334, allocations: 32 kB / 436.3 MB, free: 4.934 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.005311/0.7388, allocations: 1.516 MB / 437.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.7388, allocations: 12.03 kB / 437.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006345/0.7395, allocations: 192.6 kB / 438.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005364/0.74, allocations: 162.1 kB / 438.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/0.7467, allocations: 1.634 MB / 439.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.7469, allocations: 104.3 kB / 440 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/0.7473, allocations: 123.4 kB / 440.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.7519, allocations: 1.666 MB / 441.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-05/0.752, allocations: 3.984 kB / 441.7 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.7522, allocations: 56.67 kB / 441.8 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.7523, allocations: 50.53 kB / 441.9 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.7566, allocations: 1.312 MB / 443.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.7698, allocations: 4.96 MB / 448.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.7729, allocations: 1.039 MB / 449.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.7744, allocations: 0.5536 MB / 449.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/0.7745, allocations: 8.781 kB / 449.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.7759, allocations: 0.5786 MB / 450.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.198e-06/0.7759, allocations: 0 / 450.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002918/0.7789, allocations: 0.9878 MB / 451.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.779, allocations: 153.3 kB / 451.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.7808, allocations: 0.7733 MB / 452.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.781, allocations: 53.69 kB / 452.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.7817, allocations: 0.5811 MB / 452.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.7821, allocations: 236.8 kB / 453.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.7822, allocations: 20 kB / 453.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7824, allocations: 349.9 kB / 453.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.7834, allocations: 405.8 kB / 453.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.7847, allocations: 0.628 MB / 454.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7858, allocations: 441.8 kB / 454.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.7858, allocations: 0 / 454.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00321/0.789, allocations: 1.187 MB / 456.1 MB, free: 3.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.7902, allocations: 2.531 MB / 458.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.7903, allocations: 8 kB / 458.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.7912, allocations: 218.2 kB / 458.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.7927, allocations: 151.7 kB / 459 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.7996, allocations: 2.769 MB / 461.8 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.8016, allocations: 163.2 kB / 461.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.8018, allocations: 36 kB / 461.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8018, allocations: 4 kB / 461.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003926/0.8057, allocations: 1.081 MB / 463 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.8058, allocations: 4.844 kB / 463 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.807, allocations: 221 kB / 463.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.8085, allocations: 139.8 kB / 463.4 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/0.8159, allocations: 2.768 MB / 466.2 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.8178, allocations: 131.4 kB / 466.3 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.8179, allocations: 40 kB / 466.3 MB, free: 8.934 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.00054/0.8185, allocations: 211.4 kB / 466.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.8188, allocations: 90.88 kB / 466.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.8193, allocations: 113 kB / 466.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.8194, allocations: 11.95 kB / 466.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.8194, allocations: 0 / 466.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.8194, allocations: 3.984 kB / 466.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009582/0.829, allocations: 2.533 MB / 469.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.8291, allocations: 3.984 kB / 469.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/0.8301, allocations: 87.77 kB / 469.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009966/0.8311, allocations: 192.8 kB / 469.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.8312, allocations: 23.98 kB / 469.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006743/0.838, allocations: 2.732 MB / 472.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.838, allocations: 0 / 472.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/0.8436, allocations: 1.633 MB / 473.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.8448, allocations: 267.8 kB / 474.2 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.8451, allocations: 23.98 kB / 474.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.8466, allocations: 91.91 kB / 474.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/0.8473, allocations: 144.6 kB / 474.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8474, allocations: 23.98 kB / 474.5 MB, free: 0.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001863/0.8493, allocations: 0.585 MB / 475.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8493, allocations: 0 / 475.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003637/0.853, allocations: 0.576 MB / 475.6 MB, free: 15.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006201/0.8592, allocations: 2.391 MB / 478 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00646/0.8658, allocations: 1.846 MB / 479.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.8658, allocations: 4 kB / 479.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.8682, allocations: 0.6761 MB / 480.6 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8705, allocations: 196.1 kB / 480.8 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/0.8789, allocations: 2.315 MB / 483.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.8804, allocations: 1.405 MB / 484.5 MB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002165/0.8826, allocations: 427 kB / 484.9 MB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.8838, allocations: 431.3 kB / 485.3 MB, free: 5.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.175e-06/0.8838, allocations: 4 kB / 485.3 MB, free: 5.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08062/0.9645, allocations: 26.44 MB / 0.4998 GB, free: 11.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004183/0.965, allocations: 241.8 kB / 0.5 GB, free: 10.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/4.369, allocations: 3.906 kB / 0.5 GB, free: 10.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat