Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.501e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3522, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.5035, allocations: 81.91 MB / 376.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.5039, allocations: 83.95 kB / 376.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05836/0.5623, allocations: 13.52 MB / 389.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5623, allocations: 0 / 389.8 MB, free: 2.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.639e-05/0.5624, allocations: 24 kB / 389.8 MB, free: 2.207 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002472/0.5649, allocations: 0.8938 MB / 390.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.565, allocations: 8.031 kB / 390.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.5653, allocations: 86.97 kB / 390.8 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5666, allocations: 0.5046 MB / 391.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.5667, allocations: 24 kB / 391.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.5669, allocations: 47.94 kB / 391.3 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001414/0.5683, allocations: 467.9 kB / 391.8 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.57, allocations: 0.6133 MB / 392.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.57, allocations: 3.953 kB / 392.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.5701, allocations: 4 kB / 392.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.5702, allocations: 16 kB / 392.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.5766, allocations: 2.552 MB / 395 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5784, allocations: 0.5642 MB / 395.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.5795, allocations: 366 kB / 395.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.5796, allocations: 4.438 kB / 395.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008022/0.5804, allocations: 332.7 kB / 396.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.567e-06/0.5804, allocations: 0 / 396.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001534/0.5819, allocations: 0.504 MB / 396.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.5821, allocations: 119.4 kB / 396.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.5828, allocations: 373 kB / 397.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.5829, allocations: 33.7 kB / 397.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.5833, allocations: 328.1 kB / 397.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.5835, allocations: 161.6 kB / 397.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.5836, allocations: 0 / 397.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5838, allocations: 362.8 kB / 398.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.5843, allocations: 177.5 kB / 398.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.5849, allocations: 335.9 kB / 398.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.5855, allocations: 202.5 kB / 398.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5855, allocations: 0 / 398.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001823/0.5873, allocations: 0.6328 MB / 399.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008054/0.5882, allocations: 1.567 MB / 401 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.5882, allocations: 7.984 kB / 401 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008499/0.5891, allocations: 157.6 kB / 401.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.5899, allocations: 99.81 kB / 401.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.5951, allocations: 3.496 MB / 404.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.596, allocations: 79.55 kB / 404.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.5961, allocations: 27.98 kB / 404.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.5961, allocations: 0 / 404.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/0.5978, allocations: 0.5422 MB / 405.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5978, allocations: 7.938 kB / 405.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.5985, allocations: 165.8 kB / 405.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.5992, allocations: 91.86 kB / 405.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.6046, allocations: 3.496 MB / 409.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.6055, allocations: 59.66 kB / 409.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.6056, allocations: 24 kB / 409.2 MB, free: 13.76 MB / 362.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.0003445/0.6059, allocations: 137.6 kB / 409.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00149/0.6074, allocations: 0.504 MB / 409.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6076, allocations: 55.33 kB / 409.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.6079, allocations: 61.55 kB / 410 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.6079, allocations: 12 kB / 410 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6079, allocations: 0 / 410 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6079, allocations: 3.984 kB / 410 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.6127, allocations: 1.269 MB / 411.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.6127, allocations: 8 kB / 411.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.6135, allocations: 51.91 kB / 411.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.6145, allocations: 141.6 kB / 411.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.6147, allocations: 7.953 kB / 411.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007485/0.6222, allocations: 3.399 MB / 414.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.6222, allocations: 0 / 414.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.6258, allocations: 0.8867 MB / 415.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.6265, allocations: 180.4 kB / 415.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.6267, allocations: 3.953 kB / 415.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.6277, allocations: 36.03 kB / 416 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.6281, allocations: 72.45 kB / 416 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.6282, allocations: 23.92 kB / 416.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007186/0.6289, allocations: 271 kB / 416.3 MB, free: 6.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6289, allocations: 4 kB / 416.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002829/0.6318, allocations: 322.9 kB / 416.6 MB, free: 5.984 MB / 362.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.004232/0.6361, allocations: 1.453 MB / 418.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004543/0.6407, allocations: 1.31 MB / 419.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.6407, allocations: 0 / 419.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.6422, allocations: 0.4945 MB / 419.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6434, allocations: 86.58 kB / 420 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.6484, allocations: 1.06 MB / 421 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.6495, allocations: 0.9591 MB / 422 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.6505, allocations: 100.6 kB / 422.1 MB, free: 368 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/0.6513, allocations: 219.4 kB / 422.3 MB, free: 148 kB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6513, allocations: 0 / 422.3 MB, free: 148 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/1.087, allocations: 14.5 MB / 436.8 MB, free: 102.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.088, allocations: 199 kB / 437 MB, free: 102.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/4.302, allocations: 0 / 437 MB, free: 102.2 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_RLV_res.mat does not exist to compare? outputFormat=mat