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.209/2.209, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.762e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.359, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.536, allocations: 81.66 MB / 375.9 MB, free: 168 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004849/0.5366, allocations: 88.5 kB / 376 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05796/0.5946, allocations: 12.62 MB / 388.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5946, allocations: 4 kB / 388.6 MB, free: 3.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.5947, allocations: 16 kB / 388.6 MB, free: 3.375 MB / 330.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.002711/0.5974, allocations: 0.8769 MB / 389.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5975, allocations: 12.03 kB / 389.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.5979, allocations: 79.06 kB / 389.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5992, allocations: 492 kB / 390.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.5993, allocations: 20 kB / 390.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.5995, allocations: 36 kB / 390.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001297/0.6008, allocations: 410.5 kB / 390.5 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6023, allocations: 0.5421 MB / 391.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6024, allocations: 7.891 kB / 391.1 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6025, allocations: 4 kB / 391.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.6025, allocations: 16 kB / 391.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006005/0.6085, allocations: 2.2 MB / 393.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.6102, allocations: 488 kB / 393.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.611, allocations: 245.5 kB / 394 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.6111, allocations: 4.375 kB / 394 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007468/0.6119, allocations: 299.8 kB / 394.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.018e-06/0.6119, allocations: 0 / 394.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001296/0.6132, allocations: 424.3 kB / 394.7 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6133, allocations: 141.5 kB / 394.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.6141, allocations: 345.8 kB / 395.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6142, allocations: 37.64 kB / 395.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6146, allocations: 312.2 kB / 395.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.6148, allocations: 149.9 kB / 395.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.6149, allocations: 0 / 395.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.6151, allocations: 370.8 kB / 396.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.6155, allocations: 141.1 kB / 396.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.6161, allocations: 295.5 kB / 396.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.6166, allocations: 165.2 kB / 396.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6166, allocations: 3.938 kB / 396.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001421/0.618, allocations: 0.5 MB / 397.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009811/0.6191, allocations: 1.661 MB / 398.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.6191, allocations: 4 kB / 398.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.6196, allocations: 80.77 kB / 398.9 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.6205, allocations: 107.8 kB / 399 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.6232, allocations: 1.686 MB / 400.7 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.6241, allocations: 75.61 kB / 400.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.6241, allocations: 24 kB / 400.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6242, allocations: 4.781 kB / 400.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.6254, allocations: 427.5 kB / 401.2 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6254, allocations: 4 kB / 401.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.6258, allocations: 80.81 kB / 401.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007161/0.6265, allocations: 99.81 kB / 401.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.6289, allocations: 1.686 MB / 403.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.6297, allocations: 59.72 kB / 403.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.6298, allocations: 20 kB / 403.1 MB, free: 4.086 MB / 346.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.0002706/0.6301, allocations: 139.9 kB / 403.3 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001145/0.6312, allocations: 432.3 kB / 403.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6314, allocations: 55.38 kB / 403.8 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.6316, allocations: 52.97 kB / 403.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6316, allocations: 4 kB / 403.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6316, allocations: 0 / 403.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6316, allocations: 4.047 kB / 403.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.6343, allocations: 1.168 MB / 405 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6344, allocations: 0 / 405 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.635, allocations: 71.83 kB / 405.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003634/0.6354, allocations: 72.81 kB / 405.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.6355, allocations: 8.031 kB / 405.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.6379, allocations: 1.588 MB / 406.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.6379, allocations: 0 / 406.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.6409, allocations: 0.7403 MB / 407.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.6416, allocations: 172.4 kB / 407.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.6418, allocations: 0 / 407.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6429, allocations: 52.02 kB / 407.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.6434, allocations: 52.3 kB / 407.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6436, allocations: 23.92 kB / 407.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008707/0.6444, allocations: 259 kB / 408 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6445, allocations: 0 / 408 MB, free: 14.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002394/0.6469, allocations: 267 kB / 408.3 MB, free: 14.72 MB / 362.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.00309/0.65, allocations: 1.387 MB / 409.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.6522, allocations: 0.8831 MB / 410.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6523, allocations: 0 / 410.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.653, allocations: 339.3 kB / 410.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.6538, allocations: 61.83 kB / 410.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.6571, allocations: 0.9662 MB / 411.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.6578, allocations: 0.9303 MB / 412.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007761/0.6586, allocations: 104.3 kB / 412.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.659, allocations: 211.4 kB / 413.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6591, allocations: 4 kB / 413.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/1.004, allocations: 11.59 MB / 424.7 MB, free: 106 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.005, allocations: 219.8 kB / 424.9 MB, free: 105.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/4.212, allocations: 0 / 424.9 MB, free: 105.8 MB / 362.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