Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.729e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 44.48 MB / 294.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.4965, allocations: 78.68 MB / 373 MB, free: 3.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.4969, allocations: 91.88 kB / 373.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04438/0.5413, allocations: 9.016 MB / 382.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5414, allocations: 0 / 382.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.147e-05/0.5414, allocations: 8 kB / 382.1 MB, free: 9.98 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001932/0.5434, allocations: 0.6759 MB / 382.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5434, allocations: 8.031 kB / 382.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.5436, allocations: 51.44 kB / 382.8 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.5446, allocations: 378.8 kB / 383.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.5446, allocations: 19.98 kB / 383.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5448, allocations: 24 kB / 383.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009163/0.5457, allocations: 269.5 kB / 383.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.5468, allocations: 370.2 kB / 383.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.5468, allocations: 3.906 kB / 383.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.5469, allocations: 4 kB / 383.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.5469, allocations: 11.94 kB / 383.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.5512, allocations: 1.466 MB / 385.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.552, allocations: 220.4 kB / 385.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.5523, allocations: 88.84 kB / 385.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.5523, allocations: 7.984 kB / 385.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.5529, allocations: 205 kB / 385.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.938e-06/0.5529, allocations: 4 kB / 385.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009827/0.5539, allocations: 274 kB / 386.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.554, allocations: 114.8 kB / 386.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.5546, allocations: 269.1 kB / 386.5 MB, free: 5.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.5547, allocations: 33.7 kB / 386.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.555, allocations: 239.9 kB / 386.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5551, allocations: 78.91 kB / 386.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.5552, allocations: 0 / 386.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5554, allocations: 346.8 kB / 387.2 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.5557, allocations: 96.84 kB / 387.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.5561, allocations: 242.2 kB / 387.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.5565, allocations: 109.8 kB / 387.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5566, allocations: 0 / 387.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001096/0.5577, allocations: 364.3 kB / 388 MB, free: 3.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000825/0.5585, allocations: 1.664 MB / 389.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5586, allocations: 4 kB / 389.7 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.5589, allocations: 48.83 kB / 389.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.5595, allocations: 67.91 kB / 389.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.5615, allocations: 1.439 MB / 391.2 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.5623, allocations: 67.77 kB / 391.3 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.5624, allocations: 19.95 kB / 391.3 MB, free: 176 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5624, allocations: 4 kB / 391.3 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009211/0.5633, allocations: 296.4 kB / 391.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5633, allocations: 4 kB / 391.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.5636, allocations: 37.38 kB / 391.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.564, allocations: 71.84 kB / 391.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.5659, allocations: 1.451 MB / 393.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.5666, allocations: 47.75 kB / 393.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.5667, allocations: 16 kB / 393.2 MB, free: 14.14 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 (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.0002486/0.567, allocations: 143 kB / 393.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009479/0.5679, allocations: 262 kB / 393.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.568, allocations: 39.52 kB / 393.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.5682, allocations: 40.25 kB / 393.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5682, allocations: 4 kB / 393.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5682, allocations: 0 / 393.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5682, allocations: 0 / 393.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.5701, allocations: 0.7337 MB / 394.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5702, allocations: 0 / 394.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.5705, allocations: 27.92 kB / 394.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.5708, allocations: 32.84 kB / 394.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.5708, allocations: 7.984 kB / 394.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.5727, allocations: 1.354 MB / 395.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.5727, allocations: 3.984 kB / 395.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.5741, allocations: 488.6 kB / 396.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.5746, allocations: 132.7 kB / 396.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.5748, allocations: 7.984 kB / 396.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.5755, allocations: 31.97 kB / 396.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5757, allocations: 39.89 kB / 396.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.5758, allocations: 4 kB / 396.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004269/0.5762, allocations: 212.6 kB / 396.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5762, allocations: 0 / 396.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001417/0.5777, allocations: 183.4 kB / 396.9 MB, free: 10.2 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.001885/0.5796, allocations: 1.025 MB / 397.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.5814, allocations: 0.6404 MB / 398.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.5815, allocations: 4.25 kB / 398.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.582, allocations: 218.2 kB / 398.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.5827, allocations: 49.08 kB / 398.8 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.5854, allocations: 0.6339 MB / 399.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.586, allocations: 0.8427 MB / 400.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000606/0.5867, allocations: 75.58 kB / 400.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.587, allocations: 139.4 kB / 400.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.587, allocations: 0 / 400.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07813/0.6652, allocations: 7.429 MB / 408 MB, free: 15.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003143/0.6655, allocations: 186.5 kB / 408.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.165/3.831, allocations: 0 / 408.1 MB, free: 14.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat