Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.695e-05, allocations: 3.406 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5965, allocations: 81.65 MB / 376 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5968, allocations: 86.86 kB / 376.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05146/0.6483, allocations: 12.63 MB / 388.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6484, allocations: 0 / 388.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.572e-05/0.6484, allocations: 22.47 kB / 388.7 MB, free: 18.22 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.002263/0.6507, allocations: 0.8783 MB / 389.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6508, allocations: 7.75 kB / 389.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.651, allocations: 80.97 kB / 389.7 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6522, allocations: 477.2 kB / 390.1 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.6522, allocations: 27.23 kB / 390.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6524, allocations: 42.66 kB / 390.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/0.6536, allocations: 403.9 kB / 390.6 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6549, allocations: 0.5436 MB / 391.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.655, allocations: 3.953 kB / 391.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.6551, allocations: 7.312 kB / 391.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.6551, allocations: 15.41 kB / 391.2 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.6602, allocations: 2.203 MB / 393.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.6618, allocations: 488.1 kB / 393.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.6626, allocations: 250.7 kB / 394.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.6627, allocations: 7.578 kB / 394.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007541/0.6635, allocations: 299.7 kB / 394.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.416e-06/0.6635, allocations: 0 / 394.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001218/0.6647, allocations: 426.2 kB / 394.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.6648, allocations: 135.4 kB / 394.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.6655, allocations: 342.6 kB / 395.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/0.6656, allocations: 36.38 kB / 395.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.6659, allocations: 307.4 kB / 395.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.6661, allocations: 151.1 kB / 395.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.6662, allocations: 0 / 395.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6664, allocations: 364.1 kB / 396.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.6668, allocations: 146.3 kB / 396.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.6673, allocations: 296.9 kB / 396.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.6678, allocations: 165.9 kB / 396.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6678, allocations: 4 kB / 396.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001306/0.6691, allocations: 0.5033 MB / 397.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000733/0.6698, allocations: 1.657 MB / 398.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6699, allocations: 3.875 kB / 398.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.6704, allocations: 88.7 kB / 399 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.6712, allocations: 107.7 kB / 399.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.6737, allocations: 1.688 MB / 400.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/0.6746, allocations: 66.59 kB / 400.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.6747, allocations: 27.02 kB / 400.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6747, allocations: 4.906 kB / 400.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.6759, allocations: 420.3 kB / 401.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6759, allocations: 3.938 kB / 401.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.6763, allocations: 80.75 kB / 401.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.677, allocations: 105.2 kB / 401.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.6796, allocations: 1.698 MB / 403.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.6804, allocations: 54.5 kB / 403.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.6805, allocations: 27.22 kB / 403.2 MB, free: 9.297 MB / 314.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.0002971/0.6808, allocations: 143.3 kB / 403.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001137/0.682, allocations: 419.4 kB / 403.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6821, allocations: 54.39 kB / 403.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.6823, allocations: 53.67 kB / 403.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6824, allocations: 3.125 kB / 403.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6824, allocations: 0 / 403.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6824, allocations: 2.906 kB / 403.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.6851, allocations: 1.168 MB / 405.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.6852, allocations: 0 / 405.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.6859, allocations: 65.83 kB / 405.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.6863, allocations: 78.41 kB / 405.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.6864, allocations: 3.938 kB / 405.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.6886, allocations: 1.593 MB / 406.8 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.6887, allocations: 3.969 kB / 406.8 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.6904, allocations: 0.7441 MB / 407.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.6908, allocations: 173.6 kB / 407.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6909, allocations: 11.67 kB / 407.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.6916, allocations: 42.67 kB / 407.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.6919, allocations: 58.39 kB / 407.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.6919, allocations: 15.17 kB / 407.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004309/0.6924, allocations: 258.8 kB / 408.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6924, allocations: 0 / 408.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001426/0.6938, allocations: 264 kB / 408.3 MB, free: 6.512 MB / 314.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.002194/0.696, allocations: 1.385 MB / 409.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.6982, allocations: 0.8874 MB / 410.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.6983, allocations: 3.938 kB / 410.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.6991, allocations: 337 kB / 410.9 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.7, allocations: 69.83 kB / 411 MB, free: 5.195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.7036, allocations: 0.9562 MB / 412 MB, free: 4.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.7044, allocations: 0.9322 MB / 412.9 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008588/0.7053, allocations: 106.3 kB / 413 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.7057, allocations: 213.5 kB / 413.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7057, allocations: 0 / 413.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07255/0.7783, allocations: 11.59 MB / 424.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003862/0.7787, allocations: 234.3 kB / 425 MB, free: 8.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.325/4.103, allocations: 0 / 425 MB, free: 8.785 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat