Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.568e-05, allocations: 4 kB / 269.5 MB, free: 6.281 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 47.58 MB / 317 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5804, allocations: 87.54 MB / 404.6 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5808, allocations: 89.06 kB / 404.7 MB, free: 120 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06199/0.6428, allocations: 13.55 MB / 418.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6429, allocations: 0 / 418.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.643, allocations: 16 kB / 418.2 MB, free: 4.633 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003506/0.6465, allocations: 0.8765 MB / 419.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.6466, allocations: 12.03 kB / 419.1 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003018/0.6469, allocations: 104.7 kB / 419.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.6473, allocations: 83.06 kB / 419.3 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.6491, allocations: 0.4937 MB / 419.8 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.6492, allocations: 48.31 kB / 419.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.6494, allocations: 67.25 kB / 419.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.652, allocations: 0.6589 MB / 420.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.652, allocations: 4 kB / 420.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6522, allocations: 23 kB / 420.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.6522, allocations: 16 kB / 420.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.6542, allocations: 480.4 kB / 421.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.6621, allocations: 2.605 MB / 423.7 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.6645, allocations: 0.5608 MB / 424.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.6657, allocations: 305.1 kB / 424.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.42e-05/0.6658, allocations: 8.438 kB / 424.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.6669, allocations: 337.8 kB / 424.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 4.358e-06/0.6669, allocations: 0 / 424.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001988/0.6689, allocations: 0.5111 MB / 425.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6691, allocations: 115.4 kB / 425.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6702, allocations: 430.9 kB / 425.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6703, allocations: 42.33 kB / 426 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.6707, allocations: 306.8 kB / 426.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.671, allocations: 172.1 kB / 426.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.6711, allocations: 7.312 kB / 426.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.6714, allocations: 365.7 kB / 426.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/0.6721, allocations: 180.1 kB / 427 MB, free: 13.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.673, allocations: 335 kB / 427.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.6738, allocations: 192.5 kB / 427.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.6739, allocations: 7.953 kB / 427.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002454/0.6763, allocations: 0.6375 MB / 428.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009179/0.6773, allocations: 1.576 MB / 429.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.6773, allocations: 4 kB / 429.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.6784, allocations: 150.2 kB / 429.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.6793, allocations: 91.58 kB / 430 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.6852, allocations: 2.35 MB / 432.3 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6864, allocations: 85.62 kB / 432.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.6866, allocations: 26.94 kB / 432.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6866, allocations: 4 kB / 432.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/0.6888, allocations: 0.5587 MB / 433 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6888, allocations: 7.938 kB / 433 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009433/0.6898, allocations: 158.3 kB / 433.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/0.6905, allocations: 78.34 kB / 433.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005466/0.696, allocations: 2.335 MB / 435.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/0.697, allocations: 69.92 kB / 435.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.6971, allocations: 23.5 kB / 435.6 MB, free: 6.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/0.6975, allocations: 161.3 kB / 435.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.6977, allocations: 63.23 kB / 435.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.698, allocations: 64.36 kB / 435.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.698, allocations: 11.95 kB / 435.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.698, allocations: 0 / 435.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6981, allocations: 7.984 kB / 435.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/0.7025, allocations: 1.343 MB / 437.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.7026, allocations: 0 / 437.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.7031, allocations: 43.95 kB / 437.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.7041, allocations: 142.8 kB / 437.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.7042, allocations: 14.86 kB / 437.5 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005497/0.7097, allocations: 2.25 MB / 439.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.7097, allocations: 4 kB / 439.7 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.7129, allocations: 0.8795 MB / 440.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.7134, allocations: 191.2 kB / 440.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.7136, allocations: 10.88 kB / 440.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/0.7145, allocations: 42.7 kB / 440.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.7149, allocations: 78.53 kB / 440.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.715, allocations: 15.3 kB / 440.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.7158, allocations: 328.7 kB / 441.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.647e-06/0.7158, allocations: 0 / 441.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002284/0.7181, allocations: 337 kB / 441.6 MB, free: 1.176 MB / 346.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003757/0.7219, allocations: 1.542 MB / 443.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.7258, allocations: 1.109 MB / 444.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.7258, allocations: 4 kB / 444.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.7273, allocations: 437.8 kB / 444.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7285, allocations: 103.4 kB / 444.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.7324, allocations: 1.024 MB / 445.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.7332, allocations: 0.9438 MB / 446.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007319/0.734, allocations: 108.7 kB / 446.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.7344, allocations: 215.4 kB / 447.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.7345, allocations: 0 / 447.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07465/0.8091, allocations: 15.8 MB / 462.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/0.8095, allocations: 226.6 kB / 463.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.182, allocations: 0 / 463.1 MB, free: 12.16 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat