Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.266/2.266, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.467e-05, allocations: 0 / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.606, allocations: 87.63 MB / 404.7 MB, free: 104 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.6064, allocations: 84.27 kB / 404.7 MB, free: 56 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04516/0.6515, allocations: 10.86 MB / 415.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6516, allocations: 4 kB / 415.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.004e-05/0.6517, allocations: 19.19 kB / 415.6 MB, free: 6.855 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00228/0.654, allocations: 0.8639 MB / 416.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.654, allocations: 11.97 kB / 416.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.6542, allocations: 111.9 kB / 416.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.6545, allocations: 83.06 kB / 416.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6556, allocations: 0.4895 MB / 417.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.6557, allocations: 48.5 kB / 417.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.6559, allocations: 63.31 kB / 417.3 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6575, allocations: 0.6485 MB / 417.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.6576, allocations: 3.938 kB / 417.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.6577, allocations: 23.5 kB / 418 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.6577, allocations: 16 kB / 418 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.659, allocations: 475 kB / 418.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/0.6648, allocations: 2.587 MB / 421 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.6666, allocations: 0.5536 MB / 421.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/0.6676, allocations: 313.5 kB / 421.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.6676, allocations: 8.391 kB / 421.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/0.6684, allocations: 327.4 kB / 422.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=55): time 3.867e-06/0.6684, allocations: 8 kB / 422.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.001439/0.6699, allocations: 0.5057 MB / 422.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.67, allocations: 114.6 kB / 422.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.6709, allocations: 429.1 kB / 423.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.514e-05/0.671, allocations: 39.95 kB / 423.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.6713, allocations: 317 kB / 423.6 MB, free: 440 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.6715, allocations: 161.1 kB / 423.8 MB, free: 300 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.6716, allocations: 10.88 kB / 423.8 MB, free: 300 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6718, allocations: 372.1 kB / 424.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.6723, allocations: 173.3 kB / 424.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.6729, allocations: 326.1 kB / 424.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.6735, allocations: 186.6 kB / 424.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6735, allocations: 4 kB / 424.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001687/0.6752, allocations: 0.6278 MB / 425.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000666/0.6759, allocations: 1.571 MB / 427 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.6759, allocations: 4 kB / 427 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.6767, allocations: 143.2 kB / 427.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.6782, allocations: 91.14 kB / 427.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.6827, allocations: 2.316 MB / 429.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.6836, allocations: 93.56 kB / 429.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.6837, allocations: 23.38 kB / 429.7 MB, free: 11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6837, allocations: 4 kB / 429.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/0.6852, allocations: 0.5448 MB / 430.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6852, allocations: 7.938 kB / 430.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.6859, allocations: 143.5 kB / 430.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.6865, allocations: 87.14 kB / 430.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.6905, allocations: 2.312 MB / 432.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.6913, allocations: 74.12 kB / 432.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.6914, allocations: 27.44 kB / 432.9 MB, free: 8.348 MB / 346.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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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.0002683/0.6917, allocations: 158.3 kB / 433 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.6918, allocations: 55.34 kB / 433.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.692, allocations: 70.11 kB / 433.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.692, allocations: 4 kB / 433.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6921, allocations: 7.953 kB / 433.2 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6921, allocations: 3.984 kB / 433.2 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.6951, allocations: 1.315 MB / 434.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6951, allocations: 0 / 434.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.6955, allocations: 47.41 kB / 434.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000636/0.6961, allocations: 140.8 kB / 434.7 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.6962, allocations: 15.05 kB / 434.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.7001, allocations: 2.317 MB / 437 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7002, allocations: 0 / 437 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.7022, allocations: 0.8689 MB / 437.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.7026, allocations: 189 kB / 438.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.7027, allocations: 17.39 kB / 438.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.7033, allocations: 38.72 kB / 438.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.7036, allocations: 64.09 kB / 438.2 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.7036, allocations: 15.81 kB / 438.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005905/0.7042, allocations: 325.4 kB / 438.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7042, allocations: 0 / 438.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001503/0.7058, allocations: 328.8 kB / 438.8 MB, free: 3.48 MB / 346.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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.002633/0.7084, allocations: 1.523 MB / 440.3 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.7112, allocations: 1.104 MB / 441.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7112, allocations: 0.6875 kB / 441.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.7122, allocations: 428 kB / 441.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.7131, allocations: 108.2 kB / 442 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.7164, allocations: 1.001 MB / 443 MB, free: 56 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.7172, allocations: 0.9388 MB / 443.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006861/0.7179, allocations: 108.8 kB / 444 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.7183, allocations: 214.7 kB / 444.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7183, allocations: 0 / 444.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/0.7935, allocations: 15.6 MB / 459.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.7939, allocations: 229.2 kB / 460.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/4.074, allocations: 7.844 kB / 460.1 MB, free: 15.09 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat