Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.435e-05, allocations: 0 / 269.5 MB, free: 6.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 47.57 MB / 317 MB, free: 6.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5642, allocations: 84.62 MB / 401.7 MB, free: 3.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.5647, allocations: 81.02 kB / 401.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04314/0.6078, allocations: 9.718 MB / 411.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6079, allocations: 0 / 411.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.6079, allocations: 12 kB / 411.5 MB, free: 10.75 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001943/0.6099, allocations: 0.7045 MB / 412.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.61, allocations: 12.02 kB / 412.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.6101, allocations: 73.59 kB / 412.3 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.6103, allocations: 55.34 kB / 412.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.6112, allocations: 380.6 kB / 412.7 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.6113, allocations: 37.59 kB / 412.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6114, allocations: 44.67 kB / 412.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6125, allocations: 425.8 kB / 413.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6126, allocations: 0 / 413.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.6127, allocations: 16.94 kB / 413.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.6127, allocations: 15.94 kB / 413.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.6136, allocations: 293.2 kB / 413.5 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.6177, allocations: 1.584 MB / 415.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6191, allocations: 343.6 kB / 415.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.6194, allocations: 109 kB / 415.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.6195, allocations: 4.234 kB / 415.5 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.6201, allocations: 240.1 kB / 415.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.366e-06/0.6201, allocations: 4 kB / 415.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001049/0.6212, allocations: 302.8 kB / 416.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.6213, allocations: 118.8 kB / 416.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.6219, allocations: 285.3 kB / 416.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.622, allocations: 40.88 kB / 416.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.6222, allocations: 239.3 kB / 416.7 MB, free: 6.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6224, allocations: 96.58 kB / 416.8 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.6224, allocations: 11.5 kB / 416.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6226, allocations: 344.5 kB / 417.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.623, allocations: 102.9 kB / 417.3 MB, free: 5.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.6234, allocations: 248.1 kB / 417.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.6238, allocations: 118.8 kB / 417.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.6238, allocations: 4 kB / 417.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001067/0.6249, allocations: 399.9 kB / 418 MB, free: 5.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007013/0.6256, allocations: 1.663 MB / 419.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6256, allocations: 4 kB / 419.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.626, allocations: 40.66 kB / 419.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.6266, allocations: 78.95 kB / 419.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6284, allocations: 1.488 MB / 421.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.6291, allocations: 78.39 kB / 421.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.6292, allocations: 23.33 kB / 421.4 MB, free: 1.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6292, allocations: 4 kB / 421.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008823/0.6301, allocations: 339.3 kB / 421.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6302, allocations: 4 kB / 421.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.6304, allocations: 46.64 kB / 421.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.6309, allocations: 75.53 kB / 421.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6326, allocations: 1.491 MB / 423.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.6333, allocations: 62.78 kB / 423.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.6333, allocations: 19.94 kB / 423.4 MB, free: 15.68 MB / 346.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.0002345/0.6336, allocations: 142.1 kB / 423.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.6337, allocations: 35.61 kB / 423.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.6338, allocations: 43.95 kB / 423.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6339, allocations: 4 kB / 423.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6339, allocations: 0 / 423.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6339, allocations: 0 / 423.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.6357, allocations: 0.8465 MB / 424.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6358, allocations: 4 kB / 424.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.6362, allocations: 43.91 kB / 424.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.6365, allocations: 41.22 kB / 424.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.6365, allocations: 11.3 kB / 424.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.6381, allocations: 1.414 MB / 426 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6382, allocations: 4.031 kB / 426 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6394, allocations: 0.527 MB / 426.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.6397, allocations: 139 kB / 426.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.6398, allocations: 9.938 kB / 426.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.6403, allocations: 46.89 kB / 426.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.6405, allocations: 30.2 kB / 426.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.6406, allocations: 16.11 kB / 426.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003588/0.6409, allocations: 220.9 kB / 427 MB, free: 12.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.154e-06/0.6409, allocations: 0 / 427 MB, free: 12.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001139/0.6421, allocations: 197.2 kB / 427.2 MB, free: 12.23 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 (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.001673/0.6438, allocations: 1.099 MB / 428.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.6454, allocations: 0.6727 MB / 428.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6455, allocations: 4 kB / 429 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.646, allocations: 250.3 kB / 429.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.6466, allocations: 54.81 kB / 429.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.6491, allocations: 0.6871 MB / 429.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.6498, allocations: 0.855 MB / 430.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005694/0.6503, allocations: 79.27 kB / 430.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.6506, allocations: 139 kB / 431 MB, free: 8.809 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6506, allocations: 0 / 431 MB, free: 8.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.6986, allocations: 8.697 MB / 439.7 MB, free: 212 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005431/0.6992, allocations: 241.2 kB / 439.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.641, allocations: 0 / 439.9 MB, free: 15.89 MB / 362.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_Characteristic_res.mat does not exist to compare? outputFormat=mat