Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008822, allocations: 87.73 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 12 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.3707, allocations: 89.05 MB / 490.6 MB, free: 7.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.371, allocations: 91.94 kB / 490.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03777/0.4088, allocations: 14.07 MB / 0.4929 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4088, allocations: 0 / 0.4929 GB, free: 9.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.4089, allocations: 12 kB / 0.4929 GB, free: 9.176 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.001703/0.4106, allocations: 0.9547 MB / 0.4939 GB, free: 8.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4106, allocations: 8.031 kB / 0.4939 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.4108, allocations: 82.97 kB / 0.4939 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.4116, allocations: 498.2 kB / 0.4944 GB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.4117, allocations: 57.3 kB / 0.4945 GB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.4118, allocations: 64 kB / 0.4945 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.413, allocations: 0.6934 MB / 0.4952 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.413, allocations: 0 / 0.4952 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.4131, allocations: 24 kB / 0.4952 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4131, allocations: 19.98 kB / 0.4953 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.414, allocations: 0.5204 MB / 0.4958 GB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.4175, allocations: 2.419 MB / 0.4981 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.4183, allocations: 459.3 kB / 0.4986 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.4183, allocations: 8 kB / 0.4986 GB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.4188, allocations: 323.8 kB / 0.4989 GB, free: 2.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.836e-06/0.4189, allocations: 0 / 0.4989 GB, free: 2.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001607/0.4205, allocations: 0.7779 MB / 0.4996 GB, free: 2.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.4206, allocations: 144.9 kB / 0.4998 GB, free: 1.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.4211, allocations: 449 kB / 0.5002 GB, free: 1.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.4212, allocations: 41.7 kB / 0.5002 GB, free: 1.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.4214, allocations: 316.3 kB / 0.5005 GB, free: 1.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4215, allocations: 153.9 kB / 0.5007 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.4216, allocations: 12 kB / 0.5007 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4217, allocations: 374.7 kB / 0.5011 GB, free: 500 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.4221, allocations: 193.2 kB / 0.5012 GB, free: 308 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2234/0.6455, allocations: 342.5 kB / 0.5016 GB, free: 95.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.6464, allocations: 208.2 kB / 0.5018 GB, free: 95.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6464, allocations: 4.844 kB / 0.5018 GB, free: 95.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001606/0.648, allocations: 0.6273 MB / 0.5024 GB, free: 95.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003765/0.6484, allocations: 1.574 MB / 0.5039 GB, free: 93.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6484, allocations: 7.312 kB / 0.5039 GB, free: 93.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.6488, allocations: 84.64 kB / 0.504 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.6493, allocations: 96.44 kB / 0.5041 GB, free: 93.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.6511, allocations: 1.79 MB / 0.5058 GB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.6517, allocations: 93.86 kB / 0.5059 GB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.6518, allocations: 26.77 kB / 0.506 GB, free: 92.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6518, allocations: 6.219 kB / 0.506 GB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/0.6528, allocations: 0.5228 MB / 0.5065 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6529, allocations: 3.844 kB / 0.5065 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.6531, allocations: 84.8 kB / 0.5066 GB, free: 92.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.6535, allocations: 92.38 kB / 0.5067 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.6554, allocations: 1.792 MB / 0.5084 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.656, allocations: 77.84 kB / 0.5085 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.656, allocations: 22.67 kB / 0.5085 GB, free: 90.9 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.0005404/0.6566, allocations: 312.2 kB / 0.5088 GB, free: 90.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6567, allocations: 58.72 kB / 0.5089 GB, free: 90.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.6569, allocations: 65.94 kB / 0.5089 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6569, allocations: 5.219 kB / 0.5089 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6569, allocations: 3.938 kB / 0.5089 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6569, allocations: 3.438 kB / 0.5089 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.659, allocations: 1.246 MB / 0.5101 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.659, allocations: 0 / 0.5101 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.6592, allocations: 54.91 kB / 0.5102 GB, free: 90.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.6595, allocations: 78.62 kB / 0.5103 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.6595, allocations: 5.812 kB / 0.5103 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.6609, allocations: 1.798 MB / 0.512 GB, free: 88.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6609, allocations: 5.094 kB / 0.512 GB, free: 88.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.662, allocations: 0.8109 MB / 0.5128 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.6622, allocations: 183 kB / 0.513 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.6623, allocations: 11.72 kB / 0.513 GB, free: 88.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.6626, allocations: 46.47 kB / 0.5131 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6628, allocations: 52.55 kB / 0.5131 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.6628, allocations: 18.66 kB / 0.5131 GB, free: 88.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003967/0.6632, allocations: 348.5 kB / 0.5135 GB, free: 88.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6632, allocations: 0 / 0.5135 GB, free: 88.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6643, allocations: 300.3 kB / 0.5137 GB, free: 88.23 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.0002111/0.6646, allocations: 139.9 kB / 0.5139 GB, free: 88.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.6661, allocations: 1.028 MB / 0.5149 GB, free: 87.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6661, allocations: 0 / 0.5149 GB, free: 87.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.6666, allocations: 370.5 kB / 0.5152 GB, free: 87.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.6671, allocations: 89.64 kB / 0.5153 GB, free: 87.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.6691, allocations: 1.446 MB / 0.5167 GB, free: 86.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6695, allocations: 0.9466 MB / 0.5177 GB, free: 85.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.6698, allocations: 100.9 kB / 0.5178 GB, free: 85.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.6699, allocations: 41.77 kB / 0.5178 GB, free: 85.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6699, allocations: 3.969 kB / 0.5178 GB, free: 85.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01202/0.682, allocations: 7.597 MB / 0.5252 GB, free: 84.9 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches