Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_PowerConverters_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.562e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/0.6706, allocations: 103.1 MB / 0.5014 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.671, allocations: 71.95 kB / 0.5015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1709/0.8419, allocations: 41.13 MB / 0.5416 GB, free: 7.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.842, allocations: 7.875 kB / 0.5417 GB, free: 7.363 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002733/0.8422, allocations: 56 kB / 0.5417 GB, free: 7.309 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.008234/0.8505, allocations: 2.193 MB / 0.5438 GB, free: 5.027 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.8506, allocations: 8.031 kB / 0.5439 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.8516, allocations: 286.6 kB / 0.5441 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008279/0.8524, allocations: 257 kB / 0.5444 GB, free: 4.477 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009103/0.8616, allocations: 2.247 MB / 0.5466 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.8618, allocations: 147.8 kB / 0.5467 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/0.8625, allocations: 196 kB / 0.5469 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/0.8703, allocations: 2.627 MB / 0.5495 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.8705, allocations: 4 kB / 0.5495 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/0.8708, allocations: 80 kB / 0.5495 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.871, allocations: 83.77 kB / 0.5496 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006991/0.878, allocations: 2.151 MB / 0.5517 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.8999, allocations: 7.642 MB / 0.5592 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/0.9048, allocations: 1.752 MB / 0.5609 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/0.9097, allocations: 1.321 MB / 0.5622 GB, free: 1.984 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.9098, allocations: 17.31 kB / 0.5622 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003128/0.913, allocations: 0.9903 MB / 0.5632 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=138): time 6.051e-06/0.913, allocations: 0 / 0.5632 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of matching and sorting (n=138): time 0.006812/0.9198, allocations: 1.855 MB / 0.565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.9201, allocations: 264.5 kB / 0.5652 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/0.9241, allocations: 1.23 MB / 0.5664 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/0.9246, allocations: 77.69 kB / 0.5665 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.9262, allocations: 0.8436 MB / 0.5673 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/0.9271, allocations: 418.3 kB / 0.5677 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.9273, allocations: 28 kB / 0.5678 GB, free: 12.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.9276, allocations: 365.9 kB / 0.5681 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.9302, allocations: 0.7262 MB / 0.5688 GB, free: 11.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.9331, allocations: 1.042 MB / 0.5698 GB, free: 9.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.9355, allocations: 0.7895 MB / 0.5706 GB, free: 9.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.9355, allocations: 4 kB / 0.5706 GB, free: 9.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0134/0.949, allocations: 2.187 MB / 0.5727 GB, free: 6.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002797/0.9518, allocations: 2.463 MB / 0.5751 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.9519, allocations: 12 kB / 0.5752 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.9548, allocations: 0.5823 MB / 0.5757 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.9566, allocations: 191.7 kB / 0.5759 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03371/0.9903, allocations: 6.136 MB / 0.5819 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.9934, allocations: 222.8 kB / 0.5821 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.9937, allocations: 52 kB / 0.5822 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9937, allocations: 4 kB / 0.5822 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007013/1.001, allocations: 2.027 MB / 0.5841 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.001, allocations: 8 kB / 0.5842 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/1.003, allocations: 0.563 MB / 0.5847 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.005, allocations: 183.7 kB / 0.5849 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.018, allocations: 6.109 MB / 0.5908 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.02, allocations: 195.1 kB / 0.591 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/1.021, allocations: 48 kB / 0.5911 GB, free: 3.672 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (144): * Single equations (assignments): 143 * 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.0005773/1.021, allocations: 257.5 kB / 0.5913 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/1.022, allocations: 146.2 kB / 0.5915 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/1.022, allocations: 194.9 kB / 0.5916 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.022, allocations: 12 kB / 0.5917 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.022, allocations: 0 / 0.5917 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.022, allocations: 7.969 kB / 0.5917 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.033, allocations: 4.193 MB / 0.5958 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.033, allocations: 7.953 kB / 0.5958 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/1.034, allocations: 111.8 kB / 0.5959 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/1.036, allocations: 0.5362 MB / 0.5964 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.037, allocations: 27.98 kB / 0.5964 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.05, allocations: 6.021 MB / 0.6023 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.05, allocations: 4 kB / 0.6023 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/1.057, allocations: 2.887 MB / 0.6051 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.059, allocations: 407 kB / 0.6055 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/1.059, allocations: 51.97 kB / 0.6056 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.061, allocations: 131.8 kB / 0.6057 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008198/1.061, allocations: 237 kB / 0.6059 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.062, allocations: 39.98 kB / 0.606 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002246/1.064, allocations: 0.9221 MB / 0.6069 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/1.064, allocations: 0 / 0.6069 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003973/1.068, allocations: 0.9891 MB / 0.6078 GB, free: 2.238 MB / 0.5105 GB 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: 48 (pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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.346/1.414, allocations: 3.536 MB / 0.6113 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009037/1.423, allocations: 3.373 MB / 0.6146 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.423, allocations: 1.562 kB / 0.6146 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002856/1.426, allocations: 1.152 MB / 0.6157 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.429, allocations: 368.8 kB / 0.6161 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.44, allocations: 3.739 MB / 0.6197 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/1.442, allocations: 1.881 MB / 0.6215 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00349/1.446, allocations: 0.6908 MB / 0.6222 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.447, allocations: 0.6785 MB / 0.6229 GB, free: 146 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/1.447, allocations: 0 / 0.6229 GB, free: 146 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.578, allocations: 49.63 MB / 0.6713 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/1.578, allocations: 201.6 kB / 0.6715 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/5.701, allocations: 0 / 0.6715 GB, free: 130.7 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat