Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.131e-05, allocations: 3.438 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5607, allocations: 81.91 MB / 376.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004744/0.5613, allocations: 87.64 kB / 376.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06223/0.6235, allocations: 13.52 MB / 389.8 MB, free: 18.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6236, allocations: 0 / 389.8 MB, free: 18.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.637e-05/0.6237, allocations: 23.38 kB / 389.9 MB, free: 18.15 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002531/0.6262, allocations: 0.8961 MB / 390.7 MB, free: 17.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.6263, allocations: 11.53 kB / 390.8 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.6266, allocations: 84.81 kB / 390.8 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.6278, allocations: 0.4984 MB / 391.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.6279, allocations: 26.09 kB / 391.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.628, allocations: 38.38 kB / 391.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/0.6295, allocations: 474.2 kB / 391.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.631, allocations: 0.6109 MB / 392.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.6311, allocations: 3.953 kB / 392.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.6312, allocations: 3.188 kB / 392.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.6312, allocations: 19.97 kB / 392.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00602/0.6373, allocations: 2.557 MB / 395.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.6389, allocations: 0.5484 MB / 395.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.64, allocations: 365.3 kB / 396 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-05/0.6401, allocations: 8.328 kB / 396 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000838/0.641, allocations: 332.9 kB / 396.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.938e-06/0.641, allocations: 4 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001498/0.6425, allocations: 0.498 MB / 396.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6426, allocations: 118.5 kB / 396.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.6434, allocations: 373.2 kB / 397.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.6435, allocations: 33.11 kB / 397.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.6438, allocations: 325.7 kB / 397.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.6441, allocations: 162.9 kB / 397.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.6441, allocations: 3.375 kB / 397.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.6444, allocations: 369.6 kB / 398.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.6449, allocations: 175.1 kB / 398.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.6455, allocations: 335.2 kB / 398.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.6461, allocations: 194.8 kB / 398.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.6461, allocations: 7.781 kB / 398.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001826/0.648, allocations: 0.6341 MB / 399.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008371/0.6488, allocations: 1.568 MB / 401.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6489, allocations: 7.125 kB / 401.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008222/0.6497, allocations: 154.1 kB / 401.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.6505, allocations: 104.6 kB / 401.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.656, allocations: 3.501 MB / 404.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.657, allocations: 78.39 kB / 404.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.6571, allocations: 26.94 kB / 404.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6572, allocations: 6.031 kB / 404.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/0.6587, allocations: 0.5307 MB / 405.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6588, allocations: 3.719 kB / 405.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007454/0.6595, allocations: 164.3 kB / 405.6 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.6602, allocations: 91.92 kB / 405.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/0.6657, allocations: 3.506 MB / 409.2 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/0.6666, allocations: 58.72 kB / 409.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.6667, allocations: 22.88 kB / 409.3 MB, free: 6.188 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: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.667, allocations: 140.4 kB / 409.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001433/0.6685, allocations: 0.4939 MB / 409.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.6687, allocations: 62.39 kB / 410 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.6689, allocations: 65.05 kB / 410 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6689, allocations: 3.875 kB / 410.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6689, allocations: 0 / 410.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.669, allocations: 3.984 kB / 410.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.6723, allocations: 1.277 MB / 411.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6723, allocations: 0 / 411.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.6729, allocations: 53.66 kB / 411.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/0.6737, allocations: 154.1 kB / 411.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.6738, allocations: 11.45 kB / 411.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/0.6791, allocations: 3.382 MB / 414.9 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6791, allocations: 96 / 414.9 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.6817, allocations: 0.8859 MB / 415.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.6822, allocations: 182.5 kB / 416 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.6824, allocations: 7.703 kB / 416 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.6831, allocations: 35.28 kB / 416 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.6834, allocations: 75.17 kB / 416.1 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.6835, allocations: 23.42 kB / 416.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005289/0.6841, allocations: 268.1 kB / 416.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6841, allocations: 3.875 kB / 416.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001971/0.686, allocations: 318.2 kB / 416.7 MB, free: 1.992 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/0.6891, allocations: 1.456 MB / 418.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.6925, allocations: 1.307 MB / 419.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6925, allocations: 0 / 419.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.6937, allocations: 0.5031 MB / 420 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.6946, allocations: 77.38 kB / 420.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.6986, allocations: 1.061 MB / 421.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.6995, allocations: 0.9547 MB / 422.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008138/0.7004, allocations: 100.6 kB / 422.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.7009, allocations: 229.9 kB / 422.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.153e-06/0.7009, allocations: 0 / 422.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/0.7768, allocations: 14.5 MB / 436.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000424/0.7773, allocations: 211.6 kB / 437.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.591/4.368, allocations: 7.891 kB / 437.1 MB, free: 14.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat