Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.468e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.5942, allocations: 82.57 MB / 382.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5946, allocations: 86.55 kB / 382.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05322/0.6479, allocations: 13.65 MB / 396.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6479, allocations: 0 / 396.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.334e-05/0.648, allocations: 19.56 kB / 396.3 MB, free: 10.91 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002404/0.6504, allocations: 0.8983 MB / 397.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/0.6505, allocations: 11.69 kB / 397.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.6508, allocations: 107.6 kB / 397.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.6511, allocations: 93.91 kB / 397.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.6523, allocations: 0.4986 MB / 397.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.6524, allocations: 56.05 kB / 398 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.6525, allocations: 73.78 kB / 398 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6542, allocations: 0.7048 MB / 398.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.6543, allocations: 7.812 kB / 398.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.6544, allocations: 27.17 kB / 398.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6544, allocations: 19.64 kB / 398.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.6558, allocations: 0.5031 MB / 399.3 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.6624, allocations: 2.694 MB / 402 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.6641, allocations: 0.5754 MB / 402.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.6653, allocations: 419.5 kB / 403 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.6654, allocations: 8.375 kB / 403 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.6662, allocations: 356.5 kB / 403.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.397e-06/0.6662, allocations: 0 / 403.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001813/0.668, allocations: 0.5405 MB / 403.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.6682, allocations: 114.2 kB / 404 MB, free: 7.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.6692, allocations: 428 kB / 404.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.6694, allocations: 47.08 kB / 404.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.6698, allocations: 324.9 kB / 404.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.6701, allocations: 176.6 kB / 404.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.6702, allocations: 9.375 kB / 405 MB, free: 7.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6704, allocations: 369.8 kB / 405.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.6711, allocations: 197.8 kB / 405.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.6719, allocations: 347.6 kB / 405.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.6726, allocations: 205.5 kB / 406 MB, free: 6.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.6727, allocations: 0 / 406 MB, free: 6.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002317/0.675, allocations: 0.699 MB / 406.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.6754, allocations: 1.574 MB / 408.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6755, allocations: 3.875 kB / 408.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009455/0.6764, allocations: 159.9 kB / 408.5 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.6773, allocations: 97.2 kB / 408.6 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.6842, allocations: 3.596 MB / 412.2 MB, free: 17.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.6856, allocations: 93.17 kB / 412.3 MB, free: 17.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.6857, allocations: 26.75 kB / 412.3 MB, free: 17.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6857, allocations: 3.938 kB / 412.3 MB, free: 17.72 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002281/0.688, allocations: 0.6186 MB / 412.9 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6881, allocations: 3.812 kB / 412.9 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008965/0.689, allocations: 169.2 kB / 413.1 MB, free: 17.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/0.7067, allocations: 89.55 kB / 413.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.7131, allocations: 3.598 MB / 416.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7142, allocations: 69.45 kB / 416.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.7143, allocations: 30.55 kB / 416.9 MB, free: 14.65 MB / 330.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 (66): * Single equations (assignments): 64 * 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.008607/0.723, allocations: 154.6 kB / 417 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.7233, allocations: 66.41 kB / 417.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.7236, allocations: 75.02 kB / 417.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7236, allocations: 3.875 kB / 417.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7236, allocations: 3.844 kB / 417.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7236, allocations: 3.984 kB / 417.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.7278, allocations: 1.405 MB / 418.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.7279, allocations: 4.062 kB / 418.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.7285, allocations: 53.75 kB / 418.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009035/0.7295, allocations: 154.5 kB / 418.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.7296, allocations: 15.36 kB / 418.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00755/0.7371, allocations: 3.512 MB / 422.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7372, allocations: 0 / 422.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.7403, allocations: 0.9479 MB / 423.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.7408, allocations: 192.7 kB / 423.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.741, allocations: 11.56 kB / 423.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.7419, allocations: 37.72 kB / 423.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/0.7422, allocations: 84.53 kB / 423.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.7423, allocations: 19.38 kB / 423.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007615/0.7431, allocations: 330.8 kB / 423.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7431, allocations: 0 / 423.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002308/0.7454, allocations: 350 kB / 424.3 MB, free: 10.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (42): * Single equations (assignments): 35 * 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.00371/0.7492, allocations: 1.604 MB / 425.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.7525, allocations: 1.394 MB / 427.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7525, allocations: 3.75 kB / 427.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7536, allocations: 0.5374 MB / 427.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.755, allocations: 92.5 kB / 427.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.7612, allocations: 1.127 MB / 429 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.7625, allocations: 0.9537 MB / 430 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.7637, allocations: 111.3 kB / 430.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/0.7641, allocations: 228.5 kB / 430.3 MB, free: 7.137 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7641, allocations: 0 / 430.3 MB, free: 7.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08933/0.8535, allocations: 16.24 MB / 446.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.8539, allocations: 237.7 kB / 446.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/4.284, allocations: 0 / 446.8 MB, free: 13.27 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat