Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008085/0.0008086, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.273e-05, allocations: 7.984 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08317, allocations: 47.58 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/0.3616, allocations: 87.37 MB / 457.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.3619, allocations: 79.27 kB / 457.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03365/0.3956, allocations: 12.97 MB / 470.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3956, allocations: 4 kB / 470.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.3956, allocations: 12 kB / 470.5 MB, free: 10.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001372/0.397, allocations: 0.8329 MB / 471.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3971, allocations: 12.03 kB / 471.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.3972, allocations: 83.02 kB / 471.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.398, allocations: 486 kB / 471.9 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.398, allocations: 45.31 kB / 471.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3981, allocations: 63.94 kB / 472 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3991, allocations: 0.599 MB / 472.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3992, allocations: 11.83 kB / 472.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.3992, allocations: 28 kB / 472.6 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3993, allocations: 16 kB / 472.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.4, allocations: 433 kB / 473.1 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.4037, allocations: 2.29 MB / 475.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.4047, allocations: 455.3 kB / 475.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.4051, allocations: 250 kB / 476 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.4052, allocations: 4 kB / 476 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.4057, allocations: 304.8 kB / 476.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.4057, allocations: 0 / 476.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.000794/0.4065, allocations: 421.5 kB / 476.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4066, allocations: 136.5 kB / 476.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.4072, allocations: 411 kB / 477.3 MB, free: 3.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.4073, allocations: 41.69 kB / 477.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.4075, allocations: 308.4 kB / 477.6 MB, free: 2.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4076, allocations: 134.1 kB / 477.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.4076, allocations: 12.03 kB / 477.8 MB, free: 2.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4078, allocations: 370.7 kB / 478.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.408, allocations: 149.1 kB / 478.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.4084, allocations: 308.1 kB / 478.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.4087, allocations: 171.7 kB / 478.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4087, allocations: 0 / 478.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008339/0.4095, allocations: 0.5444 MB / 479.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006043/0.4102, allocations: 1.655 MB / 480.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4102, allocations: 4 kB / 481 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.4105, allocations: 80.83 kB / 481 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.4109, allocations: 95.78 kB / 481.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.4125, allocations: 1.745 MB / 482.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.413, allocations: 83.64 kB / 483 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4131, allocations: 27.94 kB / 483 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.4131, allocations: 4 kB / 483 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007371/0.4138, allocations: 483.9 kB / 483.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4139, allocations: 4 kB / 483.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.4141, allocations: 72.83 kB / 483.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.4144, allocations: 88.33 kB / 483.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.416, allocations: 1.745 MB / 485.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.4164, allocations: 67.56 kB / 485.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.4165, allocations: 20 kB / 485.4 MB, free: 10.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.4167, allocations: 160.9 kB / 485.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.4167, allocations: 59.38 kB / 485.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.4169, allocations: 56.89 kB / 485.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4169, allocations: 4 kB / 485.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4169, allocations: 0 / 485.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4169, allocations: 3.984 kB / 485.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4186, allocations: 1.244 MB / 487 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4187, allocations: 0 / 487 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4189, allocations: 51.91 kB / 487 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/0.4191, allocations: 68.83 kB / 487.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.4192, allocations: 11.98 kB / 487.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.4207, allocations: 1.648 MB / 488.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4207, allocations: 8.094 kB / 488.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.4218, allocations: 0.756 MB / 489.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.422, allocations: 172.4 kB / 489.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.4221, allocations: 12 kB / 489.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4224, allocations: 43.97 kB / 489.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4226, allocations: 51.92 kB / 489.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4226, allocations: 15.98 kB / 489.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004144/0.423, allocations: 309.2 kB / 490.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.423, allocations: 4 kB / 490.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009159/0.424, allocations: 287.1 kB / 490.4 MB, free: 5.359 MB / 362.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.4242, allocations: 129.4 kB / 490.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.4256, allocations: 0.9223 MB / 491.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4256, allocations: 0 / 491.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.4261, allocations: 348 kB / 491.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.4266, allocations: 91.91 kB / 491.9 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4282, allocations: 0.8287 MB / 492.7 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.4287, allocations: 0.9269 MB / 493.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4291, allocations: 108.5 kB / 493.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.4292, allocations: 43.42 kB / 493.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4292, allocations: 0 / 493.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of Templates: time 0.01834/0.4476, allocations: 7.823 MB / 0.4898 GB, free: 10.04 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches