Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.316e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4211, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.6012, allocations: 96.35 MB / 456.2 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6015, allocations: 75.95 kB / 456.3 MB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1452/0.7468, allocations: 31.57 MB / 487.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7468, allocations: 4 kB / 487.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002086/0.747, allocations: 51.94 kB / 487.9 MB, free: 0.543 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.007553/0.7546, allocations: 2.07 MB / 490 MB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.7547, allocations: 16.03 kB / 490 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009726/0.7557, allocations: 261.5 kB / 490.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.7565, allocations: 233.3 kB / 490.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.7651, allocations: 2.179 MB / 492.7 MB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.7654, allocations: 135.5 kB / 492.8 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004911/0.7659, allocations: 180 kB / 493 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006443/0.7723, allocations: 2.411 MB / 495.4 MB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.7724, allocations: 7.891 kB / 495.4 MB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.7727, allocations: 83.97 kB / 495.5 MB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.7729, allocations: 75.5 kB / 495.6 MB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/0.7785, allocations: 1.983 MB / 497.5 MB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.7978, allocations: 7.19 MB / 0.4929 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.8024, allocations: 1.748 MB / 0.4946 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.8059, allocations: 1.263 MB / 0.4959 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.806, allocations: 9 kB / 0.4959 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/0.8081, allocations: 0.9158 MB / 0.4968 GB, free: 11.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 3.817e-06/0.8082, allocations: 0 / 0.4968 GB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.004857/0.813, allocations: 1.777 MB / 0.4985 GB, free: 9.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.8132, allocations: 230.6 kB / 0.4987 GB, free: 9.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.8159, allocations: 1.156 MB / 0.4998 GB, free: 8.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.8162, allocations: 65.69 kB / 0.4999 GB, free: 8.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.8172, allocations: 0.8042 MB / 0.5007 GB, free: 7.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005584/0.8178, allocations: 374.8 kB / 0.501 GB, free: 6.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.8179, allocations: 32 kB / 0.5011 GB, free: 6.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.8181, allocations: 365.8 kB / 0.5014 GB, free: 6.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.8199, allocations: 0.6559 MB / 0.5021 GB, free: 5.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.8218, allocations: 0.9403 MB / 0.503 GB, free: 4.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.8236, allocations: 0.7272 MB / 0.5037 GB, free: 4.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.8236, allocations: 4 kB / 0.5037 GB, free: 4.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005047/0.8287, allocations: 1.995 MB / 0.5056 GB, free: 2.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.8299, allocations: 2.457 MB / 0.508 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.83, allocations: 8 kB / 0.5081 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.8324, allocations: 0.5551 MB / 0.5086 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.8338, allocations: 175.7 kB / 0.5088 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.8471, allocations: 6.01 MB / 0.5146 GB, free: 8.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.8492, allocations: 211 kB / 0.5148 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.8494, allocations: 52 kB / 0.5149 GB, free: 8.316 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8494, allocations: 4 kB / 0.5149 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004651/0.8541, allocations: 1.855 MB / 0.5167 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.8542, allocations: 4 kB / 0.5167 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.8562, allocations: 0.5522 MB / 0.5172 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.8575, allocations: 167.7 kB / 0.5174 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3096/1.167, allocations: 5.97 MB / 0.5232 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.169, allocations: 189 kB / 0.5234 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.169, allocations: 46.97 kB / 0.5235 GB, free: 123.3 MB / 458.7 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.0004924/1.17, allocations: 227.4 kB / 0.5237 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/1.17, allocations: 141.9 kB / 0.5238 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/1.171, allocations: 181.5 kB / 0.524 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.171, allocations: 18.66 kB / 0.524 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.171, allocations: 0.9375 kB / 0.524 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.171, allocations: 8.641 kB / 0.524 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/1.181, allocations: 3.886 MB / 0.5278 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.181, allocations: 0 / 0.5278 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/1.182, allocations: 97.67 kB / 0.5279 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/1.184, allocations: 0.5302 MB / 0.5284 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/1.184, allocations: 23.03 kB / 0.5284 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/1.198, allocations: 5.932 MB / 0.5342 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.198, allocations: 1.25 kB / 0.5342 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/1.204, allocations: 2.662 MB / 0.5368 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.205, allocations: 387.4 kB / 0.5372 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/1.205, allocations: 36.12 kB / 0.5372 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.207, allocations: 128.3 kB / 0.5374 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007051/1.208, allocations: 187 kB / 0.5375 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.208, allocations: 36.19 kB / 0.5376 GB, free: 121.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00194/1.21, allocations: 0.874 MB / 0.5384 GB, free: 120.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.21, allocations: 1.125 kB / 0.5384 GB, free: 120.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00373/1.214, allocations: 0.9297 MB / 0.5393 GB, free: 120.9 MB / 458.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: 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.006788/1.22, allocations: 3.298 MB / 0.5426 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00742/1.228, allocations: 3.122 MB / 0.5456 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.108e-06/1.228, allocations: 3 kB / 0.5456 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/1.23, allocations: 1.084 MB / 0.5467 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.233, allocations: 362.1 kB / 0.547 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.245, allocations: 3.524 MB / 0.5504 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/1.247, allocations: 1.807 MB / 0.5522 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003605/1.251, allocations: 0.6212 MB / 0.5528 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.252, allocations: 0.6284 MB / 0.5534 GB, free: 114.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.414e-06/1.252, allocations: 0 / 0.5534 GB, free: 114.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.384, allocations: 46.75 MB / 0.5991 GB, free: 87.19 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.385, allocations: 204.5 kB / 0.5993 GB, free: 86.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/5.359, allocations: 10.75 kB / 0.5993 GB, free: 86.96 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat