Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.47e-05, allocations: 4 kB / 269.5 MB, free: 6.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 47.57 MB / 317 MB, free: 6.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5598, allocations: 91.02 MB / 408.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5602, allocations: 87.56 kB / 408.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1225/0.6828, allocations: 29.02 MB / 437.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6828, allocations: 0 / 437.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001269/0.683, allocations: 35.94 kB / 437.2 MB, free: 4.105 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005066/0.688, allocations: 1.558 MB / 438.8 MB, free: 2.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.6881, allocations: 16.02 kB / 438.8 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005648/0.6887, allocations: 200.7 kB / 439 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.6893, allocations: 166.1 kB / 439.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006633/0.6959, allocations: 1.635 MB / 440.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.6961, allocations: 101.6 kB / 440.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.6965, allocations: 135.8 kB / 441 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.701, allocations: 1.679 MB / 442.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.7011, allocations: 11.41 kB / 442.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.7013, allocations: 51.81 kB / 442.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.7014, allocations: 58.58 kB / 442.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.7057, allocations: 1.325 MB / 444.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.7196, allocations: 5.021 MB / 449.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.7229, allocations: 1.046 MB / 450.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.7245, allocations: 0.5693 MB / 450.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.7246, allocations: 8.781 kB / 450.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.7261, allocations: 0.6058 MB / 451.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 4.047e-06/0.7262, allocations: 3.938 kB / 451.4 MB, free: 8.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.002977/0.7291, allocations: 1.011 MB / 452.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7293, allocations: 165.2 kB / 452.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.7311, allocations: 0.7576 MB / 453.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.7313, allocations: 61.69 kB / 453.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.7321, allocations: 0.589 MB / 454 MB, free: 5.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.7325, allocations: 244.6 kB / 454.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.7326, allocations: 20 kB / 454.2 MB, free: 5.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.7329, allocations: 345.9 kB / 454.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.7339, allocations: 401.8 kB / 454.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.7354, allocations: 0.6436 MB / 455.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7366, allocations: 442 kB / 456 MB, free: 3.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.7367, allocations: 8 kB / 456 MB, free: 3.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003241/0.7399, allocations: 1.203 MB / 457.2 MB, free: 2.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001146/0.7411, allocations: 2.524 MB / 459.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.7411, allocations: 8 kB / 459.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009335/0.7421, allocations: 224.6 kB / 460 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.7434, allocations: 159.7 kB / 460.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.7485, allocations: 2.768 MB / 462.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.7501, allocations: 155.2 kB / 463.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.7503, allocations: 40 kB / 463.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.7503, allocations: 4 kB / 463.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002864/0.7532, allocations: 1.101 MB / 464.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.7532, allocations: 11.98 kB / 464.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.754, allocations: 208.7 kB / 464.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7552, allocations: 167.9 kB / 464.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.7602, allocations: 2.761 MB / 467.3 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.7618, allocations: 135.4 kB / 467.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.7619, allocations: 36 kB / 467.5 MB, free: 7.75 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 (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.0004133/0.7623, allocations: 207.5 kB / 467.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.7626, allocations: 98.81 kB / 467.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.7629, allocations: 109.3 kB / 467.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.763, allocations: 8 kB / 467.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.763, allocations: 4 kB / 467.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.763, allocations: 3.984 kB / 467.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006571/0.7696, allocations: 2.596 MB / 470.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.7697, allocations: 4.125 kB / 470.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/0.7706, allocations: 95.88 kB / 470.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.7713, allocations: 200.6 kB / 470.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.7715, allocations: 24.05 kB / 470.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004866/0.7763, allocations: 2.724 MB / 473.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7764, allocations: 0 / 473.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.7804, allocations: 1.688 MB / 475.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/0.7813, allocations: 271.6 kB / 475.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.7815, allocations: 20 kB / 475.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.7826, allocations: 103.9 kB / 475.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/0.7831, allocations: 140.6 kB / 475.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.7832, allocations: 27.98 kB / 475.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.7846, allocations: 0.5811 MB / 476.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.825e-06/0.7846, allocations: 0 / 476.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002523/0.7871, allocations: 0.5916 MB / 477 MB, free: 14 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[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.004696/0.7919, allocations: 2.434 MB / 479.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004713/0.7966, allocations: 1.87 MB / 481.3 MB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7967, allocations: 0.5 kB / 481.3 MB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.7985, allocations: 0.6996 MB / 482 MB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.8003, allocations: 199.9 kB / 482.2 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/0.808, allocations: 2.373 MB / 484.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.8097, allocations: 1.41 MB / 486 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00216/0.8119, allocations: 435 kB / 486.4 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009769/0.8129, allocations: 447.3 kB / 486.8 MB, free: 3.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.8129, allocations: 0 / 486.8 MB, free: 3.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09312/0.906, allocations: 26.91 MB / 0.5017 GB, free: 9.137 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003882/0.9065, allocations: 259.7 kB / 0.5019 GB, free: 8.797 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/4.337, allocations: 0 / 0.5019 GB, free: 8.797 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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat