Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.206/2.206, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.783e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3383, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4952, allocations: 84.4 MB / 378.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.4956, allocations: 91.94 kB / 378.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1227/0.6183, allocations: 27.89 MB / 406.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6183, allocations: 0 / 406.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001571/0.6185, allocations: 31.94 kB / 406.7 MB, free: 1.242 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005525/0.624, allocations: 1.52 MB / 408.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.6241, allocations: 8.031 kB / 408.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.6249, allocations: 166 kB / 408.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/0.6316, allocations: 1.631 MB / 410 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.6317, allocations: 44 kB / 410 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.6321, allocations: 83.92 kB / 410.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003961/0.6361, allocations: 1.262 MB / 411.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/0.6404, allocations: 1.48 MB / 412.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/0.6405, allocations: 4 kB / 412.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.6407, allocations: 4 kB / 412.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.6408, allocations: 58.44 kB / 412.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.6543, allocations: 4.68 MB / 417.6 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.6573, allocations: 1.028 MB / 418.6 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.6588, allocations: 0.5354 MB / 419.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.6589, allocations: 8.781 kB / 419.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.6602, allocations: 0.5512 MB / 419.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 3.787e-06/0.6602, allocations: 4 kB / 419.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.00283/0.663, allocations: 0.937 MB / 420.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.6632, allocations: 149.3 kB / 420.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.6648, allocations: 0.6713 MB / 421.5 MB, free: 2.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.6651, allocations: 41.69 kB / 421.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/0.6659, allocations: 0.5888 MB / 422.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.6663, allocations: 224.9 kB / 422.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.6664, allocations: 0 / 422.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.6666, allocations: 402.7 kB / 422.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/0.6676, allocations: 386.4 kB / 423.1 MB, free: 384 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2964/0.964, allocations: 0.6046 MB / 423.7 MB, free: 99.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.9654, allocations: 415.1 kB / 424.1 MB, free: 99.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-05/0.9654, allocations: 2.25 kB / 424.1 MB, free: 99.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003184/0.9686, allocations: 1.112 MB / 425.2 MB, free: 99.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005853/0.9693, allocations: 2.533 MB / 427.7 MB, free: 96.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.9693, allocations: 6.344 kB / 427.8 MB, free: 96.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.9702, allocations: 211 kB / 428 MB, free: 96.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.9714, allocations: 150.5 kB / 428.1 MB, free: 96.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.9759, allocations: 2.708 MB / 430.8 MB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.9773, allocations: 134.2 kB / 430.9 MB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.9775, allocations: 38.28 kB / 431 MB, free: 95.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9776, allocations: 4.875 kB / 431 MB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002425/0.98, allocations: 0.9903 MB / 432 MB, free: 95.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.9801, allocations: 6.438 kB / 432 MB, free: 95.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000745/0.9808, allocations: 213 kB / 432.2 MB, free: 95.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.9819, allocations: 147.3 kB / 432.3 MB, free: 95.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.9861, allocations: 2.709 MB / 435 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9875, allocations: 119 kB / 435.2 MB, free: 94.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9876, allocations: 39.22 kB / 435.2 MB, free: 94.08 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 (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.0003967/0.988, allocations: 170.9 kB / 435.4 MB, free: 93.96 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002419/0.9904, allocations: 0.9293 MB / 436.3 MB, free: 93.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.9908, allocations: 89.11 kB / 436.4 MB, free: 93.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.9911, allocations: 98.91 kB / 436.5 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.9912, allocations: 8.562 kB / 436.5 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9912, allocations: 0 / 436.5 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.9912, allocations: 5.094 kB / 436.5 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.9966, allocations: 2.297 MB / 438.8 MB, free: 93.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.9967, allocations: 0 / 438.8 MB, free: 93.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.9974, allocations: 76.41 kB / 438.9 MB, free: 93.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/0.998, allocations: 190.3 kB / 439.1 MB, free: 93.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.9981, allocations: 7.688 kB / 439.1 MB, free: 93.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/1.002, allocations: 2.646 MB / 441.7 MB, free: 91.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.002, allocations: 0 / 441.7 MB, free: 91.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/1.005, allocations: 1.563 MB / 443.3 MB, free: 90.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/1.006, allocations: 260.1 kB / 443.5 MB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/1.006, allocations: 17.22 kB / 443.5 MB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/1.007, allocations: 78.02 kB / 443.6 MB, free: 90.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/1.008, allocations: 141.9 kB / 443.8 MB, free: 90.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/1.008, allocations: 21.94 kB / 443.8 MB, free: 90.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009871/1.009, allocations: 0.5027 MB / 444.3 MB, free: 90.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.009, allocations: 0 / 444.3 MB, free: 90.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003698/1.013, allocations: 0.5334 MB / 444.8 MB, free: 90.16 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[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.003517/1.016, allocations: 2.305 MB / 447.1 MB, free: 88.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003897/1.02, allocations: 1.779 MB / 448.9 MB, free: 87.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.02, allocations: 3.812 kB / 448.9 MB, free: 87.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.022, allocations: 0.6706 MB / 449.6 MB, free: 87.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.023, allocations: 171.4 kB / 449.7 MB, free: 87.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/1.03, allocations: 2.24 MB / 452 MB, free: 86.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.031, allocations: 1.403 MB / 453.4 MB, free: 85.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001982/1.033, allocations: 399.9 kB / 453.8 MB, free: 85.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009628/1.034, allocations: 430.5 kB / 454.2 MB, free: 85.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/1.034, allocations: 0 / 454.2 MB, free: 85.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/1.122, allocations: 23.95 MB / 478.1 MB, free: 68.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/1.123, allocations: 201.2 kB / 478.3 MB, free: 68.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.61/4.733, allocations: 0 / 478.3 MB, free: 68.24 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_RL_res.mat does not exist to compare? outputFormat=mat