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.028/2.028, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.518e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4724, allocations: 80.9 MB / 375.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.4727, allocations: 87.06 kB / 375.2 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05228/0.525, allocations: 11.91 MB / 387.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5251, allocations: 0 / 387.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.5252, allocations: 15.98 kB / 387.1 MB, free: 4.922 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002251/0.5274, allocations: 0.8126 MB / 387.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5275, allocations: 8.031 kB / 387.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.5278, allocations: 79.11 kB / 388 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.5289, allocations: 472.5 kB / 388.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.529, allocations: 20 kB / 388.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.5291, allocations: 39.89 kB / 388.5 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/0.5303, allocations: 390.5 kB / 388.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.5317, allocations: 0.4988 MB / 389.4 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.5318, allocations: 4 kB / 389.4 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.5319, allocations: 0 / 389.4 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.5319, allocations: 15.95 kB / 389.4 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.5372, allocations: 2.084 MB / 391.5 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5387, allocations: 427.9 kB / 391.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.5394, allocations: 209.5 kB / 392.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.5395, allocations: 8.328 kB / 392.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.5402, allocations: 289.9 kB / 392.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.005e-06/0.5402, allocations: 0 / 392.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.001152/0.5414, allocations: 377.8 kB / 392.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.5415, allocations: 144.4 kB / 392.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.5422, allocations: 349.2 kB / 393.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.5423, allocations: 37.64 kB / 393.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.5426, allocations: 338.7 kB / 393.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.5428, allocations: 130.2 kB / 393.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.5428, allocations: 0 / 393.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.543, allocations: 334.8 kB / 394.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.5434, allocations: 141 kB / 394.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.544, allocations: 283.6 kB / 394.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.5444, allocations: 149.4 kB / 394.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5444, allocations: 7.953 kB / 394.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001256/0.5457, allocations: 465.7 kB / 395.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007857/0.5465, allocations: 1.659 MB / 396.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5466, allocations: 4 kB / 396.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.5471, allocations: 88.81 kB / 396.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.5478, allocations: 87.83 kB / 397 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.5506, allocations: 1.788 MB / 398.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/0.5515, allocations: 75.61 kB / 398.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.5516, allocations: 20 kB / 398.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5516, allocations: 4 kB / 398.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/0.5527, allocations: 412.9 kB / 399.3 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5527, allocations: 8 kB / 399.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.5531, allocations: 84.81 kB / 399.3 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.5537, allocations: 75.84 kB / 399.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.5564, allocations: 1.795 MB / 401.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.5571, allocations: 63.61 kB / 401.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.5572, allocations: 20 kB / 401.3 MB, free: 5.977 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 (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.0002696/0.5574, allocations: 147 kB / 401.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001156/0.5586, allocations: 377.8 kB / 401.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.5588, allocations: 47.44 kB / 401.9 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.5589, allocations: 52.89 kB / 401.9 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.559, allocations: 7.953 kB / 401.9 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.559, allocations: 0 / 401.9 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.559, allocations: 48 / 401.9 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.5615, allocations: 1.113 MB / 403 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5616, allocations: 0 / 403 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.562, allocations: 39.97 kB / 403.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.5624, allocations: 88.78 kB / 403.2 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.5625, allocations: 4 kB / 403.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.5651, allocations: 1.686 MB / 404.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5651, allocations: 0 / 404.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5668, allocations: 0.688 MB / 405.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5672, allocations: 168.5 kB / 405.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.5673, allocations: 0 / 405.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.5679, allocations: 31.97 kB / 405.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.5681, allocations: 59.86 kB / 405.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.5682, allocations: 15.98 kB / 405.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004717/0.5687, allocations: 262.9 kB / 406.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5687, allocations: 0 / 406.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001478/0.5702, allocations: 251.2 kB / 406.3 MB, free: 0.7344 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: 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.002084/0.5723, allocations: 1.312 MB / 407.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.5745, allocations: 0.8529 MB / 408.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5745, allocations: 0 / 408.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.5753, allocations: 327.6 kB / 408.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.576, allocations: 70.16 kB / 408.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.579, allocations: 0.8572 MB / 409.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.5797, allocations: 0.9059 MB / 410.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.5802, allocations: 203.4 kB / 410.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5802, allocations: 0 / 410.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.898/3.478, allocations: 11.51 MB / 422.3 MB, free: 0.5781 MB / 362.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