Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.085e-05, allocations: 4 kB / 292.8 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.4 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.5888, allocations: 85.99 MB / 429.2 MB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004707/0.5893, allocations: 89.06 kB / 429.2 MB, free: 8.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06722/0.6566, allocations: 10.33 MB / 439.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.436e-06/0.6566, allocations: 0 / 439.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.041e-05/0.6567, allocations: 15.94 kB / 439.6 MB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002593/0.6593, allocations: 0.6958 MB / 440.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.6594, allocations: 12.03 kB / 440.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.6597, allocations: 74.72 kB / 440.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.6599, allocations: 55.34 kB / 440.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.6611, allocations: 384.3 kB / 440.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.6612, allocations: 37.62 kB / 440.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6614, allocations: 48.98 kB / 440.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.6632, allocations: 465.2 kB / 441.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.6632, allocations: 3.906 kB / 441.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6634, allocations: 17.94 kB / 441.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.6634, allocations: 12 kB / 441.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.6648, allocations: 314 kB / 441.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/0.6708, allocations: 1.645 MB / 443.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.6721, allocations: 282.8 kB / 443.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.6726, allocations: 104.3 kB / 443.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.6726, allocations: 7.922 kB / 443.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007731/0.6734, allocations: 236.9 kB / 443.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 4.148e-06/0.6735, allocations: 0 / 443.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001407/0.6749, allocations: 317.7 kB / 444.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.675, allocations: 136.3 kB / 444.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/0.6758, allocations: 309.5 kB / 444.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-05/0.676, allocations: 45.31 kB / 444.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.6763, allocations: 243.8 kB / 445 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6765, allocations: 97.62 kB / 445.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.6765, allocations: 11.56 kB / 445.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.6768, allocations: 349.1 kB / 445.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.6773, allocations: 117.6 kB / 445.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.6779, allocations: 264.5 kB / 445.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.6786, allocations: 135.3 kB / 445.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.6786, allocations: 4 kB / 445.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002296/0.681, allocations: 413.5 kB / 446.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006943/0.6817, allocations: 1.66 MB / 448 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.6817, allocations: 8 kB / 448 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.682, allocations: 46.78 kB / 448 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.6826, allocations: 75.14 kB / 448.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6843, allocations: 1.489 MB / 449.6 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.6851, allocations: 78.45 kB / 449.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.6851, allocations: 23.52 kB / 449.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6851, allocations: 4 kB / 449.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008885/0.686, allocations: 351.6 kB / 450 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6861, allocations: 4 kB / 450.1 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.6863, allocations: 48.41 kB / 450.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.6867, allocations: 62.97 kB / 450.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.6883, allocations: 1.491 MB / 451.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.6889, allocations: 66.97 kB / 451.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.6889, allocations: 14.94 kB / 451.7 MB, free: 4.223 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (48): * Single equations (assignments): 47 * 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.0002018/0.6891, allocations: 148.6 kB / 451.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.6892, allocations: 39.52 kB / 451.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.6894, allocations: 40.12 kB / 452 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.6894, allocations: 4 kB / 452 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6894, allocations: 4 kB / 452 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6894, allocations: 0 / 452 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.6912, allocations: 0.8739 MB / 452.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6913, allocations: 8 kB / 452.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.6915, allocations: 31.61 kB / 452.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.6918, allocations: 43.89 kB / 452.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.6918, allocations: 11.89 kB / 452.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.6933, allocations: 1.409 MB / 454.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6934, allocations: 0 / 454.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6945, allocations: 0.5402 MB / 454.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.6947, allocations: 143.4 kB / 455 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.6948, allocations: 7.75 kB / 455 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.6953, allocations: 39.97 kB / 455.1 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6955, allocations: 30.33 kB / 455.1 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.6955, allocations: 15.8 kB / 455.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.6959, allocations: 235.6 kB / 455.3 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6959, allocations: 0 / 455.3 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001162/0.6971, allocations: 204.8 kB / 455.5 MB, free: 0.7305 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (27): * Single equations (assignments): 21 * 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.001576/0.6987, allocations: 1.113 MB / 456.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.7002, allocations: 0.6968 MB / 457.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7003, allocations: 2.125 kB / 457.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.7008, allocations: 242.7 kB / 457.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.7014, allocations: 51.88 kB / 457.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.7038, allocations: 0.7124 MB / 458.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.7046, allocations: 0.8564 MB / 459.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005887/0.7052, allocations: 95.56 kB / 459.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.7055, allocations: 138.8 kB / 459.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7055, allocations: 0 / 459.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.744, allocations: 8.882 MB / 468.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/0.7444, allocations: 215.3 kB / 468.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/3.694, allocations: 0 / 468.5 MB, free: 4.316 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat