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 2.274/2.274, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.719e-05/1.704e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3853, allocations: 44.5 MB / 294.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.5577, allocations: 78.87 MB / 373.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5581, allocations: 83.95 kB / 373.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03902/0.5971, allocations: 9.13 MB / 382.3 MB, free: 9.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5972, allocations: 0 / 382.3 MB, free: 9.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.656e-05/0.5972, allocations: 12 kB / 382.3 MB, free: 9.77 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001843/0.5991, allocations: 0.7135 MB / 383.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5992, allocations: 8.031 kB / 383.1 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.5994, allocations: 55.34 kB / 383.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.6002, allocations: 362.9 kB / 383.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.6003, allocations: 19.98 kB / 383.5 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.6004, allocations: 32 kB / 383.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008488/0.6012, allocations: 273.5 kB / 383.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.6022, allocations: 378.2 kB / 384.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6023, allocations: 0 / 384.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.6023, allocations: 0 / 384.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.6024, allocations: 12 kB / 384.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.6063, allocations: 1.49 MB / 385.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6076, allocations: 339.2 kB / 386 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.6078, allocations: 97.3 kB / 386.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.6079, allocations: 4.234 kB / 386.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.6085, allocations: 241.1 kB / 386.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.6085, allocations: 0 / 386.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009336/0.6094, allocations: 289.9 kB / 386.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.6095, allocations: 114.7 kB / 386.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.61, allocations: 257.1 kB / 387 MB, free: 4.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.61, allocations: 33.69 kB / 387 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.6103, allocations: 232.1 kB / 387.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6104, allocations: 90.72 kB / 387.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.6104, allocations: 0 / 387.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6106, allocations: 350.8 kB / 387.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.6109, allocations: 96.84 kB / 387.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.6113, allocations: 238.1 kB / 388 MB, free: 3.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.6116, allocations: 115.9 kB / 388.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.6116, allocations: 4 kB / 388.1 MB, free: 3.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008923/0.6125, allocations: 365.7 kB / 388.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007023/0.6132, allocations: 1.668 MB / 390.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6133, allocations: 4 kB / 390.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.6136, allocations: 48.83 kB / 390.2 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.6141, allocations: 83.83 kB / 390.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.6159, allocations: 1.443 MB / 391.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.6165, allocations: 55.72 kB / 391.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.6166, allocations: 28.05 kB / 391.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.6166, allocations: 3.953 kB / 391.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008202/0.6175, allocations: 288.9 kB / 392.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6175, allocations: 12 kB / 392.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.6177, allocations: 48.83 kB / 392.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.6182, allocations: 67.84 kB / 392.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.6198, allocations: 1.447 MB / 393.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.6203, allocations: 47.8 kB / 393.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.6204, allocations: 20.06 kB / 393.7 MB, free: 13.67 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.0002169/0.6206, allocations: 138.8 kB / 393.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008207/0.6215, allocations: 286 kB / 394.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.6216, allocations: 39.56 kB / 394.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.6217, allocations: 40.25 kB / 394.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6217, allocations: 0 / 394.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6217, allocations: 8 kB / 394.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6217, allocations: 3.984 kB / 394.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.6233, allocations: 0.7577 MB / 395 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6233, allocations: 0 / 395 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.6237, allocations: 47.91 kB / 395 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.624, allocations: 48.86 kB / 395.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.6241, allocations: 3.984 kB / 395.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.6255, allocations: 1.354 MB / 396.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6255, allocations: 0 / 396.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.6266, allocations: 0.4921 MB / 396.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.6269, allocations: 140.6 kB / 397.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.627, allocations: 11.95 kB / 397.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.6275, allocations: 40.02 kB / 397.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.6277, allocations: 31.95 kB / 397.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.6277, allocations: 15.98 kB / 397.2 MB, free: 10 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.628, allocations: 192.6 kB / 397.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6281, allocations: 0 / 397.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001174/0.6292, allocations: 183.4 kB / 397.5 MB, free: 9.637 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.001517/0.6308, allocations: 1.076 MB / 398.6 MB, free: 8.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.6323, allocations: 0.6485 MB / 399.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.6323, allocations: 4 kB / 399.3 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.6328, allocations: 241.6 kB / 399.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.6333, allocations: 45.16 kB / 399.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.6357, allocations: 0.6505 MB / 400.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.6363, allocations: 0.8588 MB / 401 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005216/0.6369, allocations: 75.58 kB / 401.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6372, allocations: 135.4 kB / 401.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/0.6372, allocations: 8 kB / 401.3 MB, free: 5.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/0.6997, allocations: 7.729 MB / 409 MB, free: 14.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.7001, allocations: 207.5 kB / 409.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/3.578, allocations: 0 / 409.2 MB, free: 13.8 MB / 362.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