Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.473e-05/4.487e-05, allocations: 4.625 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5311, allocations: 82.32 MB / 382.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5315, allocations: 88.98 kB / 382.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05121/0.5827, allocations: 12.75 MB / 395.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5828, allocations: 0 / 395.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.949e-05/0.5829, allocations: 23.36 kB / 395.2 MB, free: 11.5 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.00228/0.5851, allocations: 0.8817 MB / 396 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5852, allocations: 7.875 kB / 396 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.5854, allocations: 103.2 kB / 396.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.5857, allocations: 81.72 kB / 396.2 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5867, allocations: 483.7 kB / 396.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.5868, allocations: 50.3 kB / 396.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5869, allocations: 65.53 kB / 396.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.5884, allocations: 0.6236 MB / 397.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.5885, allocations: 0 / 397.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.389e-05/0.5886, allocations: 35 kB / 397.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5886, allocations: 15.62 kB / 397.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.5898, allocations: 444.6 kB / 397.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.5951, allocations: 2.328 MB / 400.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.5966, allocations: 0.5056 MB / 400.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.5974, allocations: 249.7 kB / 401 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.5974, allocations: 8 kB / 401 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006853/0.5981, allocations: 329.8 kB / 401.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.5982, allocations: 0 / 401.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001307/0.5995, allocations: 447.1 kB / 401.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.5996, allocations: 152.5 kB / 401.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6008, allocations: 392 kB / 402.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.6009, allocations: 45.27 kB / 402.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.6013, allocations: 311 kB / 402.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.6016, allocations: 152.1 kB / 402.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.6017, allocations: 7 kB / 402.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6019, allocations: 370.5 kB / 403.2 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/0.6026, allocations: 154.3 kB / 403.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.6035, allocations: 312.7 kB / 403.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.6044, allocations: 176.9 kB / 403.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.6044, allocations: 0 / 403.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002315/0.6068, allocations: 0.5606 MB / 404.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.6073, allocations: 1.659 MB / 406 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.6074, allocations: 3.875 kB / 406 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006918/0.6081, allocations: 77.83 kB / 406.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.6091, allocations: 108.2 kB / 406.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.6125, allocations: 1.738 MB / 407.9 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.6137, allocations: 79.56 kB / 408 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.6138, allocations: 27.3 kB / 408 MB, free: 20.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6139, allocations: 3.875 kB / 408 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/0.6159, allocations: 491.9 kB / 408.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6159, allocations: 3.969 kB / 408.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.6163, allocations: 79.22 kB / 408.6 MB, free: 20.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.617, allocations: 103.6 kB / 408.7 MB, free: 20.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6193, allocations: 1.731 MB / 410.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.6201, allocations: 72.58 kB / 410.5 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.6202, allocations: 21.94 kB / 410.5 MB, free: 18.7 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.000272/0.6204, allocations: 158.4 kB / 410.7 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6206, allocations: 56.94 kB / 410.7 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6208, allocations: 64.06 kB / 410.8 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.6208, allocations: 5.094 kB / 410.8 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6208, allocations: 0 / 410.8 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6208, allocations: 9.109 kB / 410.8 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.6233, allocations: 1.292 MB / 412.1 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6234, allocations: 0 / 412.1 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.624, allocations: 69.08 kB / 412.2 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/0.6243, allocations: 75.78 kB / 412.2 MB, free: 17.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.6244, allocations: 15.05 kB / 412.3 MB, free: 17.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.6265, allocations: 1.644 MB / 413.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6266, allocations: 0 / 413.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.6283, allocations: 0.7872 MB / 414.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.6287, allocations: 175.9 kB / 414.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6288, allocations: 17.39 kB / 414.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.6295, allocations: 53.73 kB / 414.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.6298, allocations: 56.56 kB / 415 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.6298, allocations: 15.14 kB / 415 MB, free: 16.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005315/0.6304, allocations: 299.5 kB / 415.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6304, allocations: 4 kB / 415.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001244/0.6316, allocations: 285.7 kB / 415.6 MB, free: 15.93 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.002264/0.6339, allocations: 1.436 MB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.6362, allocations: 0.9548 MB / 418 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.6363, allocations: 0 / 418 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.6371, allocations: 358.5 kB / 418.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.6379, allocations: 80.28 kB / 418.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.6411, allocations: 1.011 MB / 419.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.6417, allocations: 0.9251 MB / 420.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008252/0.6426, allocations: 122.4 kB / 420.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.6429, allocations: 216 kB / 420.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6429, allocations: 0 / 420.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.6968, allocations: 13.06 MB / 433.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004543/0.6973, allocations: 260.6 kB / 434 MB, free: 6.512 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/4.062, allocations: 0 / 434 MB, free: 6.512 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat