Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.072e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09714, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5546, allocations: 83.02 MB / 383 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004337/0.5551, allocations: 85.34 kB / 383.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08391/0.6391, allocations: 13.88 MB / 397 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6391, allocations: 0 / 397 MB, free: 10.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.6393, allocations: 18.89 kB / 397 MB, free: 10.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003296/0.6426, allocations: 0.9209 MB / 397.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.6427, allocations: 7.438 kB / 397.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/0.643, allocations: 117.5 kB / 398 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.6433, allocations: 96.42 kB / 398.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.6449, allocations: 0.4905 MB / 398.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.6451, allocations: 57.34 kB / 398.7 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.6453, allocations: 71.41 kB / 398.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.6479, allocations: 0.7154 MB / 399.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.6479, allocations: 3.25 kB / 399.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.6481, allocations: 31.44 kB / 399.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.6482, allocations: 19.36 kB / 399.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.6501, allocations: 0.5036 MB / 400 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/0.6584, allocations: 2.683 MB / 402.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.6611, allocations: 0.6265 MB / 403.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.6631, allocations: 433.3 kB / 403.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.6633, allocations: 4.188 kB / 403.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.6646, allocations: 371.1 kB / 404.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 5.471e-06/0.6646, allocations: 3.844 kB / 404.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002407/0.667, allocations: 0.5656 MB / 404.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.6671, allocations: 114.9 kB / 404.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6683, allocations: 425.1 kB / 405.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.6685, allocations: 48.91 kB / 405.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.6689, allocations: 313.9 kB / 405.6 MB, free: 6.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.6692, allocations: 184.8 kB / 405.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.6693, allocations: 14.22 kB / 405.8 MB, free: 6.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6695, allocations: 369.7 kB / 406.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.6704, allocations: 193.8 kB / 406.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.6714, allocations: 353 kB / 406.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.6722, allocations: 212.4 kB / 406.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6722, allocations: 0 / 406.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00266/0.6749, allocations: 0.7024 MB / 407.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.6754, allocations: 1.568 MB / 409.1 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6755, allocations: 3.875 kB / 409.1 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.6766, allocations: 167.7 kB / 409.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.6778, allocations: 109.3 kB / 409.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/0.6859, allocations: 3.589 MB / 413 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.6874, allocations: 92.48 kB / 413.1 MB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6875, allocations: 26.81 kB / 413.1 MB, free: 17.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6875, allocations: 3.875 kB / 413.1 MB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/0.6901, allocations: 0.6241 MB / 413.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6901, allocations: 3.812 kB / 413.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.6912, allocations: 162.5 kB / 413.9 MB, free: 17.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6924, allocations: 104.5 kB / 414 MB, free: 17.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.7004, allocations: 3.583 MB / 417.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.702, allocations: 80.12 kB / 417.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.7022, allocations: 19.5 kB / 417.7 MB, free: 14.44 MB / 330.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: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.7026, allocations: 176 kB / 417.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.7029, allocations: 65.61 kB / 417.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.7032, allocations: 65.03 kB / 418 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7032, allocations: 15.58 kB / 418 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.7032, allocations: 0 / 418 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.7033, allocations: 0 / 418 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.708, allocations: 1.43 MB / 419.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.7081, allocations: 4.031 kB / 419.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/0.709, allocations: 70.14 kB / 419.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007968/0.7099, allocations: 156.2 kB / 419.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/0.71, allocations: 14.61 kB / 419.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.7154, allocations: 3.52 MB / 423.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7155, allocations: 0 / 423.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.7178, allocations: 0.9658 MB / 424.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.7183, allocations: 182.2 kB / 424.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.7185, allocations: 28.06 kB / 424.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.7192, allocations: 44.09 kB / 424.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.7195, allocations: 84.59 kB / 424.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.7196, allocations: 19.48 kB / 424.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005533/0.7201, allocations: 316.6 kB / 424.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-07/0.7201, allocations: 0 / 424.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001695/0.7218, allocations: 351.7 kB / 425.2 MB, free: 10.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/0.7246, allocations: 1.625 MB / 426.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.7276, allocations: 1.407 MB / 428.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7277, allocations: 4.062 kB / 428.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.7288, allocations: 0.561 MB / 428.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.7297, allocations: 91.36 kB / 428.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.7338, allocations: 1.165 MB / 430 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.7346, allocations: 0.9628 MB / 431 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008047/0.7354, allocations: 114.9 kB / 431.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.7358, allocations: 231.7 kB / 431.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7358, allocations: 0 / 431.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06261/0.7985, allocations: 16.52 MB / 447.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/0.7989, allocations: 245.7 kB / 448.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.529/4.328, allocations: 0 / 448.1 MB, free: 12.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat