Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.3e-05, allocations: 0 / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 44.51 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5591, allocations: 82.03 MB / 382 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.5595, allocations: 83 kB / 382.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05281/0.6123, allocations: 13.04 MB / 395.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6124, allocations: 4 kB / 395.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.761e-05/0.6124, allocations: 19.56 kB / 395.2 MB, free: 11.05 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002129/0.6146, allocations: 0.8561 MB / 396 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6146, allocations: 7.906 kB / 396 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.6149, allocations: 106.2 kB / 396.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.6151, allocations: 93.23 kB / 396.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6161, allocations: 497.9 kB / 396.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.6162, allocations: 51.25 kB / 396.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.6164, allocations: 65.11 kB / 396.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.6179, allocations: 0.6534 MB / 397.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6179, allocations: 3.906 kB / 397.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.618, allocations: 23.16 kB / 397.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.6181, allocations: 19.39 kB / 397.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6193, allocations: 476.4 kB / 398 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005345/0.6247, allocations: 2.6 MB / 400.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.6263, allocations: 0.5566 MB / 401.2 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.6271, allocations: 307.1 kB / 401.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.6272, allocations: 11.38 kB / 401.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.628, allocations: 335.2 kB / 401.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.296e-06/0.628, allocations: 0 / 401.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001364/0.6294, allocations: 0.506 MB / 402.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.6295, allocations: 114.6 kB / 402.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.6302, allocations: 426.9 kB / 402.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.6303, allocations: 42.67 kB / 402.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.6305, allocations: 307.4 kB / 403.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.6307, allocations: 170.8 kB / 403.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.6308, allocations: 11.44 kB / 403.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6309, allocations: 367 kB / 403.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.6314, allocations: 177.5 kB / 403.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.6319, allocations: 331.1 kB / 404.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.6324, allocations: 198.4 kB / 404.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6324, allocations: 3.625 kB / 404.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001429/0.6339, allocations: 0.6331 MB / 405 MB, free: 6.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/0.6342, allocations: 1.568 MB / 406.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6342, allocations: 7.781 kB / 406.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.6349, allocations: 157.8 kB / 406.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.6355, allocations: 81.67 kB / 406.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.6393, allocations: 2.344 MB / 409.2 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.6403, allocations: 97.34 kB / 409.3 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.6404, allocations: 24.28 kB / 409.3 MB, free: 19.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6404, allocations: 3.781 kB / 409.3 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.6417, allocations: 0.5596 MB / 409.9 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6417, allocations: 3.75 kB / 409.9 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6423, allocations: 141 kB / 410 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.6428, allocations: 85.61 kB / 410.1 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6464, allocations: 2.348 MB / 412.4 MB, free: 17.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.6472, allocations: 72.16 kB / 412.5 MB, free: 17.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.6472, allocations: 26.31 kB / 412.5 MB, free: 17.95 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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.6475, allocations: 149.5 kB / 412.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6476, allocations: 61.7 kB / 412.8 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.6478, allocations: 62.72 kB / 412.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6479, allocations: 7.844 kB / 412.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6479, allocations: 3.938 kB / 412.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6479, allocations: 3.984 kB / 412.8 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.6506, allocations: 1.341 MB / 414.2 MB, free: 17.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6506, allocations: 0 / 414.2 MB, free: 17.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.651, allocations: 50.05 kB / 414.2 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.6516, allocations: 153.2 kB / 414.4 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.6516, allocations: 9.969 kB / 414.4 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.6551, allocations: 2.241 MB / 416.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6552, allocations: 4 kB / 416.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.6571, allocations: 0.8853 MB / 417.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.6574, allocations: 185.6 kB / 417.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6575, allocations: 16.19 kB / 417.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.6581, allocations: 50.33 kB / 417.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.6583, allocations: 69.61 kB / 417.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.6584, allocations: 19.27 kB / 417.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005168/0.6589, allocations: 320 kB / 418.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6589, allocations: 0 / 418.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001365/0.6603, allocations: 331.5 kB / 418.5 MB, free: 15.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002296/0.6626, allocations: 1.537 MB / 420 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.665, allocations: 1.118 MB / 421.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.6651, allocations: 3.125 kB / 421.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.6659, allocations: 424.8 kB / 421.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.6667, allocations: 92.8 kB / 421.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.6696, allocations: 1.018 MB / 422.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.6702, allocations: 0.9379 MB / 423.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006068/0.6708, allocations: 110.8 kB / 423.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.6712, allocations: 218.7 kB / 423.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6712, allocations: 0 / 423.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/0.7223, allocations: 15.64 MB / 439.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.7226, allocations: 230.2 kB / 439.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/3.893, allocations: 7.953 kB / 439.8 MB, free: 4.141 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat