Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 195 MB / 202.8 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.526e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.5736, allocations: 81.68 MB / 375.9 MB, free: 144 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000488/0.5741, allocations: 79.95 kB / 376 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0745/0.6486, allocations: 13.25 MB / 389.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6487, allocations: 0 / 389.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.241e-05/0.6488, allocations: 19.98 kB / 389.3 MB, free: 2.719 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00284/0.6517, allocations: 0.8826 MB / 390.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.6517, allocations: 8.031 kB / 390.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.6522, allocations: 90.92 kB / 390.2 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.6537, allocations: 0.4884 MB / 390.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.6538, allocations: 24 kB / 390.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.654, allocations: 47.89 kB / 390.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001491/0.6555, allocations: 454.5 kB / 391.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.6572, allocations: 0.5941 MB / 391.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.6573, allocations: 0 / 391.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.6574, allocations: 4 kB / 391.8 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.6575, allocations: 15.95 kB / 391.9 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006914/0.6644, allocations: 2.518 MB / 394.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.6661, allocations: 0.5557 MB / 394.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.6672, allocations: 338.5 kB / 395.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.6673, allocations: 4.438 kB / 395.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/0.6682, allocations: 333.3 kB / 395.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.817e-06/0.6682, allocations: 0 / 395.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001523/0.6698, allocations: 0.4962 MB / 396.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.6699, allocations: 115.4 kB / 396.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.6707, allocations: 365.1 kB / 396.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.6708, allocations: 33.7 kB / 396.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.6712, allocations: 320.1 kB / 396.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.6715, allocations: 165.6 kB / 397.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.6715, allocations: 0 / 397.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.6718, allocations: 370.7 kB / 397.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.6723, allocations: 173.5 kB / 397.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.6729, allocations: 324 kB / 397.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.6735, allocations: 202.5 kB / 398.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6735, allocations: 0 / 398.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001859/0.6754, allocations: 0.6173 MB / 398.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007768/0.6762, allocations: 1.578 MB / 400.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.6762, allocations: 4 kB / 400.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008526/0.6771, allocations: 157.6 kB / 400.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.6779, allocations: 95.86 kB / 400.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.6833, allocations: 3.5 MB / 404.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.6842, allocations: 71.61 kB / 404.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.6843, allocations: 28.19 kB / 404.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6843, allocations: 4 kB / 404.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001533/0.6859, allocations: 0.5304 MB / 404.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6859, allocations: 4 kB / 404.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/0.6866, allocations: 161.6 kB / 404.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.6873, allocations: 83.84 kB / 404.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.6926, allocations: 3.508 MB / 408.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.6935, allocations: 55.62 kB / 408.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.6936, allocations: 28 kB / 408.5 MB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.6939, allocations: 146 kB / 408.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001371/0.6952, allocations: 0.4962 MB / 409.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.6954, allocations: 47.44 kB / 409.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.6956, allocations: 57.59 kB / 409.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6956, allocations: 8 kB / 409.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6957, allocations: 4 kB / 409.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6957, allocations: 3.984 kB / 409.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.6989, allocations: 1.246 MB / 410.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.699, allocations: 0 / 410.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.6995, allocations: 59.91 kB / 410.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.7002, allocations: 149.6 kB / 410.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.7002, allocations: 0 / 410.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.7052, allocations: 3.406 MB / 414.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.7053, allocations: 4.047 kB / 414.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7076, allocations: 0.871 MB / 415 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.708, allocations: 184.3 kB / 415.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7082, allocations: 4 kB / 415.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.7088, allocations: 40.03 kB / 415.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.7091, allocations: 72.44 kB / 415.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.7092, allocations: 16 kB / 415.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005121/0.7097, allocations: 271 kB / 415.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7097, allocations: 0 / 415.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001898/0.7117, allocations: 311 kB / 415.9 MB, free: 6.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002769/0.7145, allocations: 1.441 MB / 417.3 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.7176, allocations: 1.298 MB / 418.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7176, allocations: 0 / 418.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.7188, allocations: 0.5022 MB / 419.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.7198, allocations: 86.47 kB / 419.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.7254, allocations: 1.033 MB / 420.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008855/0.7264, allocations: 0.9512 MB / 421.2 MB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007871/0.7272, allocations: 104.6 kB / 421.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.7277, allocations: 219.3 kB / 421.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7277, allocations: 0 / 421.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3827/1.11, allocations: 14.31 MB / 435.8 MB, free: 103.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/1.111, allocations: 199.1 kB / 436 MB, free: 103.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/4.396, allocations: 4 kB / 436 MB, free: 103.1 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat