Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.866e-05, allocations: 4 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 50.4 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6399, allocations: 86.18 MB / 429.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.6403, allocations: 86.48 kB / 429.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04333/0.6836, allocations: 10.46 MB / 439.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6836, allocations: 4 kB / 439.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.6837, allocations: 8 kB / 439.9 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001872/0.6856, allocations: 0.7196 MB / 440.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6856, allocations: 12.03 kB / 440.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.6858, allocations: 78.64 kB / 440.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.686, allocations: 55.34 kB / 440.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.6868, allocations: 390.9 kB / 441.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.6869, allocations: 36.38 kB / 441.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.687, allocations: 47.62 kB / 441.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6882, allocations: 478.3 kB / 441.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6882, allocations: 0 / 441.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.6883, allocations: 17.88 kB / 441.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6883, allocations: 12 kB / 441.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.6892, allocations: 317.9 kB / 442 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.6932, allocations: 1.67 MB / 443.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.6946, allocations: 387.2 kB / 444.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.6949, allocations: 117.1 kB / 444.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.695, allocations: 7.984 kB / 444.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/0.6956, allocations: 251.1 kB / 444.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 4.849e-06/0.6956, allocations: 0 / 444.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001006/0.6966, allocations: 340.1 kB / 444.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.6967, allocations: 143.9 kB / 444.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.6972, allocations: 280.1 kB / 445.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.6973, allocations: 43.19 kB / 445.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.6975, allocations: 249.2 kB / 445.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6977, allocations: 96.61 kB / 445.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.6977, allocations: 15 kB / 445.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6978, allocations: 345.5 kB / 445.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.6982, allocations: 119.7 kB / 446 MB, free: 9.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.6986, allocations: 260.8 kB / 446.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.699, allocations: 141.4 kB / 446.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.699, allocations: 0 / 446.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001031/0.7001, allocations: 428.5 kB / 446.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006411/0.7007, allocations: 1.661 MB / 448.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7008, allocations: 4 kB / 448.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.7011, allocations: 50.64 kB / 448.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.7016, allocations: 83.33 kB / 448.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.7034, allocations: 1.497 MB / 450.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.704, allocations: 69.66 kB / 450.2 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.7041, allocations: 25.39 kB / 450.2 MB, free: 5.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.7041, allocations: 4 kB / 450.2 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008995/0.705, allocations: 370.7 kB / 450.6 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.705, allocations: 4 kB / 450.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.7052, allocations: 42.34 kB / 450.7 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.7057, allocations: 79.23 kB / 450.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.7073, allocations: 1.483 MB / 452.2 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.7078, allocations: 70.66 kB / 452.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.7079, allocations: 15.69 kB / 452.3 MB, free: 3.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.7081, allocations: 149.1 kB / 452.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.7082, allocations: 35.53 kB / 452.5 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.7083, allocations: 45.83 kB / 452.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7084, allocations: 4 kB / 452.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7084, allocations: 0 / 452.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.7084, allocations: 3.984 kB / 452.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.7102, allocations: 0.9014 MB / 453.4 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7103, allocations: 7.938 kB / 453.4 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.7107, allocations: 47.95 kB / 453.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.7109, allocations: 34.22 kB / 453.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.711, allocations: 14.5 kB / 453.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.7125, allocations: 1.409 MB / 454.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7125, allocations: 0 / 454.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.7138, allocations: 0.5767 MB / 455.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.7141, allocations: 152.5 kB / 455.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.7142, allocations: 3.625 kB / 455.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.7147, allocations: 47.33 kB / 455.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.7149, allocations: 38.58 kB / 455.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.715, allocations: 11.38 kB / 455.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.7153, allocations: 229.7 kB / 456 MB, free: 420 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7154, allocations: 3.938 kB / 456 MB, free: 416 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001105/0.7165, allocations: 201.9 kB / 456.2 MB, free: 232 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/0.7182, allocations: 1.139 MB / 457.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.7198, allocations: 0.7044 MB / 458 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7198, allocations: 384 / 458 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.7203, allocations: 266.8 kB / 458.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.7209, allocations: 60.28 kB / 458.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.7234, allocations: 0.7381 MB / 459.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.724, allocations: 0.8608 MB / 460 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005719/0.7246, allocations: 95.55 kB / 460.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.7249, allocations: 135.4 kB / 460.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7249, allocations: 0 / 460.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/0.7769, allocations: 9.115 MB / 469.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/0.7773, allocations: 238.2 kB / 469.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.693, allocations: 0 / 469.5 MB, free: 3.387 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat