Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.964e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5255, allocations: 85.52 MB / 385.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.5259, allocations: 90.64 kB / 385.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1065/0.6325, allocations: 28.58 MB / 414.2 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6325, allocations: 0 / 414.2 MB, free: 4.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001206/0.6327, allocations: 34.94 kB / 414.2 MB, free: 4.863 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00502/0.6377, allocations: 1.565 MB / 415.8 MB, free: 3.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6378, allocations: 7.719 kB / 415.8 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005867/0.6384, allocations: 201.1 kB / 416 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.6388, allocations: 168 kB / 416.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0059/0.6448, allocations: 1.63 MB / 417.8 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6449, allocations: 108.9 kB / 417.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003355/0.6453, allocations: 128 kB / 418 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.6499, allocations: 1.674 MB / 419.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.65, allocations: 0 / 419.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.6502, allocations: 62.95 kB / 419.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-05/0.6503, allocations: 55.64 kB / 419.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.6539, allocations: 1.324 MB / 421.1 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.6665, allocations: 5.007 MB / 426.1 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.6694, allocations: 1.034 MB / 427.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.6709, allocations: 0.5837 MB / 427.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.671, allocations: 12.11 kB / 427.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/0.6724, allocations: 0.6123 MB / 428.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 4.339e-06/0.6725, allocations: 0 / 428.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.002831/0.6753, allocations: 1.012 MB / 429.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.6755, allocations: 154.4 kB / 429.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.6773, allocations: 0.7531 MB / 430.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003284/0.6777, allocations: 67.09 kB / 430.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.6784, allocations: 0.5858 MB / 430.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.6789, allocations: 245.4 kB / 431.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.679, allocations: 18 kB / 431.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6792, allocations: 346 kB / 431.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009757/0.6801, allocations: 405.6 kB / 431.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.6814, allocations: 0.6326 MB / 432.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6825, allocations: 440.6 kB / 433 MB, free: 13.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.6825, allocations: 0 / 433 MB, free: 13.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003074/0.6856, allocations: 1.208 MB / 434.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.6867, allocations: 2.523 MB / 436.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.6868, allocations: 15.58 kB / 436.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/0.6877, allocations: 223.4 kB / 437 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.689, allocations: 162 kB / 437.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.6942, allocations: 2.76 MB / 439.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.6958, allocations: 151.2 kB / 440 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.696, allocations: 43.92 kB / 440.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.696, allocations: 5.094 kB / 440.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002943/0.699, allocations: 1.093 MB / 441.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.699, allocations: 12.09 kB / 441.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/0.6999, allocations: 220.8 kB / 441.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7011, allocations: 163.7 kB / 441.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005106/0.7063, allocations: 2.769 MB / 444.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.7078, allocations: 131.4 kB / 444.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.708, allocations: 36 kB / 444.5 MB, free: 2.66 MB / 330.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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004214/0.7084, allocations: 208.9 kB / 444.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.7087, allocations: 95.05 kB / 444.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.7091, allocations: 117.2 kB / 444.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7091, allocations: 11.94 kB / 444.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7091, allocations: 0 / 444.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.7091, allocations: 7.984 kB / 444.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.7164, allocations: 2.575 MB / 447.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.7164, allocations: 0 / 447.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/0.7173, allocations: 99.94 kB / 447.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.7181, allocations: 200.8 kB / 447.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.7183, allocations: 23.94 kB / 447.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/0.7232, allocations: 2.724 MB / 450.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7232, allocations: 4 kB / 450.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.7273, allocations: 1.688 MB / 452.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.7282, allocations: 267.8 kB / 452.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.7284, allocations: 20 kB / 452.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7295, allocations: 99.89 kB / 452.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/0.73, allocations: 144.6 kB / 452.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.7301, allocations: 27.94 kB / 452.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.7315, allocations: 0.5772 MB / 453.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7315, allocations: 4 kB / 453.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002707/0.7343, allocations: 0.5878 MB / 453.9 MB, free: 8.945 MB / 346.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 (73): * Single equations (assignments): 63 * 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.004738/0.739, allocations: 2.436 MB / 456.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004855/0.744, allocations: 1.868 MB / 458.2 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.744, allocations: 0 / 458.2 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.7458, allocations: 0.7051 MB / 459 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.7475, allocations: 187.7 kB / 459.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/0.755, allocations: 2.374 MB / 461.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.7567, allocations: 1.406 MB / 462.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002099/0.7589, allocations: 431 kB / 463.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7599, allocations: 443.3 kB / 463.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7599, allocations: 0 / 463.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/0.8471, allocations: 26.8 MB / 490.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.8474, allocations: 251.6 kB / 490.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.67/4.517, allocations: 0 / 490.8 MB, free: 3.863 MB / 378.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_Characteristic_res.mat does not exist to compare? outputFormat=mat