Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008575, allocations: 96.84 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.256e-05, allocations: 7.984 kB / 343.8 MB, free: 4.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08302, allocations: 50.42 MB / 394.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.3714, allocations: 88.92 MB / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3717, allocations: 95.77 kB / 483.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.4012, allocations: 11.39 MB / 494.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4012, allocations: 0 / 494.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.4013, allocations: 20 kB / 494.7 MB, free: 2.988 MB / 362.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.001394/0.4027, allocations: 0.8842 MB / 495.6 MB, free: 2.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4027, allocations: 8.031 kB / 495.6 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.4029, allocations: 86.97 kB / 495.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.4036, allocations: 0.498 MB / 496.2 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.4037, allocations: 53.3 kB / 496.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.4038, allocations: 71.91 kB / 496.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4049, allocations: 0.6913 MB / 497 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.4049, allocations: 11.94 kB / 497 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.405, allocations: 28 kB / 497 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.405, allocations: 16 kB / 497 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.4059, allocations: 0.501 MB / 497.5 MB, free: 16 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.4094, allocations: 2.666 MB / 0.4885 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.4103, allocations: 0.5309 MB / 0.489 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.4109, allocations: 317.7 kB / 0.4893 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.4109, allocations: 4.438 kB / 0.4893 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.4114, allocations: 354.3 kB / 0.4896 GB, free: 12.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.4115, allocations: 0 / 0.4896 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009022/0.4124, allocations: 0.5342 MB / 0.4902 GB, free: 11.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.4125, allocations: 141.1 kB / 0.4903 GB, free: 11.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.413, allocations: 431.9 kB / 0.4907 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.4131, allocations: 45.7 kB / 0.4908 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.4133, allocations: 316.3 kB / 0.4911 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.4134, allocations: 177.5 kB / 0.4912 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.4135, allocations: 16 kB / 0.4912 GB, free: 10.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4136, allocations: 366.8 kB / 0.4916 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.4139, allocations: 181.5 kB / 0.4918 GB, free: 9.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.4143, allocations: 350.9 kB / 0.4921 GB, free: 9.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.4147, allocations: 203.2 kB / 0.4923 GB, free: 9.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4147, allocations: 8 kB / 0.4923 GB, free: 9.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009901/0.4157, allocations: 0.6473 MB / 0.4929 GB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.4162, allocations: 1.579 MB / 0.4945 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4162, allocations: 4 kB / 0.4945 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.4167, allocations: 160.8 kB / 0.4946 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4171, allocations: 91.77 kB / 0.4947 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.4196, allocations: 2.314 MB / 0.497 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.4201, allocations: 91.53 kB / 0.4971 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.4202, allocations: 28 kB / 0.4971 GB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.4202, allocations: 4 kB / 0.4971 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009377/0.4211, allocations: 0.5759 MB / 0.4977 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4211, allocations: 7.953 kB / 0.4977 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.4215, allocations: 155 kB / 0.4978 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.4218, allocations: 79.84 kB / 0.4979 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.4245, allocations: 2.314 MB / 0.5002 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.425, allocations: 67.61 kB / 0.5002 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.4251, allocations: 24 kB / 0.5002 GB, free: 0.6172 MB / 378.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: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,rectifier.diode_n1.off,rectifier.diode_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.0002117/0.4253, allocations: 170.4 kB / 0.5004 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.4254, allocations: 55.34 kB / 0.5005 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.4256, allocations: 69.58 kB / 0.5005 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4256, allocations: 8 kB / 0.5005 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4256, allocations: 0 / 0.5005 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4256, allocations: 3.984 kB / 0.5005 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.4277, allocations: 1.379 MB / 0.5019 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4277, allocations: 0 / 0.5019 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.4279, allocations: 47.91 kB / 0.5019 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/0.4283, allocations: 146.3 kB / 0.5021 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.4283, allocations: 11.95 kB / 0.5021 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.4309, allocations: 2.311 MB / 0.5043 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4309, allocations: 0 / 0.5043 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.4323, allocations: 0.9241 MB / 0.5052 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4326, allocations: 188.2 kB / 0.5054 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.4327, allocations: 15.95 kB / 0.5054 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.4331, allocations: 51.95 kB / 0.5055 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4332, allocations: 56.48 kB / 0.5055 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4333, allocations: 19.98 kB / 0.5056 GB, free: 10.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003845/0.4337, allocations: 329.6 kB / 0.5059 GB, free: 10.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.124e-06/0.4337, allocations: 0 / 0.5059 GB, free: 10.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001017/0.4347, allocations: 347 kB / 0.5062 GB, free: 10.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.0002069/0.4349, allocations: 137.4 kB / 0.5063 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.4367, allocations: 1.183 MB / 0.5075 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4367, allocations: 0 / 0.5075 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.4374, allocations: 458.4 kB / 0.5079 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.4379, allocations: 110.5 kB / 0.508 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4398, allocations: 0.9171 MB / 0.5089 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.4403, allocations: 0.9517 MB / 0.5099 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.4408, allocations: 128.8 kB / 0.51 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.4409, allocations: 35.44 kB / 0.51 GB, free: 6.273 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4409, allocations: 7.938 kB / 0.51 GB, free: 6.266 MB / 394.7 MB Notification: Performance of Templates: time 0.01857/0.4594, allocations: 10.8 MB / 0.5206 GB, free: 11.64 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches