Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.979e-05, allocations: 0 / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09497, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5275, allocations: 79.33 MB / 379.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5278, allocations: 81.09 kB / 379.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03662/0.5644, allocations: 9.113 MB / 388.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5645, allocations: 0 / 388.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.66e-05/0.5645, allocations: 8.984 kB / 388.5 MB, free: 11.82 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0015/0.566, allocations: 0.6833 MB / 389.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5661, allocations: 11.53 kB / 389.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.5662, allocations: 76.22 kB / 389.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.5664, allocations: 54.05 kB / 389.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.5671, allocations: 367 kB / 389.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.5672, allocations: 38 kB / 389.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/0.5673, allocations: 37.94 kB / 389.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.5683, allocations: 428.1 kB / 390.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5684, allocations: 10.06 kB / 390.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.5685, allocations: 12.38 kB / 390.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5685, allocations: 7.781 kB / 390.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.5693, allocations: 289.1 kB / 390.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.5728, allocations: 1.558 MB / 392.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.5734, allocations: 229 kB / 392.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5736, allocations: 93.42 kB / 392.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.5737, allocations: 3.906 kB / 392.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.5741, allocations: 216.3 kB / 392.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/0.5742, allocations: 3.938 kB / 392.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008541/0.575, allocations: 297.5 kB / 392.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.5751, allocations: 110.5 kB / 393 MB, free: 9.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.5756, allocations: 299.5 kB / 393.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.5756, allocations: 37.14 kB / 393.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5758, allocations: 245.4 kB / 393.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.576, allocations: 88.38 kB / 393.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.576, allocations: 3.938 kB / 393.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.5761, allocations: 345.1 kB / 394 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5764, allocations: 105.3 kB / 394.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.5767, allocations: 246.2 kB / 394.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.577, allocations: 128.6 kB / 394.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.577, allocations: 3.875 kB / 394.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009047/0.578, allocations: 411.7 kB / 394.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00035/0.5783, allocations: 1.657 MB / 396.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5784, allocations: 3.875 kB / 396.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.5787, allocations: 43.36 kB / 396.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.5792, allocations: 72.95 kB / 396.6 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.5806, allocations: 1.492 MB / 398.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.5813, allocations: 76.73 kB / 398.2 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.5814, allocations: 15.09 kB / 398.2 MB, free: 5.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5814, allocations: 3.875 kB / 398.2 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007707/0.5822, allocations: 345 kB / 398.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5822, allocations: 7.781 kB / 398.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.5824, allocations: 41.5 kB / 398.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.5828, allocations: 61.61 kB / 398.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5846, allocations: 1.492 MB / 400.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.5853, allocations: 67.91 kB / 400.2 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.5853, allocations: 18.75 kB / 400.2 MB, free: 20.48 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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.5855, allocations: 143.7 kB / 400.4 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.5856, allocations: 31.25 kB / 400.4 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.5857, allocations: 45.2 kB / 400.5 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5858, allocations: 3.875 kB / 400.5 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5858, allocations: 0 / 400.5 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.5858, allocations: 3.953 kB / 400.5 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.5874, allocations: 0.8191 MB / 401.3 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5874, allocations: 4 kB / 401.3 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5877, allocations: 20.09 kB / 401.3 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.5879, allocations: 47.41 kB / 401.4 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.588, allocations: 3.375 kB / 401.4 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.5894, allocations: 1.41 MB / 402.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5895, allocations: 3.938 kB / 402.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5906, allocations: 0.496 MB / 403.3 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.5908, allocations: 137.4 kB / 403.4 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.5909, allocations: 11.09 kB / 403.4 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.5913, allocations: 37.27 kB / 403.4 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.5915, allocations: 29.08 kB / 403.5 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5915, allocations: 14.86 kB / 403.5 MB, free: 18.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003808/0.5919, allocations: 222.9 kB / 403.7 MB, free: 18.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5919, allocations: 4 kB / 403.7 MB, free: 18.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001026/0.593, allocations: 195.1 kB / 403.9 MB, free: 18.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/0.5945, allocations: 1.052 MB / 405 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.596, allocations: 0.6899 MB / 405.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.596, allocations: 4.094 kB / 405.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.5965, allocations: 242.2 kB / 405.9 MB, free: 17.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.597, allocations: 44.91 kB / 405.9 MB, free: 17.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.5992, allocations: 0.6525 MB / 406.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.5997, allocations: 0.8425 MB / 407.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005002/0.6002, allocations: 76.23 kB / 407.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.6005, allocations: 135.7 kB / 407.6 MB, free: 16.23 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6005, allocations: 4 kB / 407.6 MB, free: 16.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.6363, allocations: 8.351 MB / 416 MB, free: 12.9 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.6365, allocations: 222.8 kB / 416.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/3.726, allocations: 3.875 kB / 416.2 MB, free: 12.67 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat