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.973/1.973, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.382e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09691, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5279, allocations: 79.54 MB / 379.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5283, allocations: 83.09 kB / 379.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0377/0.566, allocations: 9.227 MB / 388.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5661, allocations: 0 / 388.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.5661, allocations: 8.781 kB / 388.9 MB, free: 11.53 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.001655/0.5678, allocations: 0.7097 MB / 389.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5678, allocations: 11.62 kB / 389.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.568, allocations: 73.92 kB / 389.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.5681, allocations: 61.77 kB / 389.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.5688, allocations: 363.2 kB / 390.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.5688, allocations: 36.25 kB / 390.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.5689, allocations: 48.53 kB / 390.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.5699, allocations: 431 kB / 390.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5699, allocations: 0 / 390.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.57, allocations: 17.03 kB / 390.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.57, allocations: 7.688 kB / 390.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.5708, allocations: 287.5 kB / 390.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.5745, allocations: 1.568 MB / 392.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.5758, allocations: 340.4 kB / 392.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.5761, allocations: 106.9 kB / 392.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.5761, allocations: 8.047 kB / 392.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005054/0.5766, allocations: 243.6 kB / 393.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.566e-06/0.5767, allocations: 0 / 393.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009206/0.5776, allocations: 317.7 kB / 393.4 MB, free: 9.816 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.5777, allocations: 114.4 kB / 393.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.5781, allocations: 271.1 kB / 393.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.5782, allocations: 46.44 kB / 393.9 MB, free: 9.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.5784, allocations: 243.5 kB / 394.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.5785, allocations: 89.84 kB / 394.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.5785, allocations: 11.5 kB / 394.2 MB, free: 9.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.5786, allocations: 348.9 kB / 394.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.5789, allocations: 108.6 kB / 394.6 MB, free: 9.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.5793, allocations: 247 kB / 394.9 MB, free: 8.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.5796, allocations: 131.7 kB / 395 MB, free: 8.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5796, allocations: 0 / 395 MB, free: 8.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009246/0.5805, allocations: 405.7 kB / 395.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.5809, allocations: 1.653 MB / 397.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.581, allocations: 11.75 kB / 397.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.5813, allocations: 42.61 kB / 397.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.5819, allocations: 77.67 kB / 397.2 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.5837, allocations: 1.498 MB / 398.7 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.5844, allocations: 69.92 kB / 398.7 MB, free: 21.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.5845, allocations: 15.38 kB / 398.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5846, allocations: 3.875 kB / 398.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008715/0.5854, allocations: 344.7 kB / 399.1 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5855, allocations: 3.844 kB / 399.1 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.5857, allocations: 42.47 kB / 399.1 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.5862, allocations: 70.81 kB / 399.2 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.5879, allocations: 1.49 MB / 400.7 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.5885, allocations: 70.16 kB / 400.8 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.5886, allocations: 19.22 kB / 400.8 MB, free: 20.2 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.000248/0.5889, allocations: 138.4 kB / 400.9 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.589, allocations: 35.06 kB / 401 MB, free: 20.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.5891, allocations: 38.8 kB / 401 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5891, allocations: 3.875 kB / 401 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5891, allocations: 4 kB / 401 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5891, allocations: 3.875 kB / 401 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.5909, allocations: 0.8442 MB / 401.9 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.591, allocations: 3.938 kB / 401.9 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.5914, allocations: 46.83 kB / 401.9 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.5917, allocations: 38.77 kB / 401.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5917, allocations: 7.781 kB / 402 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.5933, allocations: 1.415 MB / 403.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5934, allocations: 0 / 403.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5947, allocations: 0.5271 MB / 403.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.595, allocations: 139.1 kB / 404 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.5951, allocations: 6.719 kB / 404 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.5957, allocations: 50.59 kB / 404.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.5959, allocations: 35.81 kB / 404.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.5959, allocations: 10.72 kB / 404.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003735/0.5963, allocations: 215.6 kB / 404.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5963, allocations: 4 kB / 404.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001176/0.5975, allocations: 198.1 kB / 404.5 MB, free: 18 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.001604/0.5991, allocations: 1.088 MB / 405.6 MB, free: 17.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.6006, allocations: 0.6797 MB / 406.3 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6006, allocations: 0 / 406.3 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.6011, allocations: 244.8 kB / 406.5 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.6017, allocations: 53.53 kB / 406.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.6041, allocations: 0.6854 MB / 407.3 MB, free: 16.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.6048, allocations: 0.8472 MB / 408.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005986/0.6054, allocations: 81.19 kB / 408.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.6057, allocations: 136.5 kB / 408.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6057, allocations: 4 kB / 408.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.6549, allocations: 8.567 MB / 416.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003825/0.6554, allocations: 233.3 kB / 417.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.504, allocations: 0 / 417.1 MB, free: 12.11 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