Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.254e-05, allocations: 8 kB / 292.8 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.41 MB / 343.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5813, allocations: 94.08 MB / 437.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.5817, allocations: 89.88 kB / 437.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2155/0.7972, allocations: 49.59 MB / 486.9 MB, free: 2.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7972, allocations: 4 kB / 486.9 MB, free: 2.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002608/0.7975, allocations: 47.94 kB / 487 MB, free: 2.539 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.007976/0.8055, allocations: 2.011 MB / 489 MB, free: 480 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.8056, allocations: 8.031 kB / 489 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.8068, allocations: 265.6 kB / 489.3 MB, free: 196 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.808, allocations: 237.3 kB / 489.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009144/0.8172, allocations: 2.101 MB / 491.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.8175, allocations: 143.5 kB / 491.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008301/0.8183, allocations: 179.9 kB / 491.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/0.8266, allocations: 2.404 MB / 494.3 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-05/0.8267, allocations: 4 kB / 494.3 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.8272, allocations: 72 kB / 494.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.8273, allocations: 75.53 kB / 494.5 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007079/0.8344, allocations: 1.955 MB / 496.4 MB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.8567, allocations: 6.993 MB / 0.4916 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.8609, allocations: 1.563 MB / 0.4931 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.8637, allocations: 0.9655 MB / 0.4941 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.8639, allocations: 17 kB / 0.4941 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002552/0.8665, allocations: 0.9133 MB / 0.495 GB, free: 14.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.861e-06/0.8665, allocations: 4 kB / 0.495 GB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.005318/0.8719, allocations: 1.68 MB / 0.4966 GB, free: 12.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.8721, allocations: 183.5 kB / 0.4968 GB, free: 12.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.875, allocations: 1.075 MB / 0.4979 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004229/0.8755, allocations: 77.67 kB / 0.4979 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.8767, allocations: 0.769 MB / 0.4987 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007534/0.8775, allocations: 382.8 kB / 0.4991 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.8777, allocations: 28 kB / 0.4991 GB, free: 10 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.8779, allocations: 357.9 kB / 0.4994 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.8799, allocations: 0.6677 MB / 0.5001 GB, free: 8.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.8824, allocations: 0.9456 MB / 0.501 GB, free: 7.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.8846, allocations: 0.7272 MB / 0.5017 GB, free: 7.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.8847, allocations: 7.953 kB / 0.5017 GB, free: 7.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006099/0.8908, allocations: 1.985 MB / 0.5037 GB, free: 5.203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.892, allocations: 2.454 MB / 0.5061 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.8921, allocations: 4 kB / 0.5061 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.8943, allocations: 0.4909 MB / 0.5065 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.896, allocations: 183.7 kB / 0.5067 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.9084, allocations: 5.233 MB / 0.5118 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.9108, allocations: 191.1 kB / 0.512 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/0.9112, allocations: 48 kB / 0.512 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9112, allocations: 4 kB / 0.5121 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005442/0.9167, allocations: 1.851 MB / 0.5139 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.9168, allocations: 4 kB / 0.5139 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.9187, allocations: 492.9 kB / 0.5143 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.9203, allocations: 179.6 kB / 0.5145 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.9323, allocations: 5.221 MB / 0.5196 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.9345, allocations: 167.2 kB / 0.5198 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.9349, allocations: 48 kB / 0.5198 GB, free: 4.195 MB / 442.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: 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 (142): * Single equations (assignments): 141 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005859/0.9355, allocations: 251.7 kB / 0.52 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/0.936, allocations: 134.3 kB / 0.5202 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.9366, allocations: 173.6 kB / 0.5203 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.9366, allocations: 15.95 kB / 0.5204 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.9366, allocations: 0 / 0.5204 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.9367, allocations: 7.984 kB / 0.5204 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.316/1.253, allocations: 3.707 MB / 0.524 GB, free: 126.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.253, allocations: 0.9375 kB / 0.524 GB, free: 126.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.254, allocations: 109.6 kB / 0.5241 GB, free: 126.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/1.256, allocations: 464.3 kB / 0.5245 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/1.256, allocations: 27.25 kB / 0.5246 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.268, allocations: 5.149 MB / 0.5296 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.268, allocations: 4.078 kB / 0.5296 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/1.275, allocations: 2.703 MB / 0.5322 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.277, allocations: 382.8 kB / 0.5326 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/1.277, allocations: 45.62 kB / 0.5326 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.279, allocations: 107 kB / 0.5327 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.28, allocations: 235.9 kB / 0.533 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.281, allocations: 35.64 kB / 0.533 GB, free: 125.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002203/1.283, allocations: 0.8063 MB / 0.5338 GB, free: 125 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.283, allocations: 0 / 0.5338 GB, free: 125 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004335/1.287, allocations: 0.8752 MB / 0.5346 GB, free: 125 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 48 (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.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_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.008142/1.295, allocations: 3.364 MB / 0.5379 GB, free: 124.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008979/1.304, allocations: 3.088 MB / 0.5409 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.305, allocations: 0 / 0.5409 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.308, allocations: 1.067 MB / 0.542 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.311, allocations: 329.6 kB / 0.5423 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.322, allocations: 3.459 MB / 0.5457 GB, free: 122.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/1.324, allocations: 1.763 MB / 0.5474 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003156/1.327, allocations: 0.6302 MB / 0.548 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.328, allocations: 0.632 MB / 0.5486 GB, free: 121.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/1.328, allocations: 3.938 kB / 0.5486 GB, free: 121.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.438, allocations: 43.23 MB / 0.5909 GB, free: 101.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.438, allocations: 227 kB / 0.5911 GB, free: 101.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/5.857, allocations: 0 / 0.5911 GB, free: 101.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL_res.mat does not exist to compare? outputFormat=mat