Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.161/2.161, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.509e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4708, allocations: 84.66 MB / 378.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.4712, allocations: 87.94 kB / 379 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.5905, allocations: 28.17 MB / 407.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5906, allocations: 0 / 407.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.5908, allocations: 35.94 kB / 407.2 MB, free: 0.7031 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00574/0.5965, allocations: 1.532 MB / 408.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.5966, allocations: 8.031 kB / 408.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.5974, allocations: 166.4 kB / 408.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/0.6041, allocations: 1.636 MB / 410.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.6043, allocations: 48 kB / 410.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/0.6048, allocations: 76 kB / 410.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004306/0.6091, allocations: 1.274 MB / 411.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/0.614, allocations: 1.496 MB / 413.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/0.6141, allocations: 3.906 kB / 413.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.6143, allocations: 8 kB / 413.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.6144, allocations: 58.55 kB / 413.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.6286, allocations: 4.727 MB / 418.2 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.6317, allocations: 1.021 MB / 419.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.6332, allocations: 0.5347 MB / 419.8 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.6333, allocations: 8.781 kB / 419.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.6346, allocations: 0.5745 MB / 420.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.867e-06/0.6346, allocations: 0 / 420.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.002676/0.6373, allocations: 0.941 MB / 421.3 MB, free: 2.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6374, allocations: 149.3 kB / 421.4 MB, free: 2.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.6389, allocations: 0.6791 MB / 422.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.6391, allocations: 41.69 kB / 422.2 MB, free: 1.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007456/0.6399, allocations: 0.5889 MB / 422.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.6402, allocations: 232.7 kB / 423 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.6403, allocations: 0 / 423 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.6406, allocations: 398.7 kB / 423.4 MB, free: 108 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2992/0.9398, allocations: 388.9 kB / 423.7 MB, free: 99.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.9414, allocations: 0.6081 MB / 424.3 MB, free: 99.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.9426, allocations: 420.5 kB / 424.8 MB, free: 99.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.9426, allocations: 2.281 kB / 424.8 MB, free: 99.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002949/0.9456, allocations: 1.115 MB / 425.9 MB, free: 99.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.9463, allocations: 2.531 MB / 428.4 MB, free: 96.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.891e-05/0.9464, allocations: 6.75 kB / 428.4 MB, free: 96.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.9473, allocations: 215.1 kB / 428.6 MB, free: 96.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.9486, allocations: 150.2 kB / 428.8 MB, free: 96.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.9532, allocations: 2.704 MB / 431.5 MB, free: 95.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9547, allocations: 138.8 kB / 431.6 MB, free: 95.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9548, allocations: 35.19 kB / 431.6 MB, free: 95.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9548, allocations: 2.875 kB / 431.6 MB, free: 95.28 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/0.9573, allocations: 0.9906 MB / 432.6 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.9574, allocations: 10.81 kB / 432.6 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/0.9582, allocations: 213.9 kB / 432.9 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.9593, allocations: 145.7 kB / 433 MB, free: 95.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004492/0.9638, allocations: 2.706 MB / 435.7 MB, free: 93.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.9653, allocations: 116 kB / 435.8 MB, free: 93.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9654, allocations: 37.38 kB / 435.9 MB, free: 93.98 MB / 362.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 (107): * Single equations (assignments): 106 * 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.0004505/0.9659, allocations: 172.4 kB / 436 MB, free: 93.87 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00268/0.9686, allocations: 0.9426 MB / 437 MB, free: 93.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.969, allocations: 86.94 kB / 437.1 MB, free: 93.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.9694, allocations: 100.4 kB / 437.1 MB, free: 93.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.9694, allocations: 7.625 kB / 437.2 MB, free: 93.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9695, allocations: 2.531 kB / 437.2 MB, free: 93.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.9695, allocations: 9.969 kB / 437.2 MB, free: 93.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/0.9758, allocations: 2.303 MB / 439.5 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9759, allocations: 0 / 439.5 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.9766, allocations: 82.67 kB / 439.6 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.9772, allocations: 192.2 kB / 439.7 MB, free: 92.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.9773, allocations: 7.375 kB / 439.7 MB, free: 92.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/0.9811, allocations: 2.635 MB / 442.4 MB, free: 91.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9812, allocations: 6.5 kB / 442.4 MB, free: 91.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.9842, allocations: 1.577 MB / 444 MB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.9849, allocations: 263 kB / 444.2 MB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.9851, allocations: 14.17 kB / 444.2 MB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.9861, allocations: 74.94 kB / 444.3 MB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/0.9866, allocations: 147.3 kB / 444.5 MB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.9867, allocations: 21.48 kB / 444.5 MB, free: 90.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000863/0.9875, allocations: 0.5014 MB / 445 MB, free: 89.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9875, allocations: 0 / 445 MB, free: 89.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002279/0.9898, allocations: 0.5401 MB / 445.5 MB, free: 89.85 MB / 362.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[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.003352/0.9932, allocations: 2.319 MB / 447.8 MB, free: 88.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.9968, allocations: 1.793 MB / 449.6 MB, free: 87.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.9969, allocations: 0 / 449.6 MB, free: 87.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.9982, allocations: 0.6676 MB / 450.3 MB, free: 87.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.9997, allocations: 165.2 kB / 450.5 MB, free: 87.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/1.006, allocations: 2.248 MB / 452.7 MB, free: 86.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.007, allocations: 1.411 MB / 454.1 MB, free: 85.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00189/1.009, allocations: 406.2 kB / 454.5 MB, free: 85.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/1.01, allocations: 438.5 kB / 454.9 MB, free: 85.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.064e-06/1.01, allocations: 0 / 454.9 MB, free: 85.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/1.094, allocations: 24.11 MB / 479.1 MB, free: 67.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.094, allocations: 202.5 kB / 479.2 MB, free: 67.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.656/4.75, allocations: 0 / 479.2 MB, free: 67.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat