Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001786/0.001786, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000944/0.0009439, allocations: 107 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002476, allocations: 4 kB / 357.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3222, allocations: 89.88 MB / 499.3 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3224, allocations: 95.94 kB / 499.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0366/0.359, allocations: 14.18 MB / 0.5016 GB, free: 2.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3591, allocations: 4 kB / 0.5016 GB, free: 2.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.792e-05/0.3592, allocations: 20 kB / 0.5016 GB, free: 2.34 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.002005/0.3612, allocations: 0.9507 MB / 0.5025 GB, free: 1.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3612, allocations: 12.03 kB / 0.5025 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.3616, allocations: 111.2 kB / 0.5026 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/0.3625, allocations: 0.494 MB / 0.5031 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.3626, allocations: 49.31 kB / 0.5032 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3627, allocations: 75.92 kB / 0.5032 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1689/0.5316, allocations: 0.6859 MB / 0.5039 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.5317, allocations: 1.594 kB / 0.5039 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.5318, allocations: 26.38 kB / 0.5039 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.5319, allocations: 15.78 kB / 0.5039 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5333, allocations: 0.5193 MB / 0.5044 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.537, allocations: 2.431 MB / 0.5068 GB, free: 89.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.5377, allocations: 451.9 kB / 0.5073 GB, free: 89.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5378, allocations: 6.016 kB / 0.5073 GB, free: 89.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.5383, allocations: 329.6 kB / 0.5076 GB, free: 89.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.5383, allocations: 0 / 0.5076 GB, free: 89.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001517/0.5398, allocations: 0.7871 MB / 0.5083 GB, free: 89.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.5399, allocations: 142.3 kB / 0.5085 GB, free: 89.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.5404, allocations: 451.4 kB / 0.5089 GB, free: 89.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.5405, allocations: 44.92 kB / 0.5089 GB, free: 89.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5406, allocations: 330.4 kB / 0.5093 GB, free: 88.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.5407, allocations: 146.3 kB / 0.5094 GB, free: 88.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.5408, allocations: 9.75 kB / 0.5094 GB, free: 88.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.5409, allocations: 367.5 kB / 0.5098 GB, free: 88.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.5412, allocations: 194.6 kB / 0.5099 GB, free: 88.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.5417, allocations: 354.9 kB / 0.5103 GB, free: 88.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.5421, allocations: 214.6 kB / 0.5105 GB, free: 88.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5421, allocations: 4.281 kB / 0.5105 GB, free: 88.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00102/0.5431, allocations: 0.64 MB / 0.5111 GB, free: 88.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.5434, allocations: 1.571 MB / 0.5127 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5434, allocations: 3.656 kB / 0.5127 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.5437, allocations: 84.56 kB / 0.5127 GB, free: 86.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.544, allocations: 97.28 kB / 0.5128 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.5453, allocations: 1.795 MB / 0.5146 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.5457, allocations: 92.03 kB / 0.5147 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.5457, allocations: 23.23 kB / 0.5147 GB, free: 84.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.5457, allocations: 3.938 kB / 0.5147 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000702/0.5464, allocations: 0.5208 MB / 0.5152 GB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5465, allocations: 3.938 kB / 0.5152 GB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.5466, allocations: 85.19 kB / 0.5153 GB, free: 84.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.5469, allocations: 91.73 kB / 0.5154 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.5481, allocations: 1.808 MB / 0.5171 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.5484, allocations: 72.23 kB / 0.5172 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.5485, allocations: 18.12 kB / 0.5172 GB, free: 82.88 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: 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.5487, allocations: 320.5 kB / 0.5175 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.5488, allocations: 59.88 kB / 0.5176 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.5489, allocations: 62.3 kB / 0.5177 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5489, allocations: 3.875 kB / 0.5177 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5489, allocations: 0 / 0.5177 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5489, allocations: 3.609 kB / 0.5177 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.5503, allocations: 1.248 MB / 0.5189 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.5503, allocations: 2 kB / 0.5189 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.5506, allocations: 56.58 kB / 0.5189 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.5507, allocations: 71.73 kB / 0.519 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.5508, allocations: 11.97 kB / 0.519 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.552, allocations: 1.805 MB / 0.5208 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.552, allocations: 0 / 0.5208 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.553, allocations: 0.8078 MB / 0.5216 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.5531, allocations: 178.4 kB / 0.5217 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.5532, allocations: 14.94 kB / 0.5218 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.5535, allocations: 51.62 kB / 0.5218 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5537, allocations: 50.64 kB / 0.5218 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.5537, allocations: 18 kB / 0.5219 GB, free: 79.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003714/0.5541, allocations: 354.8 kB / 0.5222 GB, free: 79.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5541, allocations: 0 / 0.5222 GB, free: 79.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008239/0.5549, allocations: 309.8 kB / 0.5225 GB, free: 79.39 MB / 378.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: 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.5551, allocations: 138.4 kB / 0.5226 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.5564, allocations: 1.025 MB / 0.5236 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5565, allocations: 0 / 0.5236 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.5569, allocations: 377.7 kB / 0.524 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5573, allocations: 91.73 kB / 0.5241 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.5591, allocations: 1.456 MB / 0.5255 GB, free: 77.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5594, allocations: 0.9438 MB / 0.5264 GB, free: 76.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.5597, allocations: 97.06 kB / 0.5265 GB, free: 76.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.5598, allocations: 46.22 kB / 0.5266 GB, free: 76.92 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.5598, allocations: 0 / 0.5266 GB, free: 76.92 MB / 378.7 MB Notification: Performance of Templates: time 0.01105/0.5709, allocations: 7.694 MB / 0.5341 GB, free: 73.96 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches