Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 195.7 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.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007305/0.0007306, allocations: 99.64 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002077/0.0002078, allocations: 8 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1883, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.291, allocations: 89.86 MB / 498.5 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.2913, allocations: 91.92 kB / 498.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03536/0.3267, allocations: 14.2 MB / 0.5008 GB, free: 3.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3267, allocations: 0 / 0.5008 GB, free: 3.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.3268, allocations: 20 kB / 0.5008 GB, free: 3.312 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001583/0.3284, allocations: 0.9509 MB / 0.5018 GB, free: 2.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3284, allocations: 11.97 kB / 0.5018 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.3287, allocations: 111.9 kB / 0.5019 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.3294, allocations: 0.5027 MB / 0.5024 GB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.3295, allocations: 53.67 kB / 0.5024 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.3296, allocations: 68.38 kB / 0.5025 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3308, allocations: 0.6978 MB / 0.5032 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3309, allocations: 192 / 0.5032 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.331, allocations: 31.94 kB / 0.5032 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.331, allocations: 16 kB / 0.5032 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.332, allocations: 0.5243 MB / 0.5037 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/0.4997, allocations: 2.42 MB / 0.5061 GB, free: 90.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.5006, allocations: 452.5 kB / 0.5065 GB, free: 90.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.5011, allocations: 277.4 kB / 0.5068 GB, free: 90.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.5012, allocations: 4.281 kB / 0.5068 GB, free: 90.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/0.5018, allocations: 334.7 kB / 0.5071 GB, free: 90.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.935e-06/0.5018, allocations: 0 / 0.5071 GB, free: 90.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001768/0.5036, allocations: 0.7826 MB / 0.5079 GB, free: 90.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5036, allocations: 173.3 kB / 0.508 GB, free: 90.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.5043, allocations: 0.4917 MB / 0.5085 GB, free: 90.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.5043, allocations: 45.94 kB / 0.5086 GB, free: 90.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.5045, allocations: 327.8 kB / 0.5089 GB, free: 90.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5047, allocations: 148.7 kB / 0.509 GB, free: 89.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.5047, allocations: 12.09 kB / 0.509 GB, free: 89.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.5048, allocations: 373.9 kB / 0.5094 GB, free: 89.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.5052, allocations: 194.4 kB / 0.5096 GB, free: 89.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.5057, allocations: 361.8 kB / 0.5099 GB, free: 89.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.5065, allocations: 498.1 kB / 0.5104 GB, free: 89.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5065, allocations: 1.156 kB / 0.5104 GB, free: 89.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001067/0.5076, allocations: 0.6424 MB / 0.511 GB, free: 89.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.5077, allocations: 222.6 kB / 0.5112 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.5077, allocations: 3.656 kB / 0.5112 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.5079, allocations: 84.39 kB / 0.5113 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5083, allocations: 99.72 kB / 0.5114 GB, free: 88.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5096, allocations: 1.733 MB / 0.5131 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.5101, allocations: 91.02 kB / 0.5132 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.5101, allocations: 25.34 kB / 0.5132 GB, free: 87.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.5101, allocations: 3.875 kB / 0.5132 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007587/0.5109, allocations: 0.5419 MB / 0.5137 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5109, allocations: 3.938 kB / 0.5137 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.5111, allocations: 75.83 kB / 0.5138 GB, free: 87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5114, allocations: 98.62 kB / 0.5139 GB, free: 86.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.5126, allocations: 1.736 MB / 0.5156 GB, free: 85.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.513, allocations: 85.81 kB / 0.5157 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.513, allocations: 19.62 kB / 0.5157 GB, free: 85.38 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 (64): * 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: 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.0003868/0.5134, allocations: 312.3 kB / 0.516 GB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.5135, allocations: 57.47 kB / 0.5161 GB, free: 85.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.5136, allocations: 64.27 kB / 0.5161 GB, free: 85.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5136, allocations: 7.719 kB / 0.5161 GB, free: 85.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.5137, allocations: 3.938 kB / 0.5161 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5137, allocations: 3.891 kB / 0.5161 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.5154, allocations: 1.364 MB / 0.5175 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5154, allocations: 0 / 0.5175 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.5156, allocations: 50.06 kB / 0.5175 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.5158, allocations: 80.23 kB / 0.5176 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.5158, allocations: 15.36 kB / 0.5176 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.517, allocations: 1.653 MB / 0.5192 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.517, allocations: 0 / 0.5192 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.518, allocations: 0.8288 MB / 0.52 GB, free: 82.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.5182, allocations: 178.7 kB / 0.5202 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5183, allocations: 11.94 kB / 0.5202 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.5186, allocations: 50.58 kB / 0.5203 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5187, allocations: 50.45 kB / 0.5203 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.5188, allocations: 16.91 kB / 0.5203 GB, free: 82.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.5192, allocations: 351.6 kB / 0.5207 GB, free: 81.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5192, allocations: 0 / 0.5207 GB, free: 81.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008598/0.52, allocations: 310.9 kB / 0.521 GB, free: 81.92 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 (42): * 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: 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.0001618/0.5202, allocations: 139.4 kB / 0.5211 GB, free: 81.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.5216, allocations: 1.02 MB / 0.5221 GB, free: 81.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5216, allocations: 4.953 kB / 0.5221 GB, free: 81.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.5221, allocations: 378 kB / 0.5225 GB, free: 81.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.5227, allocations: 101.5 kB / 0.5226 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.5245, allocations: 1.499 MB / 0.524 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5248, allocations: 0.9283 MB / 0.5249 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.525, allocations: 42.72 kB / 0.525 GB, free: 79.4 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.525, allocations: 4 kB / 0.525 GB, free: 79.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01099/0.536, allocations: 10.66 MB / 0.5354 GB, free: 73.54 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches