Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.913e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09436, allocations: 44.52 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5536, allocations: 79.52 MB / 379.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.5541, allocations: 84.47 kB / 379.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.5901, allocations: 9.222 MB / 388.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5901, allocations: 4 kB / 388.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.5902, allocations: 7.594 kB / 388.8 MB, free: 11.96 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00158/0.5918, allocations: 0.6974 MB / 389.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5918, allocations: 7.812 kB / 389.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.5919, allocations: 82.16 kB / 389.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.5921, allocations: 61.11 kB / 389.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.5927, allocations: 368.5 kB / 390 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.5928, allocations: 32.69 kB / 390.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.5929, allocations: 39.91 kB / 390.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.594, allocations: 433.3 kB / 390.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.594, allocations: 3.781 kB / 390.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.5941, allocations: 16 kB / 390.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5941, allocations: 7.469 kB / 390.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.5949, allocations: 305.4 kB / 390.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.5982, allocations: 1.571 MB / 392.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5994, allocations: 344.5 kB / 392.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.5996, allocations: 111.1 kB / 392.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.5997, allocations: 4.109 kB / 392.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.6001, allocations: 237.8 kB / 393.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.6002, allocations: 0 / 393.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008382/0.601, allocations: 315.4 kB / 393.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.6011, allocations: 110.2 kB / 393.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.6015, allocations: 281.5 kB / 393.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.6015, allocations: 47.62 kB / 393.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.6017, allocations: 237.1 kB / 394.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.6018, allocations: 97.61 kB / 394.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.6018, allocations: 6.812 kB / 394.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.6019, allocations: 344.6 kB / 394.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.6022, allocations: 105 kB / 394.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.6026, allocations: 250.6 kB / 394.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.6029, allocations: 130.8 kB / 395 MB, free: 9.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6029, allocations: 0 / 395 MB, free: 9.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008492/0.6037, allocations: 418.1 kB / 395.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003103/0.6041, allocations: 1.663 MB / 397.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6041, allocations: 3.875 kB / 397.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.6044, allocations: 46.69 kB / 397.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.6049, allocations: 81.27 kB / 397.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6062, allocations: 1.494 MB / 398.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.6068, allocations: 74.23 kB / 398.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.6068, allocations: 15.03 kB / 398.8 MB, free: 6.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.6069, allocations: 3.906 kB / 398.8 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007505/0.6076, allocations: 350.4 kB / 399.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6076, allocations: 3.812 kB / 399.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.6078, allocations: 48.61 kB / 399.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.6083, allocations: 69.86 kB / 399.2 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.6099, allocations: 1.49 MB / 400.7 MB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.6104, allocations: 61.12 kB / 400.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.6105, allocations: 15.16 kB / 400.8 MB, free: 20.62 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 (47): * Single equations (assignments): 46 * 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.0001984/0.6107, allocations: 147.9 kB / 400.9 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.6108, allocations: 39.22 kB / 401 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.6109, allocations: 41.45 kB / 401 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6109, allocations: 3.719 kB / 401 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6109, allocations: 0 / 401 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.611, allocations: 3.797 kB / 401 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.6125, allocations: 0.8414 MB / 401.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6125, allocations: 4 kB / 401.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.6129, allocations: 49.61 kB / 401.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.6131, allocations: 34.41 kB / 401.9 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.6131, allocations: 13.92 kB / 402 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.6146, allocations: 1.41 MB / 403.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6146, allocations: 0 / 403.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.6156, allocations: 0.5329 MB / 403.9 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6158, allocations: 133.8 kB / 404 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.6159, allocations: 13.89 kB / 404 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.6164, allocations: 52.73 kB / 404.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6166, allocations: 36.11 kB / 404.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.6166, allocations: 7.812 kB / 404.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.6169, allocations: 215.9 kB / 404.4 MB, free: 18.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6169, allocations: 0 / 404.4 MB, free: 18.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009768/0.6179, allocations: 200.2 kB / 404.6 MB, free: 18.43 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 (28): * Single equations (assignments): 22 * 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.001437/0.6194, allocations: 1.099 MB / 405.6 MB, free: 17.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.6208, allocations: 0.6957 MB / 406.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6208, allocations: 3.844 kB / 406.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.6213, allocations: 256.5 kB / 406.6 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.6218, allocations: 55.12 kB / 406.7 MB, free: 17.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6238, allocations: 0.6892 MB / 407.3 MB, free: 17.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.6243, allocations: 0.8494 MB / 408.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.6248, allocations: 75.05 kB / 408.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.625, allocations: 133.4 kB / 408.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.625, allocations: 3.844 kB / 408.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.7298, allocations: 8.611 MB / 417 MB, free: 12.81 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.7302, allocations: 230.7 kB / 417.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.713, allocations: 0 / 417.2 MB, free: 12.5 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_Characteristic_res.mat does not exist to compare? outputFormat=mat