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 1.996/1.996, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.261e-05, allocations: 8 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5412, allocations: 83.04 MB / 383 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.5416, allocations: 88.88 kB / 383.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05482/0.5965, allocations: 13.87 MB / 397 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5965, allocations: 0 / 397 MB, free: 10.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.762e-05/0.5966, allocations: 19.53 kB / 397 MB, free: 10.87 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.002296/0.5989, allocations: 0.9267 MB / 397.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.599, allocations: 7.594 kB / 397.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.5992, allocations: 116.1 kB / 398.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.5994, allocations: 97.14 kB / 398.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6004, allocations: 0.4905 MB / 398.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.6005, allocations: 55.5 kB / 398.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.6006, allocations: 81.22 kB / 398.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6023, allocations: 0.7042 MB / 399.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.6023, allocations: 3.875 kB / 399.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.6024, allocations: 26.92 kB / 399.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.6024, allocations: 23.33 kB / 399.5 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.6037, allocations: 0.494 MB / 400 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00565/0.6094, allocations: 2.68 MB / 402.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.6113, allocations: 0.6136 MB / 403.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.6126, allocations: 438.2 kB / 403.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.6127, allocations: 4.469 kB / 403.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000848/0.6135, allocations: 369.7 kB / 404.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.367e-06/0.6135, allocations: 3.844 kB / 404.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001518/0.6151, allocations: 0.5598 MB / 404.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.6152, allocations: 114.7 kB / 404.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.6159, allocations: 420.1 kB / 405.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.616, allocations: 46.11 kB / 405.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.6163, allocations: 326 kB / 405.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.6164, allocations: 186.1 kB / 405.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.6165, allocations: 14.69 kB / 405.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6166, allocations: 361.5 kB / 406.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.6172, allocations: 198.5 kB / 406.3 MB, free: 6.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.6178, allocations: 346.4 kB / 406.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.6183, allocations: 214.8 kB / 406.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6183, allocations: 1.281 kB / 406.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001754/0.6201, allocations: 0.6961 MB / 407.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003332/0.6205, allocations: 1.572 MB / 409.1 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6205, allocations: 3.875 kB / 409.1 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.6212, allocations: 154.6 kB / 409.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.622, allocations: 111.5 kB / 409.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.6269, allocations: 3.581 MB / 413 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/0.6279, allocations: 88.67 kB / 413.1 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.628, allocations: 30.78 kB / 413.1 MB, free: 17.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.628, allocations: 7.906 kB / 413.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/0.6295, allocations: 0.6077 MB / 413.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6295, allocations: 3.875 kB / 413.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.6302, allocations: 161.7 kB / 413.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.6309, allocations: 104.9 kB / 414 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.6357, allocations: 3.6 MB / 417.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/0.6366, allocations: 77.48 kB / 417.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.6367, allocations: 26.38 kB / 417.7 MB, free: 14.52 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.0003327/0.637, allocations: 164.2 kB / 417.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6372, allocations: 58.55 kB / 417.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.6374, allocations: 74.58 kB / 418 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.6374, allocations: 3.844 kB / 418 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6375, allocations: 0 / 418 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6375, allocations: 3.984 kB / 418 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.6404, allocations: 1.438 MB / 419.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6405, allocations: 0 / 419.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.6411, allocations: 69.17 kB / 419.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006355/0.6417, allocations: 155.6 kB / 419.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.6418, allocations: 9.875 kB / 419.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004685/0.6465, allocations: 3.511 MB / 423.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6466, allocations: 4.062 kB / 423.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.6487, allocations: 0.9634 MB / 424.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.6491, allocations: 190.8 kB / 424.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6492, allocations: 19.02 kB / 424.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.65, allocations: 57.95 kB / 424.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.6502, allocations: 78.12 kB / 424.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.6503, allocations: 14.81 kB / 424.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005185/0.6508, allocations: 317 kB / 424.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6508, allocations: 4 kB / 424.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001616/0.6525, allocations: 345.9 kB / 425.1 MB, free: 10.27 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.002525/0.655, allocations: 1.627 MB / 426.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.6578, allocations: 1.356 MB / 428.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6579, allocations: 3.844 kB / 428.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.659, allocations: 0.5352 MB / 428.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.6599, allocations: 98.22 kB / 428.7 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.6638, allocations: 1.173 MB / 429.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.6645, allocations: 0.9568 MB / 430.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007461/0.6653, allocations: 115 kB / 431 MB, free: 7.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.6657, allocations: 236.9 kB / 431.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of SimCode: time 6.012e-06/0.6657, allocations: 0 / 431.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05899/0.7247, allocations: 16.41 MB / 447.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003856/0.7252, allocations: 252.4 kB / 447.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/4.036, allocations: 3.953 kB / 447.9 MB, free: 12.42 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