Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.0009973/0.0009973, allocations: 196 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007995/0.0007996, allocations: 102.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003905, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4223, allocations: 89.58 MB / 499 MB, free: 1.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4226, allocations: 87.94 kB / 499.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03556/0.4582, allocations: 13.91 MB / 0.5009 GB, free: 3.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4582, allocations: 3.938 kB / 0.5009 GB, free: 3.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.49e-05/0.4583, allocations: 16 kB / 0.501 GB, free: 3.836 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.00198/0.4603, allocations: 0.9272 MB / 0.5019 GB, free: 2.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4603, allocations: 16.03 kB / 0.5019 GB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.4607, allocations: 107.8 kB / 0.502 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.4617, allocations: 0.5027 MB / 0.5025 GB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.4618, allocations: 45.69 kB / 0.5025 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.4619, allocations: 64.38 kB / 0.5026 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.4632, allocations: 0.6823 MB / 0.5032 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.4633, allocations: 4.094 kB / 0.5033 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.4633, allocations: 31.88 kB / 0.5033 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.4634, allocations: 16 kB / 0.5033 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4644, allocations: 0.5009 MB / 0.5038 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2312/0.6957, allocations: 2.385 MB / 0.5061 GB, free: 90.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.6966, allocations: 442.1 kB / 0.5065 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.6972, allocations: 268 kB / 0.5068 GB, free: 90.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.6972, allocations: 5.5 kB / 0.5068 GB, free: 90.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.6978, allocations: 338.9 kB / 0.5071 GB, free: 90.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.6978, allocations: 0 / 0.5071 GB, free: 90.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001743/0.6996, allocations: 0.7723 MB / 0.5079 GB, free: 90.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.6997, allocations: 166.9 kB / 0.508 GB, free: 90.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.7004, allocations: 496.4 kB / 0.5085 GB, free: 90.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.7005, allocations: 41.27 kB / 0.5085 GB, free: 90.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.7007, allocations: 326.5 kB / 0.5089 GB, free: 90.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.7008, allocations: 143.7 kB / 0.509 GB, free: 89.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.7009, allocations: 14.22 kB / 0.509 GB, free: 89.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.701, allocations: 368.7 kB / 0.5094 GB, free: 89.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.7014, allocations: 194.1 kB / 0.5095 GB, free: 89.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.7019, allocations: 357.8 kB / 0.5099 GB, free: 89.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.7027, allocations: 495.8 kB / 0.5104 GB, free: 89.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.7027, allocations: 1.562 kB / 0.5104 GB, free: 89.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001359/0.7041, allocations: 0.6297 MB / 0.511 GB, free: 89.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.7042, allocations: 225.6 kB / 0.5112 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7042, allocations: 5.156 kB / 0.5112 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.7045, allocations: 81.33 kB / 0.5113 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.7049, allocations: 99.28 kB / 0.5114 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.7064, allocations: 1.736 MB / 0.5131 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.7069, allocations: 91.73 kB / 0.5132 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.707, allocations: 26.47 kB / 0.5132 GB, free: 87.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.707, allocations: 7.594 kB / 0.5132 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008203/0.7078, allocations: 0.529 MB / 0.5137 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7078, allocations: 5.281 kB / 0.5137 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.7081, allocations: 78.2 kB / 0.5138 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.7083, allocations: 89.22 kB / 0.5139 GB, free: 87.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.7096, allocations: 1.751 MB / 0.5156 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.7101, allocations: 72.5 kB / 0.5156 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.7101, allocations: 19.53 kB / 0.5157 GB, free: 85.71 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.0004672/0.7106, allocations: 319.4 kB / 0.516 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.7107, allocations: 54.41 kB / 0.516 GB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.7108, allocations: 59.77 kB / 0.5161 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7108, allocations: 7.625 kB / 0.5161 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7108, allocations: 3.938 kB / 0.5161 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7108, allocations: 3.516 kB / 0.5161 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.7126, allocations: 1.347 MB / 0.5174 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7126, allocations: 0 / 0.5174 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.7129, allocations: 60 kB / 0.5175 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.7131, allocations: 75.25 kB / 0.5175 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.7131, allocations: 4 kB / 0.5175 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.7143, allocations: 1.654 MB / 0.5192 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7143, allocations: 0 / 0.5192 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.7154, allocations: 0.8273 MB / 0.52 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.7156, allocations: 180.6 kB / 0.5201 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.7157, allocations: 11.58 kB / 0.5201 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.716, allocations: 47.19 kB / 0.5202 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.7161, allocations: 50.64 kB / 0.5202 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.7162, allocations: 19.45 kB / 0.5203 GB, free: 82.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004058/0.7166, allocations: 347.7 kB / 0.5206 GB, free: 82.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7166, allocations: 0 / 0.5206 GB, free: 82.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001064/0.7177, allocations: 292.3 kB / 0.5209 GB, free: 82.25 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.0002688/0.7179, allocations: 138.2 kB / 0.521 GB, free: 82.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.7198, allocations: 1.012 MB / 0.522 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.7198, allocations: 0 / 0.522 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.7204, allocations: 385.3 kB / 0.5224 GB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.7211, allocations: 94.66 kB / 0.5224 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.7236, allocations: 1.441 MB / 0.5239 GB, free: 80.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.7241, allocations: 0.9264 MB / 0.5248 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00036/0.7244, allocations: 102.7 kB / 0.5249 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/0.7245, allocations: 42.59 kB / 0.5249 GB, free: 79.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7245, allocations: 3.938 kB / 0.5249 GB, free: 79.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01265/0.7372, allocations: 7.621 MB / 0.5323 GB, free: 77.48 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches