Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.000528, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 44.52 MB / 308.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.555, allocations: 82.67 MB / 391.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5553, allocations: 88.23 kB / 391.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05051/0.6059, allocations: 13.71 MB / 405 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6059, allocations: 0 / 405 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.703e-05/0.606, allocations: 19.5 kB / 405 MB, free: 11.93 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.002377/0.6084, allocations: 0.9733 MB / 406 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6084, allocations: 7.781 kB / 406 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.6086, allocations: 112.2 kB / 406.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.6088, allocations: 89.8 kB / 406.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/0.6098, allocations: 0.4996 MB / 406.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.6099, allocations: 56.2 kB / 406.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6101, allocations: 68.78 kB / 406.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.6119, allocations: 0.742 MB / 407.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.612, allocations: 0 / 407.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.6121, allocations: 32.14 kB / 407.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.6121, allocations: 15.59 kB / 407.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.6137, allocations: 0.5499 MB / 408.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.6192, allocations: 2.695 MB / 410.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.6209, allocations: 0.599 MB / 411.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.6209, allocations: 4.156 kB / 411.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007673/0.6217, allocations: 357.6 kB / 411.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.957e-06/0.6217, allocations: 0 / 411.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.003172/0.6249, allocations: 1.005 MB / 412.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.625, allocations: 111.1 kB / 412.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.6258, allocations: 445.1 kB / 413.4 MB, free: 7.945 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/0.6259, allocations: 44.14 kB / 413.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.6261, allocations: 362.5 kB / 413.8 MB, free: 7.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.6263, allocations: 174.5 kB / 413.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.6263, allocations: 18.16 kB / 414 MB, free: 7.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.6264, allocations: 341.2 kB / 414.3 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.627, allocations: 203 kB / 414.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.6277, allocations: 375.4 kB / 414.9 MB, free: 6.977 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.6284, allocations: 225.7 kB / 415.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6284, allocations: 0 / 415.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001698/0.6301, allocations: 0.6907 MB / 415.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003236/0.6304, allocations: 1.566 MB / 417.3 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6305, allocations: 7.75 kB / 417.4 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.6312, allocations: 146.3 kB / 417.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.6319, allocations: 96.67 kB / 417.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.6358, allocations: 3.481 MB / 421.1 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.6367, allocations: 93.02 kB / 421.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.6368, allocations: 23.12 kB / 421.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6368, allocations: 4.5 kB / 421.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/0.6383, allocations: 0.612 MB / 421.8 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6384, allocations: 3.938 kB / 421.8 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.6389, allocations: 140.9 kB / 421.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.6395, allocations: 96.42 kB / 422 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.6435, allocations: 3.468 MB / 425.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.6441, allocations: 68.44 kB / 425.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.6442, allocations: 22.31 kB / 425.6 MB, free: 15.16 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006037/0.6448, allocations: 328.8 kB / 425.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.645, allocations: 54.41 kB / 426 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.6452, allocations: 67.27 kB / 426 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6452, allocations: 7.75 kB / 426 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6452, allocations: 0 / 426 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6452, allocations: 3.984 kB / 426 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.6482, allocations: 1.391 MB / 427.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.6482, allocations: 0 / 427.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.6487, allocations: 53.47 kB / 427.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.6493, allocations: 141.8 kB / 427.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.6493, allocations: 16.05 kB / 427.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.6537, allocations: 3.326 MB / 431 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6537, allocations: 0 / 431 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.656, allocations: 0.9286 MB / 431.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.6564, allocations: 187.2 kB / 432.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6565, allocations: 10.69 kB / 432.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.6571, allocations: 44.05 kB / 432.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.6574, allocations: 72.23 kB / 432.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.6575, allocations: 18.64 kB / 432.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006436/0.6581, allocations: 349.8 kB / 432.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6582, allocations: 0 / 432.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001523/0.6597, allocations: 343.6 kB / 432.9 MB, free: 10.9 MB / 330.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002585/0.6623, allocations: 1.502 MB / 434.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.6652, allocations: 1.392 MB / 435.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6652, allocations: 0 / 435.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.6662, allocations: 0.5326 MB / 436.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.667, allocations: 100.3 kB / 436.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/0.6722, allocations: 4.686 MB / 441.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.6728, allocations: 0.9487 MB / 442.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.6733, allocations: 235.3 kB / 442.3 MB, free: 4.281 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6734, allocations: 3.938 kB / 442.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/3.734, allocations: 16.33 MB / 458.6 MB, free: 7.352 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat