Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.973e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5489, allocations: 84.42 MB / 401.5 MB, free: 3.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.5492, allocations: 84.89 kB / 401.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04242/0.5917, allocations: 9.588 MB / 411.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5917, allocations: 3.938 kB / 411.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.5918, allocations: 8 kB / 411.1 MB, free: 11.13 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001826/0.5936, allocations: 0.6822 MB / 411.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.5937, allocations: 12.03 kB / 411.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.5939, allocations: 77.03 kB / 411.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.594, allocations: 51.44 kB / 412 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/0.5949, allocations: 376 kB / 412.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.595, allocations: 32.41 kB / 412.4 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5951, allocations: 43.42 kB / 412.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5961, allocations: 426.3 kB / 412.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.5962, allocations: 0 / 412.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.5963, allocations: 15.38 kB / 412.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5963, allocations: 12 kB / 412.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.5971, allocations: 288 kB / 413.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.6012, allocations: 1.562 MB / 414.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.6019, allocations: 224.5 kB / 414.9 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.6021, allocations: 95.28 kB / 415 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.6022, allocations: 4 kB / 415 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/0.6027, allocations: 223.4 kB / 415.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/0.6027, allocations: 0 / 415.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009791/0.6037, allocations: 290.2 kB / 415.5 MB, free: 7.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.6038, allocations: 110.2 kB / 415.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.6044, allocations: 300.2 kB / 415.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.6044, allocations: 40.25 kB / 415.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.6047, allocations: 249.3 kB / 416.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.6048, allocations: 83.62 kB / 416.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.6048, allocations: 5.875 kB / 416.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.605, allocations: 346.9 kB / 416.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.6053, allocations: 103.1 kB / 416.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.6057, allocations: 248.7 kB / 417 MB, free: 6.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.6061, allocations: 125.8 kB / 417.1 MB, free: 6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6061, allocations: 4 kB / 417.1 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001001/0.6071, allocations: 388.7 kB / 417.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006947/0.6078, allocations: 1.656 MB / 419.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.6079, allocations: 7.984 kB / 419.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.6082, allocations: 48.14 kB / 419.2 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.6087, allocations: 67.22 kB / 419.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.6105, allocations: 1.497 MB / 420.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.6113, allocations: 79.22 kB / 420.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.6113, allocations: 19.25 kB / 420.8 MB, free: 2.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6114, allocations: 7.938 kB / 420.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008571/0.6122, allocations: 330.2 kB / 421.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6123, allocations: 4 kB / 421.2 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.6125, allocations: 46.7 kB / 421.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.6129, allocations: 55.48 kB / 421.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.6146, allocations: 1.49 MB / 422.8 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.6152, allocations: 66.34 kB / 422.8 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.6153, allocations: 19.73 kB / 422.8 MB, free: 264 kB / 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.0002259/0.6155, allocations: 151 kB / 423 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.6156, allocations: 38.56 kB / 423 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.6158, allocations: 37 kB / 423.1 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6158, allocations: 4 kB / 423.1 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6158, allocations: 4 kB / 423.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6158, allocations: 0 / 423.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.6177, allocations: 0.8185 MB / 423.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6177, allocations: 0 / 423.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.618, allocations: 27.42 kB / 423.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.6182, allocations: 46.89 kB / 424 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.6183, allocations: 11.27 kB / 424 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.6198, allocations: 1.414 MB / 425.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6198, allocations: 0 / 425.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.621, allocations: 0.4901 MB / 425.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.6212, allocations: 138.7 kB / 426 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.6213, allocations: 3.25 kB / 426 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.6218, allocations: 39.28 kB / 426 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.622, allocations: 30.27 kB / 426.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.622, allocations: 12.08 kB / 426.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003872/0.6224, allocations: 230.4 kB / 426.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6224, allocations: 0 / 426.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001127/0.6235, allocations: 192.8 kB / 426.5 MB, free: 12.88 MB / 346.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.001536/0.6251, allocations: 1.076 MB / 427.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.6266, allocations: 0.6613 MB / 428.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6267, allocations: 0 / 428.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004607/0.6271, allocations: 234.7 kB / 428.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.6277, allocations: 60.88 kB / 428.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.63, allocations: 0.6631 MB / 429.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6305, allocations: 0.8389 MB / 430 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005249/0.631, allocations: 83.48 kB / 430.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.6313, allocations: 133.7 kB / 430.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6313, allocations: 0 / 430.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.6806, allocations: 8.458 MB / 438.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.681, allocations: 213.5 kB / 438.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.561, allocations: 4 kB / 438.9 MB, free: 0.8984 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat