Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.538e-05, allocations: 3.984 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09728, allocations: 44.5 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5455, allocations: 83.02 MB / 383 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5459, allocations: 85 kB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06122/0.6071, allocations: 13.89 MB / 396.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6072, allocations: 0 / 396.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.6073, allocations: 15.5 kB / 397 MB, free: 10.96 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.003029/0.6103, allocations: 0.9222 MB / 397.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6104, allocations: 11.53 kB / 397.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.6107, allocations: 115.7 kB / 398 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.611, allocations: 93.23 kB / 398.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6125, allocations: 0.4954 MB / 398.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.6126, allocations: 55.73 kB / 398.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.6128, allocations: 74.41 kB / 398.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.6151, allocations: 0.71 MB / 399.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.6152, allocations: 3.75 kB / 399.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.6154, allocations: 31.02 kB / 399.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.6154, allocations: 23.23 kB / 399.5 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.6172, allocations: 0.5049 MB / 400 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.6248, allocations: 2.669 MB / 402.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.6273, allocations: 0.6303 MB / 403.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.6291, allocations: 433.9 kB / 403.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/0.6293, allocations: 8.344 kB / 403.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.6305, allocations: 378.5 kB / 404.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 4.398e-06/0.6305, allocations: 0 / 404.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002098/0.6326, allocations: 0.5637 MB / 404.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.6327, allocations: 115.1 kB / 404.8 MB, free: 7.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.6337, allocations: 412.8 kB / 405.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.6338, allocations: 54.95 kB / 405.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.6341, allocations: 357.6 kB / 405.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.6344, allocations: 181.8 kB / 405.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.6345, allocations: 16.12 kB / 405.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.6346, allocations: 332.9 kB / 406.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.6353, allocations: 191.9 kB / 406.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/0.6362, allocations: 356.1 kB / 406.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.6369, allocations: 210.8 kB / 406.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6369, allocations: 0 / 406.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002261/0.6392, allocations: 0.6708 MB / 407.5 MB, free: 6.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004249/0.6397, allocations: 1.572 MB / 409.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6397, allocations: 3.875 kB / 409.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.6407, allocations: 154.8 kB / 409.2 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6417, allocations: 112.3 kB / 409.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.6483, allocations: 3.597 MB / 412.9 MB, free: 17.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6495, allocations: 91.5 kB / 413 MB, free: 17.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.6496, allocations: 26.62 kB / 413.1 MB, free: 17.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6497, allocations: 3.875 kB / 413.1 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002116/0.6518, allocations: 0.6213 MB / 413.7 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6518, allocations: 3.844 kB / 413.7 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008536/0.6527, allocations: 157.1 kB / 413.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.6536, allocations: 101.3 kB / 413.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/0.6592, allocations: 3.576 MB / 417.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6599, allocations: 80.81 kB / 417.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.66, allocations: 26.31 kB / 417.6 MB, free: 14.59 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.0003183/0.6603, allocations: 162.4 kB / 417.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.6606, allocations: 66.23 kB / 417.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.6608, allocations: 69.52 kB / 417.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6608, allocations: 7.656 kB / 417.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6608, allocations: 4 kB / 417.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.6609, allocations: 0 / 417.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.6639, allocations: 1.432 MB / 419.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.664, allocations: 3.875 kB / 419.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.6647, allocations: 77.28 kB / 419.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.6653, allocations: 154.1 kB / 419.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.6654, allocations: 11.38 kB / 419.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/0.67, allocations: 3.511 MB / 423.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6701, allocations: 0 / 423.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.6723, allocations: 0.9619 MB / 424.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.6727, allocations: 203.4 kB / 424.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.6728, allocations: 18.34 kB / 424.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.6735, allocations: 53.61 kB / 424.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.6738, allocations: 72.67 kB / 424.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.6739, allocations: 26.11 kB / 424.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005089/0.6744, allocations: 316.5 kB / 424.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6744, allocations: 0 / 424.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001506/0.6759, allocations: 341.4 kB / 425.1 MB, free: 10.32 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.002533/0.6785, allocations: 1.627 MB / 426.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.6814, allocations: 1.388 MB / 428.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6814, allocations: 128 / 428.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6825, allocations: 0.5573 MB / 428.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.6834, allocations: 93.91 kB / 428.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.6871, allocations: 1.191 MB / 429.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.6879, allocations: 0.9607 MB / 430.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.6884, allocations: 237.1 kB / 431.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6884, allocations: 0 / 431.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.99/3.679, allocations: 16.79 MB / 447.9 MB, free: 12.87 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat