Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.834e-05/4.876e-05, allocations: 0 / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 44.53 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5229, allocations: 81.54 MB / 381.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5233, allocations: 88.11 kB / 381.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04849/0.5718, allocations: 12.03 MB / 393.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5719, allocations: 4 kB / 393.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.698e-05/0.572, allocations: 11.44 kB / 393.6 MB, free: 11.25 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002085/0.5741, allocations: 0.8167 MB / 394.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5741, allocations: 11.62 kB / 394.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002293/0.5744, allocations: 95.25 kB / 394.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.5746, allocations: 78 kB / 394.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5758, allocations: 465.8 kB / 395.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.5759, allocations: 49 kB / 395.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.576, allocations: 64.53 kB / 395.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.5775, allocations: 0.5869 MB / 395.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.5776, allocations: 3.984 kB / 395.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.5777, allocations: 26.97 kB / 395.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5777, allocations: 19.58 kB / 395.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5787, allocations: 413.5 kB / 396.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.5836, allocations: 2.189 MB / 398.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.585, allocations: 449.7 kB / 398.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.5856, allocations: 228.2 kB / 399.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.5857, allocations: 8.141 kB / 399.1 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006109/0.5863, allocations: 299 kB / 399.4 MB, free: 9.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.5863, allocations: 0 / 399.4 MB, free: 9.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001114/0.5875, allocations: 414.7 kB / 399.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.5876, allocations: 139.6 kB / 399.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.5882, allocations: 406.4 kB / 400.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.5883, allocations: 39.2 kB / 400.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.5886, allocations: 337.5 kB / 400.7 MB, free: 8.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5887, allocations: 137 kB / 400.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5888, allocations: 10.44 kB / 400.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.5889, allocations: 335.7 kB / 401.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.5892, allocations: 147.9 kB / 401.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.5897, allocations: 295.9 kB / 401.6 MB, free: 8.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.5901, allocations: 160 kB / 401.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5902, allocations: 0 / 401.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001175/0.5913, allocations: 0.5082 MB / 402.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.5917, allocations: 1.655 MB / 403.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5917, allocations: 3.656 kB / 403.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.5923, allocations: 100.2 kB / 404 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.5929, allocations: 89.31 kB / 404.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.5956, allocations: 1.838 MB / 405.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.5965, allocations: 80.86 kB / 406 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.5966, allocations: 18.78 kB / 406 MB, free: 20.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5966, allocations: 3.875 kB / 406 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/0.5977, allocations: 483.5 kB / 406.5 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5977, allocations: 3.875 kB / 406.5 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.5981, allocations: 86.08 kB / 406.6 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.5986, allocations: 81.27 kB / 406.7 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.6012, allocations: 1.843 MB / 408.5 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/0.6018, allocations: 66.47 kB / 408.6 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.6019, allocations: 23.62 kB / 408.6 MB, free: 19.1 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.6022, allocations: 142.9 kB / 408.8 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6024, allocations: 54.62 kB / 408.8 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.6025, allocations: 54.64 kB / 408.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6026, allocations: 7.75 kB / 408.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6026, allocations: 48 / 408.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.6026, allocations: 7.969 kB / 408.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.605, allocations: 1.214 MB / 410.1 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.605, allocations: 3.938 kB / 410.1 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.6054, allocations: 38.91 kB / 410.1 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.6058, allocations: 93.81 kB / 410.2 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.6058, allocations: 11.66 kB / 410.2 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.6083, allocations: 1.748 MB / 412 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6083, allocations: 3.938 kB / 412 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.61, allocations: 0.7305 MB / 412.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.6104, allocations: 163.6 kB / 412.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6105, allocations: 17.36 kB / 412.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.6111, allocations: 38.66 kB / 412.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.6113, allocations: 56.08 kB / 413 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.6113, allocations: 15.17 kB / 413 MB, free: 16.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005265/0.6119, allocations: 301.7 kB / 413.3 MB, free: 16.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6119, allocations: 0 / 413.3 MB, free: 16.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001286/0.6132, allocations: 282.2 kB / 413.6 MB, free: 16.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002078/0.6153, allocations: 1.363 MB / 414.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.6174, allocations: 0.905 MB / 415.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6175, allocations: 3.875 kB / 415.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.6182, allocations: 360.9 kB / 416.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.619, allocations: 76.06 kB / 416.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6218, allocations: 0.8878 MB / 417.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.6225, allocations: 0.9088 MB / 418.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.6229, allocations: 205.6 kB / 418.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6229, allocations: 0 / 418.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.012/3.635, allocations: 11.8 MB / 430.1 MB, free: 7.82 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_R_res.mat does not exist to compare? outputFormat=mat