Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.036e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.324, allocations: 44.5 MB / 294.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.474, allocations: 81.36 MB / 375.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/0.4744, allocations: 83.95 kB / 375.7 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05853/0.5329, allocations: 12.91 MB / 388.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.533, allocations: 0 / 388.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.536e-05/0.5331, allocations: 20 kB / 388.6 MB, free: 3.457 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002516/0.5356, allocations: 0.8586 MB / 389.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.5357, allocations: 8.031 kB / 389.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.536, allocations: 87.02 kB / 389.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5373, allocations: 0.4961 MB / 390.1 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.5373, allocations: 24 kB / 390.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.5375, allocations: 40 kB / 390.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001424/0.5389, allocations: 446.5 kB / 390.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.5405, allocations: 0.5785 MB / 391.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.5406, allocations: 0 / 391.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.5407, allocations: 0 / 391.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.5407, allocations: 16 kB / 391.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006575/0.5473, allocations: 2.471 MB / 393.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.5492, allocations: 0.5435 MB / 394.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.5499, allocations: 251 kB / 394.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.665e-05/0.5499, allocations: 4.438 kB / 394.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008367/0.5508, allocations: 312.7 kB / 394.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.907e-06/0.5508, allocations: 3.938 kB / 394.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.001431/0.5523, allocations: 479.3 kB / 395.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/0.5524, allocations: 115.4 kB / 395.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.5531, allocations: 369 kB / 395.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.4e-05/0.5532, allocations: 33.69 kB / 395.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.5536, allocations: 312.2 kB / 396 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.5538, allocations: 157.7 kB / 396.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.5538, allocations: 4 kB / 396.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.5541, allocations: 359.5 kB / 396.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.5545, allocations: 169.5 kB / 396.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.5552, allocations: 319.9 kB / 397 MB, free: 10.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.5557, allocations: 186.5 kB / 397.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.5557, allocations: 4 kB / 397.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001587/0.5573, allocations: 0.5771 MB / 397.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007496/0.5581, allocations: 1.571 MB / 399.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5581, allocations: 11.92 kB / 399.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/0.559, allocations: 144.8 kB / 399.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5596, allocations: 87.83 kB / 399.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.5639, allocations: 2.279 MB / 401.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.5648, allocations: 75.62 kB / 401.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.5648, allocations: 20 kB / 401.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5649, allocations: 4 kB / 401.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/0.5663, allocations: 0.4941 MB / 402.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5663, allocations: 4 kB / 402.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/0.5671, allocations: 152.8 kB / 402.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.5677, allocations: 84.27 kB / 402.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.5718, allocations: 2.283 MB / 405 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.5726, allocations: 63.61 kB / 405 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.5727, allocations: 24 kB / 405 MB, free: 2.273 MB / 346.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 (61): * Single equations (assignments): 60 * 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.0002728/0.573, allocations: 133.9 kB / 405.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00126/0.5742, allocations: 483.3 kB / 405.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5744, allocations: 51.34 kB / 405.7 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.5746, allocations: 64.95 kB / 405.8 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5746, allocations: 8 kB / 405.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5746, allocations: 0 / 405.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5747, allocations: 96 / 405.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.5777, allocations: 1.202 MB / 407 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5777, allocations: 3.984 kB / 407 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.5782, allocations: 47.91 kB / 407 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.5789, allocations: 140.7 kB / 407.2 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.579, allocations: 4 kB / 407.2 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.5829, allocations: 2.151 MB / 409.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.583, allocations: 4 kB / 409.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.5851, allocations: 0.8351 MB / 410.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.5856, allocations: 176.4 kB / 410.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.5858, allocations: 3.984 kB / 410.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.5864, allocations: 35.97 kB / 410.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/0.5867, allocations: 76.36 kB / 410.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.5868, allocations: 23.92 kB / 410.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005174/0.5873, allocations: 267 kB / 410.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5874, allocations: 0 / 410.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001695/0.5891, allocations: 299.1 kB / 411 MB, free: 12.09 MB / 362.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.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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.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.002826/0.5919, allocations: 1.402 MB / 412.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002837/0.5948, allocations: 1.079 MB / 413.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.5949, allocations: 4 kB / 413.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009945/0.5959, allocations: 407.7 kB / 413.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.5967, allocations: 82.72 kB / 414 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.6002, allocations: 0.9516 MB / 414.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/0.601, allocations: 0.9354 MB / 415.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001074/0.6021, allocations: 100.8 kB / 416 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.6027, allocations: 212.2 kB / 416.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6027, allocations: 0 / 416.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4292/1.032, allocations: 14 MB / 430.2 MB, free: 106 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/1.032, allocations: 192 kB / 430.4 MB, free: 105.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/4.344, allocations: 0 / 430.4 MB, free: 105.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat