Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.982e-05, allocations: 0 / 292.8 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 50.4 MB / 343.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5531, allocations: 91.33 MB / 434.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5535, allocations: 90.53 kB / 434.6 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.6811, allocations: 30.27 MB / 464.9 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6812, allocations: 0 / 464.9 MB, free: 4.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001732/0.6814, allocations: 32 kB / 464.9 MB, free: 4.398 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005921/0.6873, allocations: 1.582 MB / 466.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.6874, allocations: 8.031 kB / 466.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007072/0.6881, allocations: 197.3 kB / 466.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.6887, allocations: 166 kB / 466.8 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.6956, allocations: 1.653 MB / 468.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.6958, allocations: 108.7 kB / 468.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/0.6963, allocations: 133.8 kB / 468.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.7065, allocations: 1.722 MB / 470.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.7067, allocations: 0 / 470.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004904/0.7072, allocations: 65.91 kB / 470.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.7074, allocations: 50.59 kB / 470.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008046/0.7154, allocations: 1.371 MB / 471.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/0.7405, allocations: 5.074 MB / 477 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.7455, allocations: 1.018 MB / 478 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.748, allocations: 0.5872 MB / 478.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.7482, allocations: 8.781 kB / 478.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/0.7514, allocations: 0.6136 MB / 479.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 7.003e-06/0.7515, allocations: 0 / 479.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.004979/0.7564, allocations: 1.011 MB / 480.2 MB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.7567, allocations: 179 kB / 480.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.7595, allocations: 0.7968 MB / 481.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.7599, allocations: 57.69 kB / 481.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.7612, allocations: 0.6045 MB / 481.9 MB, free: 6.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000785/0.762, allocations: 252.6 kB / 482.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.7622, allocations: 20 kB / 482.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.7625, allocations: 345.9 kB / 482.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.7642, allocations: 425.8 kB / 482.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.7664, allocations: 0.6601 MB / 483.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.7682, allocations: 472.6 kB / 484 MB, free: 4.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.7683, allocations: 7.938 kB / 484 MB, free: 4.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005259/0.7736, allocations: 1.246 MB / 485.3 MB, free: 2.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.7751, allocations: 2.523 MB / 487.8 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.7752, allocations: 8 kB / 487.8 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.7766, allocations: 224.8 kB / 488 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.7783, allocations: 159.7 kB / 488.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.7852, allocations: 2.788 MB / 491 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.7869, allocations: 155.3 kB / 491.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.7872, allocations: 39.98 kB / 491.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7872, allocations: 4 kB / 491.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003171/0.7904, allocations: 1.136 MB / 492.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.7905, allocations: 11.94 kB / 492.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/0.7914, allocations: 221.3 kB / 492.5 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.7926, allocations: 151.7 kB / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.7979, allocations: 2.799 MB / 495.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.8004, allocations: 135.3 kB / 495.6 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.8008, allocations: 36.09 kB / 495.6 MB, free: 7.941 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (108): * Single equations (assignments): 107 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006024/0.8014, allocations: 212.6 kB / 495.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.8018, allocations: 94.83 kB / 495.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.8022, allocations: 125.3 kB / 496.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.8022, allocations: 8 kB / 496.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8022, allocations: 0 / 496.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8023, allocations: 7.969 kB / 496.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/0.8097, allocations: 2.65 MB / 498.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.8097, allocations: 0 / 498.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.8105, allocations: 87.86 kB / 498.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.8114, allocations: 204.8 kB / 499 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.8116, allocations: 12 kB / 499 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.8181, allocations: 2.663 MB / 0.4899 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8182, allocations: 0 / 0.4899 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.8241, allocations: 1.728 MB / 0.4916 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.8254, allocations: 271.8 kB / 0.4919 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.8259, allocations: 27.98 kB / 0.4919 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.8276, allocations: 87.92 kB / 0.492 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007799/0.8284, allocations: 144.5 kB / 0.4921 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.8286, allocations: 23.98 kB / 0.4922 GB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002139/0.8308, allocations: 0.6084 MB / 0.4927 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.8308, allocations: 0 / 0.4927 GB, free: 14.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01265/0.8435, allocations: 0.5954 MB / 0.4933 GB, free: 14.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 62 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/0.8588, allocations: 2.415 MB / 0.4957 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01506/0.8739, allocations: 1.947 MB / 0.4976 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.874, allocations: 4 kB / 0.4976 GB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.8766, allocations: 0.6876 MB / 0.4983 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.879, allocations: 205.4 kB / 0.4985 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.8896, allocations: 2.364 MB / 0.5008 GB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.8919, allocations: 1.426 MB / 0.5022 GB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003263/0.8952, allocations: 467.2 kB / 0.5026 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.8968, allocations: 447.3 kB / 0.503 GB, free: 4.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8968, allocations: 0 / 0.503 GB, free: 4.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.027, allocations: 27.5 MB / 0.5299 GB, free: 8.922 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/1.027, allocations: 238.2 kB / 0.5301 GB, free: 8.609 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/4.799, allocations: 7.875 kB / 0.5301 GB, free: 8.602 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat