Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.711e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3784, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5417, allocations: 81.97 MB / 376.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.5421, allocations: 87.94 kB / 376.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04696/0.5891, allocations: 10.43 MB / 386.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5892, allocations: 0 / 386.7 MB, free: 5.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.565e-05/0.5892, allocations: 15.94 kB / 386.7 MB, free: 5.34 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002432/0.5917, allocations: 0.8706 MB / 387.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.5918, allocations: 12.03 kB / 387.6 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.5921, allocations: 83.02 kB / 387.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5933, allocations: 496.1 kB / 388.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.5933, allocations: 24 kB / 388.2 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.5935, allocations: 39.98 kB / 388.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001383/0.5949, allocations: 446.5 kB / 388.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5964, allocations: 0.563 MB / 389.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.5965, allocations: 11.84 kB / 389.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.5966, allocations: 0 / 389.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.5967, allocations: 16 kB / 389.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/0.603, allocations: 2.448 MB / 391.7 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.6048, allocations: 0.5455 MB / 392.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.6054, allocations: 238.5 kB / 392.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.6055, allocations: 8.438 kB / 392.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.6063, allocations: 316.5 kB / 392.8 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.437e-06/0.6064, allocations: 4 kB / 392.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001389/0.6078, allocations: 471.3 kB / 393.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.6079, allocations: 119.4 kB / 393.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/0.6086, allocations: 361.1 kB / 393.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.6087, allocations: 33.69 kB / 393.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.6091, allocations: 312.2 kB / 394.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.6093, allocations: 149.7 kB / 394.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.6094, allocations: 0 / 394.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.6096, allocations: 362.8 kB / 394.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.6101, allocations: 161.5 kB / 394.8 MB, free: 13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.6107, allocations: 316.6 kB / 395.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.6112, allocations: 189.3 kB / 395.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6112, allocations: 4 kB / 395.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001641/0.6129, allocations: 0.5615 MB / 395.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000792/0.6137, allocations: 1.58 MB / 397.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.6137, allocations: 4 kB / 397.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.6146, allocations: 136.8 kB / 397.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.6153, allocations: 91.83 kB / 397.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.6198, allocations: 2.26 MB / 399.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.6207, allocations: 71.62 kB / 400 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.6209, allocations: 28 kB / 400 MB, free: 7.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6209, allocations: 4 kB / 400 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/0.6223, allocations: 493.9 kB / 400.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6224, allocations: 4 kB / 400.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.6231, allocations: 153.1 kB / 400.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.6237, allocations: 71.91 kB / 400.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.628, allocations: 2.244 MB / 402.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.6289, allocations: 63.59 kB / 403 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.629, allocations: 20 kB / 403 MB, free: 4.312 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.0002982/0.6293, allocations: 143.9 kB / 403.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001371/0.6307, allocations: 475.3 kB / 403.6 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.6309, allocations: 59.33 kB / 403.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.6312, allocations: 53.02 kB / 403.7 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.6312, allocations: 11.95 kB / 403.7 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6312, allocations: 0 / 403.7 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6312, allocations: 3.984 kB / 403.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.6343, allocations: 1.175 MB / 404.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6344, allocations: 0 / 404.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.6348, allocations: 47.91 kB / 405 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/0.6355, allocations: 132.8 kB / 405.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.6356, allocations: 8 kB / 405.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/0.6398, allocations: 2.232 MB / 407.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6399, allocations: 0 / 407.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.6421, allocations: 0.8195 MB / 408.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.6427, allocations: 180.4 kB / 408.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.6428, allocations: 0 / 408.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.6434, allocations: 35.91 kB / 408.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.6437, allocations: 64.47 kB / 408.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.6438, allocations: 12.19 kB / 408.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005174/0.6443, allocations: 278.9 kB / 408.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6443, allocations: 0 / 408.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001706/0.646, allocations: 291.1 kB / 409 MB, free: 14.12 MB / 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: 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.003/0.6491, allocations: 1.375 MB / 410.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002935/0.6521, allocations: 1.068 MB / 411.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.6521, allocations: 0 / 411.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.6532, allocations: 404.7 kB / 411.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.6542, allocations: 81.7 kB / 411.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.6581, allocations: 0.9519 MB / 412.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.6589, allocations: 0.9393 MB / 413.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000728/0.6597, allocations: 100.5 kB / 413.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.6601, allocations: 211.4 kB / 414.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6601, allocations: 0 / 414.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3692/1.029, allocations: 13.79 MB / 427.9 MB, free: 106.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1.03, allocations: 204.6 kB / 428.1 MB, free: 105.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.227, allocations: 4 kB / 428.1 MB, free: 105.8 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.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat