Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.976e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.5832, allocations: 101.9 MB / 484.2 MB, free: 6.48 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5835, allocations: 71.97 kB / 484.3 MB, free: 6.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.7159, allocations: 31.76 MB / 0.5039 GB, free: 6.402 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.354e-06/0.716, allocations: 0 / 0.5039 GB, free: 6.402 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0002393/0.7162, allocations: 47.94 kB / 0.504 GB, free: 6.355 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.007779/0.724, allocations: 2.083 MB / 0.506 GB, free: 4.215 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.7241, allocations: 12.02 kB / 0.506 GB, free: 4.203 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009542/0.7251, allocations: 257.5 kB / 0.5063 GB, free: 3.941 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009193/0.726, allocations: 241.2 kB / 0.5065 GB, free: 3.703 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/0.735, allocations: 2.179 MB / 0.5086 GB, free: 1.465 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.7352, allocations: 143.5 kB / 0.5088 GB, free: 1.324 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006688/0.7359, allocations: 172 kB / 0.5089 GB, free: 1.156 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007356/0.7433, allocations: 2.423 MB / 0.5113 GB, free: 14.64 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/0.7434, allocations: 0 / 0.5113 GB, free: 14.64 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.7438, allocations: 72 kB / 0.5114 GB, free: 14.57 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.7439, allocations: 79.5 kB / 0.5114 GB, free: 14.5 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006574/0.7505, allocations: 1.982 MB / 0.5134 GB, free: 12.51 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.7733, allocations: 7.213 MB / 0.5204 GB, free: 5.176 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/0.7783, allocations: 1.745 MB / 0.5221 GB, free: 3.422 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.782, allocations: 1.258 MB / 0.5234 GB, free: 2.16 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.7822, allocations: 20.98 kB / 0.5234 GB, free: 2.141 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002451/0.7846, allocations: 0.9046 MB / 0.5243 GB, free: 1.207 MB / 458.8 MB Notification: Performance of pre-optimization done (n=126): time 5.521e-06/0.7847, allocations: 0 / 0.5243 GB, free: 1.207 MB / 458.8 MB Notification: Performance of matching and sorting (n=126): time 0.3469/1.132, allocations: 1.769 MB / 0.526 GB, free: 119.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.132, allocations: 230.7 kB / 0.5262 GB, free: 119 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.136, allocations: 1.156 MB / 0.5273 GB, free: 118.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004367/1.137, allocations: 71.75 kB / 0.5274 GB, free: 118.8 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.138, allocations: 0.7975 MB / 0.5282 GB, free: 118.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.139, allocations: 379 kB / 0.5285 GB, free: 118.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.139, allocations: 29.12 kB / 0.5286 GB, free: 118.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000169/1.139, allocations: 365.2 kB / 0.5289 GB, free: 118.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.141, allocations: 0.6519 MB / 0.5296 GB, free: 118.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/1.144, allocations: 0.9432 MB / 0.5305 GB, free: 117.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/1.146, allocations: 0.7254 MB / 0.5312 GB, free: 117.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.146, allocations: 3.094 kB / 0.5312 GB, free: 117.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00702/1.153, allocations: 1.997 MB / 0.5331 GB, free: 117.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006485/1.154, allocations: 2.462 MB / 0.5355 GB, free: 115.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/1.154, allocations: 7.75 kB / 0.5355 GB, free: 115.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/1.157, allocations: 0.5522 MB / 0.5361 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.159, allocations: 181.2 kB / 0.5363 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.175, allocations: 6.003 MB / 0.5421 GB, free: 113.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.178, allocations: 224.6 kB / 0.5423 GB, free: 113.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.178, allocations: 46 kB / 0.5424 GB, free: 113.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.178, allocations: 7.062 kB / 0.5424 GB, free: 113.4 MB / 458.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00579/1.184, allocations: 1.854 MB / 0.5442 GB, free: 112.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/1.184, allocations: 10.28 kB / 0.5442 GB, free: 112.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.187, allocations: 0.542 MB / 0.5447 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.188, allocations: 173.3 kB / 0.5449 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.201, allocations: 5.969 MB / 0.5507 GB, free: 109.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.203, allocations: 203.6 kB / 0.5509 GB, free: 109.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.203, allocations: 45.41 kB / 0.551 GB, free: 109.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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 {6 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004253/1.203, allocations: 232 kB / 0.5512 GB, free: 109 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.204, allocations: 139.1 kB / 0.5513 GB, free: 108.9 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/1.204, allocations: 179.2 kB / 0.5515 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.204, allocations: 14.47 kB / 0.5515 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.204, allocations: 0 / 0.5515 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.204, allocations: 7.641 kB / 0.5515 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008251/1.212, allocations: 3.897 MB / 0.5553 GB, free: 107.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.213, allocations: 0 / 0.5553 GB, free: 107.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/1.213, allocations: 97.22 kB / 0.5554 GB, free: 107.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.215, allocations: 0.5312 MB / 0.5559 GB, free: 107.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.215, allocations: 26.39 kB / 0.556 GB, free: 107.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.226, allocations: 5.933 MB / 0.5617 GB, free: 103.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.226, allocations: 3.219 kB / 0.5618 GB, free: 103.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/1.231, allocations: 2.664 MB / 0.5644 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008838/1.232, allocations: 386.9 kB / 0.5647 GB, free: 102.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/1.233, allocations: 38.48 kB / 0.5648 GB, free: 102.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.234, allocations: 126.5 kB / 0.5649 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/1.235, allocations: 182.2 kB / 0.5651 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/1.235, allocations: 36.34 kB / 0.5651 GB, free: 102.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001609/1.236, allocations: 0.8846 MB / 0.566 GB, free: 101.9 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.71e-07/1.236, allocations: 0 / 0.566 GB, free: 101.9 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00298/1.239, allocations: 0.9352 MB / 0.5669 GB, free: 101.6 MB / 458.8 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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.005448/1.245, allocations: 3.304 MB / 0.5701 GB, free: 98.66 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007058/1.252, allocations: 3.132 MB / 0.5731 GB, free: 95.91 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.252, allocations: 0 / 0.5731 GB, free: 95.91 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/1.254, allocations: 1.079 MB / 0.5742 GB, free: 94.95 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.257, allocations: 367.9 kB / 0.5746 GB, free: 94.67 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/1.267, allocations: 3.532 MB / 0.578 GB, free: 91.63 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/1.269, allocations: 1.797 MB / 0.5798 GB, free: 90.16 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002757/1.272, allocations: 0.6191 MB / 0.5804 GB, free: 89.76 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.273, allocations: 0.6357 MB / 0.581 GB, free: 89.18 MB / 458.8 MB Notification: Performance of SimCode: time 1.172e-06/1.273, allocations: 0 / 0.581 GB, free: 89.18 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.396, allocations: 46.91 MB / 0.6268 GB, free: 44.88 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.397, allocations: 196.5 kB / 0.627 GB, free: 44.66 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/5.5, allocations: 4.062 kB / 0.627 GB, free: 44.66 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat