Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.13e-05, allocations: 3.25 kB / 249.8 MB, free: 5.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5591, allocations: 81.97 MB / 376.3 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.5595, allocations: 84.77 kB / 376.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.6042, allocations: 10.44 MB / 386.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6043, allocations: 0 / 386.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.528e-05/0.6044, allocations: 19.5 kB / 386.8 MB, free: 19.05 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002369/0.6067, allocations: 0.8664 MB / 387.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6068, allocations: 7.844 kB / 387.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.6071, allocations: 85.8 kB / 387.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.6083, allocations: 497.1 kB / 388.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.6083, allocations: 22.91 kB / 388.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6085, allocations: 38.97 kB / 388.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/0.6098, allocations: 443.4 kB / 388.8 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6114, allocations: 0.567 MB / 389.3 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.6114, allocations: 7.906 kB / 389.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.6115, allocations: 3.844 kB / 389.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.6116, allocations: 15.16 kB / 389.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005806/0.6174, allocations: 2.446 MB / 391.8 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.6191, allocations: 0.5297 MB / 392.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.6196, allocations: 242 kB / 392.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.6197, allocations: 19.8 kB / 392.6 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007819/0.6205, allocations: 307.3 kB / 392.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.988e-06/0.6205, allocations: 0 / 392.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001371/0.6219, allocations: 478.4 kB / 393.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.622, allocations: 122.2 kB / 393.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.6227, allocations: 364.8 kB / 393.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.6228, allocations: 25.7 kB / 393.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.6231, allocations: 308 kB / 394.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.6233, allocations: 156.4 kB / 394.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.6234, allocations: 7.719 kB / 394.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.6236, allocations: 359.3 kB / 394.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.6241, allocations: 166.3 kB / 394.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.6246, allocations: 312.6 kB / 395.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.6251, allocations: 179 kB / 395.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6252, allocations: 3.188 kB / 395.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001589/0.6268, allocations: 0.5749 MB / 395.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008418/0.6276, allocations: 1.568 MB / 397.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.6277, allocations: 7.156 kB / 397.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/0.6285, allocations: 146.9 kB / 397.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.6293, allocations: 83.73 kB / 397.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/0.6335, allocations: 2.264 MB / 399.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.6345, allocations: 74.47 kB / 400 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.6346, allocations: 22.88 kB / 400 MB, free: 11.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6346, allocations: 6.094 kB / 400 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.636, allocations: 495.8 kB / 400.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.636, allocations: 3.938 kB / 400.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.6367, allocations: 146.9 kB / 400.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.6373, allocations: 77.66 kB / 400.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.6413, allocations: 2.245 MB / 403 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.6422, allocations: 55.02 kB / 403.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.6423, allocations: 22.62 kB / 403.1 MB, free: 9.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.6426, allocations: 142.4 kB / 403.2 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001235/0.6438, allocations: 474.8 kB / 403.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.644, allocations: 58.16 kB / 403.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.6442, allocations: 55.7 kB / 403.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6442, allocations: 11.77 kB / 403.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6442, allocations: 0 / 403.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6442, allocations: 11.86 kB / 403.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.647, allocations: 1.175 MB / 405 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.647, allocations: 3.906 kB / 405 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.6475, allocations: 34.73 kB / 405 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006795/0.6482, allocations: 142.1 kB / 405.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.6483, allocations: 3.938 kB / 405.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.6523, allocations: 2.245 MB / 407.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6524, allocations: 0 / 407.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.6544, allocations: 0.8073 MB / 408.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.6549, allocations: 174.2 kB / 408.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.655, allocations: 7.031 kB / 408.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.6557, allocations: 30.97 kB / 408.4 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.656, allocations: 63.88 kB / 408.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.6561, allocations: 19.02 kB / 408.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004963/0.6566, allocations: 270.5 kB / 408.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6566, allocations: 0 / 408.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00168/0.6583, allocations: 289.6 kB / 409.1 MB, free: 7.016 MB / 314.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: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/0.6609, allocations: 1.381 MB / 410.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002746/0.6637, allocations: 1.07 MB / 411.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.6637, allocations: 7.938 kB / 411.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6648, allocations: 404.9 kB / 411.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.6657, allocations: 82.33 kB / 412 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.6695, allocations: 0.9436 MB / 412.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.6703, allocations: 0.9413 MB / 413.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007658/0.6711, allocations: 95.16 kB / 414 MB, free: 4.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.6715, allocations: 212.9 kB / 414.2 MB, free: 4.371 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6715, allocations: 0 / 414.2 MB, free: 4.371 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/0.8263, allocations: 13.8 MB / 428 MB, free: 6.926 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003717/0.8268, allocations: 205.8 kB / 428.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.463/4.29, allocations: 0 / 428.2 MB, free: 6.66 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat