Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 198 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007395/0.0007398, allocations: 95.16 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.0002351, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2026, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09981/0.3025, allocations: 89.58 MB / 498.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3028, allocations: 87.95 kB / 498.3 MB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03408/0.3369, allocations: 13.9 MB / 0.5002 GB, free: 3.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3369, allocations: 0 / 0.5002 GB, free: 3.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.532e-05/0.337, allocations: 20 kB / 0.5003 GB, free: 3.918 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001468/0.3384, allocations: 0.9311 MB / 0.5012 GB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3385, allocations: 12.03 kB / 0.5012 GB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.3388, allocations: 119.9 kB / 0.5013 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.3394, allocations: 0.4911 MB / 0.5018 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.3395, allocations: 49.69 kB / 0.5018 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.3396, allocations: 68.38 kB / 0.5019 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3407, allocations: 0.6783 MB / 0.5026 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3407, allocations: 8.078 kB / 0.5026 GB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.3408, allocations: 27.94 kB / 0.5026 GB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.3408, allocations: 20 kB / 0.5026 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.3418, allocations: 0.5048 MB / 0.5031 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1544/0.4961, allocations: 2.376 MB / 0.5054 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.497, allocations: 443.7 kB / 0.5058 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.4975, allocations: 268.3 kB / 0.5061 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.4976, allocations: 4.406 kB / 0.5061 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.4981, allocations: 331.5 kB / 0.5064 GB, free: 90.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.494e-06/0.4981, allocations: 0 / 0.5064 GB, free: 90.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001731/0.4999, allocations: 0.7787 MB / 0.5072 GB, free: 90.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4999, allocations: 167.3 kB / 0.5073 GB, free: 90.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.5006, allocations: 0.4891 MB / 0.5078 GB, free: 90.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.5007, allocations: 47.19 kB / 0.5079 GB, free: 90.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.5009, allocations: 320.9 kB / 0.5082 GB, free: 89.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.501, allocations: 150.8 kB / 0.5083 GB, free: 89.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.501, allocations: 10 kB / 0.5083 GB, free: 89.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.5011, allocations: 369.2 kB / 0.5087 GB, free: 89.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.5015, allocations: 188.9 kB / 0.5089 GB, free: 89.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.502, allocations: 358.1 kB / 0.5092 GB, free: 89.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008028/0.5028, allocations: 490.7 kB / 0.5097 GB, free: 89.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5028, allocations: 1.5 kB / 0.5097 GB, free: 89.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001247/0.5041, allocations: 0.6323 MB / 0.5103 GB, free: 89.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.5042, allocations: 219.3 kB / 0.5105 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5042, allocations: 4.188 kB / 0.5105 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.5045, allocations: 78.42 kB / 0.5106 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5049, allocations: 100.9 kB / 0.5107 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.5064, allocations: 1.737 MB / 0.5124 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.5068, allocations: 98.44 kB / 0.5125 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.5068, allocations: 21.69 kB / 0.5125 GB, free: 87.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.5069, allocations: 6.531 kB / 0.5125 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007399/0.5076, allocations: 0.5292 MB / 0.513 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5076, allocations: 6.219 kB / 0.513 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.5078, allocations: 82.27 kB / 0.5131 GB, free: 87.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5081, allocations: 91.22 kB / 0.5132 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.5092, allocations: 1.745 MB / 0.5149 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.5096, allocations: 74.14 kB / 0.5149 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.5096, allocations: 23.75 kB / 0.515 GB, free: 85.65 MB / 378.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_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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.000314/0.51, allocations: 309.4 kB / 0.5153 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.51, allocations: 54.69 kB / 0.5153 GB, free: 85.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.5101, allocations: 64 kB / 0.5154 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5101, allocations: 7.531 kB / 0.5154 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5101, allocations: 0 / 0.5154 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5102, allocations: 3.562 kB / 0.5154 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.5118, allocations: 1.35 MB / 0.5167 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5118, allocations: 2.531 kB / 0.5167 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.512, allocations: 57.77 kB / 0.5168 GB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.5122, allocations: 70.92 kB / 0.5168 GB, free: 84.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.5123, allocations: 15.66 kB / 0.5168 GB, free: 84.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.5134, allocations: 1.647 MB / 0.5185 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5134, allocations: 0 / 0.5185 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5144, allocations: 0.8319 MB / 0.5193 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.5146, allocations: 172.5 kB / 0.5194 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5147, allocations: 15.5 kB / 0.5194 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.515, allocations: 47.62 kB / 0.5195 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5151, allocations: 58.08 kB / 0.5195 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.5151, allocations: 15.72 kB / 0.5196 GB, free: 82.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003329/0.5155, allocations: 343.1 kB / 0.5199 GB, free: 82.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5155, allocations: 0 / 0.5199 GB, free: 82.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008346/0.5163, allocations: 294.5 kB / 0.5202 GB, free: 82.2 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: 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_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_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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.0001637/0.5165, allocations: 143.1 kB / 0.5203 GB, free: 82.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.5178, allocations: 1.012 MB / 0.5213 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5178, allocations: 1.219 kB / 0.5213 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.5183, allocations: 380.5 kB / 0.5217 GB, free: 81.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.5188, allocations: 98.02 kB / 0.5217 GB, free: 81.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.5205, allocations: 1.468 MB / 0.5232 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5208, allocations: 0.9195 MB / 0.5241 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.521, allocations: 43.88 kB / 0.5241 GB, free: 79.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.521, allocations: 0 / 0.5241 GB, free: 79.71 MB / 378.7 MB Notification: Performance of Templates: time 0.01127/0.5323, allocations: 10.44 MB / 0.5343 GB, free: 74.52 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches