Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.583e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5687, allocations: 82.33 MB / 382.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.5691, allocations: 85.97 kB / 382.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05516/0.6242, allocations: 12.76 MB / 395.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6243, allocations: 0 / 395.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.216e-05/0.6244, allocations: 15.69 kB / 395.2 MB, free: 11.14 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002751/0.6272, allocations: 0.8785 MB / 396 MB, free: 10.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6272, allocations: 7.844 kB / 396 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.6276, allocations: 103.6 kB / 396.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.6279, allocations: 81.47 kB / 396.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.6292, allocations: 481.5 kB / 396.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.6293, allocations: 54.56 kB / 396.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.6295, allocations: 65.41 kB / 396.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6312, allocations: 0.6127 MB / 397.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.6313, allocations: 6.281 kB / 397.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6314, allocations: 26.05 kB / 397.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.6314, allocations: 15.12 kB / 397.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.6327, allocations: 435.2 kB / 397.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00593/0.6387, allocations: 2.33 MB / 400.2 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.6405, allocations: 0.4913 MB / 400.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.6413, allocations: 254.7 kB / 401 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.6414, allocations: 11.88 kB / 401 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007954/0.6422, allocations: 324.4 kB / 401.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.787e-06/0.6422, allocations: 3.938 kB / 401.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001295/0.6435, allocations: 445.2 kB / 401.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.6437, allocations: 152 kB / 401.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.6444, allocations: 387.2 kB / 402.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.6446, allocations: 47.83 kB / 402.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.6449, allocations: 351.7 kB / 402.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.6451, allocations: 148.5 kB / 402.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.6452, allocations: 13.38 kB / 402.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.6452, allocations: 332.4 kB / 403.1 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.6457, allocations: 158.2 kB / 403.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.6462, allocations: 308 kB / 403.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.6467, allocations: 173.5 kB / 403.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6467, allocations: 0 / 403.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001255/0.648, allocations: 0.5172 MB / 404.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00037/0.6484, allocations: 1.668 MB / 405.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6484, allocations: 3.875 kB / 405.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.649, allocations: 84.39 kB / 406 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.6498, allocations: 104.9 kB / 406.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.6528, allocations: 1.729 MB / 407.9 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.6537, allocations: 80.06 kB / 407.9 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.6539, allocations: 26.89 kB / 408 MB, free: 20.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6539, allocations: 3.844 kB / 408 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.6552, allocations: 480.5 kB / 408.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6552, allocations: 4.406 kB / 408.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.6556, allocations: 86.91 kB / 408.5 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.6563, allocations: 97.19 kB / 408.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.6587, allocations: 1.721 MB / 410.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006794/0.6595, allocations: 70.16 kB / 410.4 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.6595, allocations: 28.17 kB / 410.4 MB, free: 18.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.6599, allocations: 147.4 kB / 410.6 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.6601, allocations: 54.31 kB / 410.6 MB, free: 18.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.6603, allocations: 63.06 kB / 410.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6603, allocations: 7.5 kB / 410.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6603, allocations: 4 kB / 410.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6603, allocations: 3.984 kB / 410.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.6633, allocations: 1.29 MB / 412 MB, free: 17.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6634, allocations: 7.875 kB / 412 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.664, allocations: 70.33 kB / 412.1 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.6644, allocations: 72.31 kB / 412.1 MB, free: 17.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.6645, allocations: 14.8 kB / 412.2 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.6668, allocations: 1.649 MB / 413.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6669, allocations: 0 / 413.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.6687, allocations: 0.7898 MB / 414.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.6692, allocations: 169.9 kB / 414.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6694, allocations: 9.969 kB / 414.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.6701, allocations: 57.27 kB / 414.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.6704, allocations: 60.8 kB / 414.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.6704, allocations: 14.25 kB / 414.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005575/0.671, allocations: 304.7 kB / 415.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.671, allocations: 0 / 415.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001542/0.6726, allocations: 290.8 kB / 415.5 MB, free: 15.68 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/0.675, allocations: 1.428 MB / 416.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.6773, allocations: 0.896 MB / 417.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.6773, allocations: 6 kB / 417.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.6782, allocations: 352.3 kB / 418.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.6792, allocations: 84.14 kB / 418.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.6829, allocations: 1.03 MB / 419.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.6835, allocations: 0.9278 MB / 420.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.6841, allocations: 219.5 kB / 420.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.6841, allocations: 0 / 420.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.618, allocations: 12.56 MB / 433 MB, free: 6.75 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat