Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002087/0.002087, allocations: 181.3 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.257/3.257, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 97.06 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006172/0.0006174, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.489, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.685, allocations: 88.05 MB / 463.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005015/0.6856, allocations: 87.95 kB / 463.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06366/0.7493, allocations: 13.97 MB / 477.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.7494, allocations: 0 / 477.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001344/0.7495, allocations: 20 kB / 477.8 MB, free: 10.42 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.004094/0.7536, allocations: 0.9464 MB / 478.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.7537, allocations: 8.031 kB / 478.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.7543, allocations: 87.91 kB / 478.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.7564, allocations: 0.5145 MB / 479.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.7566, allocations: 49.69 kB / 479.5 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.757, allocations: 72.38 kB / 479.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.76, allocations: 0.7182 MB / 480.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.76, allocations: 4.094 kB / 480.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.7602, allocations: 31.94 kB / 480.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.7603, allocations: 12 kB / 480.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.7624, allocations: 0.5477 MB / 480.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007648/0.7701, allocations: 2.662 MB / 483.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.7721, allocations: 0.5849 MB / 484.1 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.7733, allocations: 400.8 kB / 484.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.7734, allocations: 12.42 kB / 484.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009644/0.7743, allocations: 357.7 kB / 484.8 MB, free: 3.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 5.651e-06/0.7743, allocations: 0 / 484.8 MB, free: 3.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003849/0.7782, allocations: 1.064 MB / 485.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7783, allocations: 111.4 kB / 486 MB, free: 1.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.7795, allocations: 0.494 MB / 486.5 MB, free: 1.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.7796, allocations: 45.7 kB / 486.5 MB, free: 1.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.7801, allocations: 320.3 kB / 486.9 MB, free: 1.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.7804, allocations: 173.6 kB / 487 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.7804, allocations: 12 kB / 487 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/0.7807, allocations: 374.7 kB / 487.4 MB, free: 496 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.7814, allocations: 213.2 kB / 487.6 MB, free: 280 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.7823, allocations: 372.1 kB / 488 MB, free: 15.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.7835, allocations: 0.5097 MB / 488.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.7835, allocations: 0 / 488.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002138/0.7857, allocations: 0.7264 MB / 489.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.786, allocations: 218 kB / 489.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.786, allocations: 4 kB / 489.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.7868, allocations: 165.6 kB / 489.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.7873, allocations: 91.83 kB / 489.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.7928, allocations: 3.607 MB / 493.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.7938, allocations: 87.42 kB / 493.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.7938, allocations: 28.06 kB / 493.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7939, allocations: 9.031 kB / 493.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/0.7956, allocations: 0.632 MB / 494 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.7957, allocations: 8 kB / 494.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.7963, allocations: 157.6 kB / 494.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.7968, allocations: 87.83 kB / 494.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.8022, allocations: 3.619 MB / 497.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.803, allocations: 71.62 kB / 498 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.8031, allocations: 28 kB / 498 MB, free: 5.133 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: 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 (65): * Single equations (assignments): 63 * 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.0008249/0.8039, allocations: 317 kB / 498.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.8042, allocations: 55.34 kB / 498.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.8044, allocations: 73.52 kB / 498.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.8044, allocations: 4 kB / 498.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.8044, allocations: 4 kB / 498.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.8045, allocations: 7.984 kB / 498.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.8086, allocations: 1.422 MB / 499.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.8086, allocations: 0 / 499.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.809, allocations: 51.91 kB / 499.9 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007105/0.8098, allocations: 157.5 kB / 0.4884 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.8099, allocations: 15.98 kB / 0.4884 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4365/1.246, allocations: 3.512 MB / 0.4918 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.247, allocations: 0.5 kB / 0.4918 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/1.25, allocations: 0.9552 MB / 0.4927 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/1.251, allocations: 185.1 kB / 0.4929 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/1.251, allocations: 14.31 kB / 0.4929 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/1.252, allocations: 43.03 kB / 0.493 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/1.252, allocations: 78.58 kB / 0.493 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/1.252, allocations: 21.66 kB / 0.4931 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001038/1.254, allocations: 341.5 kB / 0.4934 GB, free: 103.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.254, allocations: 0 / 0.4934 GB, free: 103.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002842/1.256, allocations: 343.2 kB / 0.4937 GB, free: 103.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (41): * 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: 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.0004285/1.257, allocations: 139.5 kB / 0.4939 GB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004321/1.261, allocations: 1.419 MB / 0.4952 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.261, allocations: 0 / 0.4952 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/1.263, allocations: 0.5515 MB / 0.4958 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.265, allocations: 113.3 kB / 0.4959 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/1.269, allocations: 1.591 MB / 0.4974 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/1.27, allocations: 0.9321 MB / 0.4984 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.271, allocations: 39.59 kB / 0.4984 GB, free: 101.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.934e-06/1.271, allocations: 1.406 kB / 0.4984 GB, free: 101.2 MB / 378.7 MB Notification: Performance of Templates: time 0.03699/1.308, allocations: 14.04 MB / 0.5121 GB, free: 98.22 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches