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_RL.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_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09364, allocations: 44.51 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.516, allocations: 82.43 MB / 391 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/0.5165, allocations: 89.27 kB / 391.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0596/0.5761, allocations: 13.44 MB / 404.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5761, allocations: 0 / 404.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.457e-05/0.5762, allocations: 19.34 kB / 404.5 MB, free: 11.72 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002297/0.5785, allocations: 0.9524 MB / 405.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5786, allocations: 7.812 kB / 405.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.5788, allocations: 115 kB / 405.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.579, allocations: 85.14 kB / 405.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009852/0.58, allocations: 0.5012 MB / 406.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.5801, allocations: 54.94 kB / 406.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.5802, allocations: 67 kB / 406.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.5819, allocations: 0.7029 MB / 407 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.5819, allocations: 3.938 kB / 407 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.582, allocations: 32.2 kB / 407 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5821, allocations: 15.5 kB / 407.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5836, allocations: 0.5447 MB / 407.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.5887, allocations: 2.645 MB / 410.2 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5903, allocations: 0.5948 MB / 410.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.5904, allocations: 4.375 kB / 410.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/0.5912, allocations: 350.7 kB / 411.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.016e-06/0.5912, allocations: 4 kB / 411.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.00315/0.5943, allocations: 0.9787 MB / 412.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5944, allocations: 118.1 kB / 412.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.5952, allocations: 441.2 kB / 412.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.5953, allocations: 44.22 kB / 412.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.5955, allocations: 351.5 kB / 413.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5957, allocations: 172.2 kB / 413.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.5957, allocations: 14.47 kB / 413.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.5958, allocations: 338.6 kB / 413.6 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.5964, allocations: 215 kB / 413.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.5971, allocations: 363.4 kB / 414.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.5978, allocations: 233.7 kB / 414.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5978, allocations: 0 / 414.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001684/0.5995, allocations: 0.6706 MB / 415.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.5998, allocations: 1.572 MB / 416.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5999, allocations: 3.906 kB / 416.7 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.6005, allocations: 148.3 kB / 416.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.6012, allocations: 96.5 kB / 416.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.605, allocations: 3.484 MB / 420.4 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.606, allocations: 88.73 kB / 420.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.606, allocations: 30.27 kB / 420.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.6061, allocations: 3.875 kB / 420.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/0.6075, allocations: 0.6026 MB / 421.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6075, allocations: 7.906 kB / 421.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.6081, allocations: 140.8 kB / 421.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.6086, allocations: 92.23 kB / 421.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/0.6127, allocations: 3.471 MB / 424.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.6134, allocations: 69.91 kB / 424.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.6134, allocations: 26.94 kB / 424.9 MB, free: 15 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 (67): * Single equations (assignments): 65 * 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.0006292/0.6141, allocations: 313.9 kB / 425.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6142, allocations: 54.59 kB / 425.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.6144, allocations: 65.75 kB / 425.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6144, allocations: 11.73 kB / 425.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6145, allocations: 4 kB / 425.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6145, allocations: 3.984 kB / 425.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.6175, allocations: 1.375 MB / 426.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.6176, allocations: 7.922 kB / 426.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.618, allocations: 50.28 kB / 426.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/0.6186, allocations: 138.5 kB / 426.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.6187, allocations: 11.66 kB / 426.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.6231, allocations: 3.32 MB / 430.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6231, allocations: 0 / 430.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.6255, allocations: 0.9268 MB / 431.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.626, allocations: 184.9 kB / 431.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6261, allocations: 22.25 kB / 431.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.6267, allocations: 42.41 kB / 431.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.627, allocations: 73.47 kB / 431.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.6271, allocations: 18.73 kB / 431.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006437/0.6278, allocations: 347.9 kB / 431.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6278, allocations: 0 / 431.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001564/0.6293, allocations: 333.1 kB / 432.2 MB, free: 10.73 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 (43): * Single equations (assignments): 36 * 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.002767/0.6321, allocations: 1.506 MB / 433.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.6351, allocations: 1.38 MB / 435.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6351, allocations: 0 / 435.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009873/0.6361, allocations: 0.5321 MB / 435.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.6369, allocations: 98.31 kB / 435.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.6422, allocations: 4.637 MB / 440.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.6429, allocations: 0.9485 MB / 441.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.6433, allocations: 232 kB / 441.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.6434, allocations: 0 / 441.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.892/3.535, allocations: 16.01 MB / 457.5 MB, free: 7.934 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_RL_res.mat does not exist to compare? outputFormat=mat