Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008399/0.0008399, allocations: 95.53 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.849e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.302/0.4123, allocations: 89.34 MB / 484.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4126, allocations: 90.55 kB / 484.6 MB, free: 3.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03507/0.4476, allocations: 14.75 MB / 499.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4477, allocations: 0 / 499.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.227e-05/0.4477, allocations: 16 kB / 499.4 MB, free: 7.676 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00143/0.4492, allocations: 0.9088 MB / 0.4886 GB, free: 6.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4492, allocations: 8.031 kB / 0.4886 GB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.4495, allocations: 99.81 kB / 0.4887 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.4502, allocations: 0.5205 MB / 0.4892 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.4502, allocations: 23.31 kB / 0.4892 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.4503, allocations: 51.98 kB / 0.4892 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007619/0.4511, allocations: 487.6 kB / 0.4897 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.4521, allocations: 0.629 MB / 0.4903 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4521, allocations: 4 kB / 0.4903 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.4522, allocations: 0 / 0.4903 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.4522, allocations: 20 kB / 0.4903 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.4558, allocations: 2.61 MB / 0.4929 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.4565, allocations: 0.5182 MB / 0.4934 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.457, allocations: 343.8 kB / 0.4937 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.4571, allocations: 4.438 kB / 0.4937 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.4576, allocations: 356.1 kB / 0.4941 GB, free: 2.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.4576, allocations: 0 / 0.4941 GB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.0008583/0.4585, allocations: 0.5164 MB / 0.4946 GB, free: 1.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.4585, allocations: 140.1 kB / 0.4947 GB, free: 1.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.459, allocations: 382.9 kB / 0.4951 GB, free: 1.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.4591, allocations: 33.52 kB / 0.4951 GB, free: 1.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.4593, allocations: 333.4 kB / 0.4954 GB, free: 1.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4594, allocations: 170.6 kB / 0.4956 GB, free: 1.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.4595, allocations: 0 / 0.4956 GB, free: 1.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4596, allocations: 367 kB / 0.4959 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.4599, allocations: 191.4 kB / 0.4961 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.4603, allocations: 347.4 kB / 0.4965 GB, free: 332 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.4606, allocations: 203 kB / 0.4966 GB, free: 204 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4606, allocations: 7.984 kB / 0.4967 GB, free: 196 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00101/0.4616, allocations: 0.6416 MB / 0.4973 GB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.4622, allocations: 1.584 MB / 0.4988 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4622, allocations: 4 kB / 0.4988 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/0.4627, allocations: 151.7 kB / 0.499 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.4631, allocations: 95.7 kB / 0.4991 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.4663, allocations: 3.508 MB / 0.5025 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.4668, allocations: 75.61 kB / 0.5026 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.4668, allocations: 24 kB / 0.5026 GB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.4668, allocations: 1.875 kB / 0.5026 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009025/0.4677, allocations: 0.5578 MB / 0.5031 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4678, allocations: 4 kB / 0.5031 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.4681, allocations: 157.6 kB / 0.5033 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.4685, allocations: 95.86 kB / 0.5034 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.4717, allocations: 3.502 MB / 0.5068 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.4721, allocations: 63.56 kB / 0.5069 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.4721, allocations: 24 kB / 0.5069 GB, free: 5.641 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_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,$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 () * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.4723, allocations: 142 kB / 0.507 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.4724, allocations: 55.34 kB / 0.5071 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.4726, allocations: 61.72 kB / 0.5071 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4726, allocations: 8 kB / 0.5071 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4726, allocations: 0 / 0.5071 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4726, allocations: 9.766 kB / 0.5071 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.4745, allocations: 1.309 MB / 0.5084 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4745, allocations: 0 / 0.5084 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4748, allocations: 59.91 kB / 0.5085 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/0.4752, allocations: 148.8 kB / 0.5086 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.4753, allocations: 7.984 kB / 0.5086 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4784, allocations: 3.39 MB / 0.5119 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4784, allocations: 0 / 0.5119 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4797, allocations: 0.9141 MB / 0.5128 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.48, allocations: 188.3 kB / 0.513 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.4801, allocations: 7.984 kB / 0.513 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.4804, allocations: 39.97 kB / 0.5131 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.4806, allocations: 68.45 kB / 0.5131 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4806, allocations: 19.98 kB / 0.5131 GB, free: 14.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.481, allocations: 283 kB / 0.5134 GB, free: 14.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.481, allocations: 0 / 0.5134 GB, free: 14.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001125/0.4821, allocations: 323 kB / 0.5137 GB, free: 14.3 MB / 394.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_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.4823, allocations: 139.4 kB / 0.5139 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4841, allocations: 1.332 MB / 0.5152 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4841, allocations: 0 / 0.5152 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.4847, allocations: 0.5101 MB / 0.5157 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.4852, allocations: 90.02 kB / 0.5157 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.4872, allocations: 0.9832 MB / 0.5167 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.4877, allocations: 0.9669 MB / 0.5176 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000424/0.4882, allocations: 116.7 kB / 0.5178 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.4883, allocations: 35.42 kB / 0.5178 GB, free: 10.03 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4883, allocations: 0 / 0.5178 GB, free: 10.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01888/0.5071, allocations: 10.11 MB / 0.5277 GB, free: 132 kB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches