Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 188.3 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 93.78 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003967, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4753, allocations: 87.17 MB / 461.7 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.4757, allocations: 83.95 kB / 461.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05411/0.5299, allocations: 12.65 MB / 474.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5299, allocations: 8 kB / 474.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.53, allocations: 12 kB / 474.5 MB, free: 12.77 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00257/0.5326, allocations: 0.8868 MB / 475.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5327, allocations: 8.031 kB / 475.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.5329, allocations: 75.16 kB / 475.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.534, allocations: 474 kB / 475.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.5341, allocations: 41.31 kB / 476 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5343, allocations: 63.98 kB / 476 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5361, allocations: 0.6184 MB / 476.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.5362, allocations: 7.844 kB / 476.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.5363, allocations: 27.98 kB / 476.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5363, allocations: 12 kB / 476.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.5379, allocations: 477 kB / 477.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.5436, allocations: 2.214 MB / 479.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5452, allocations: 471.2 kB / 479.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.5453, allocations: 4.328 kB / 479.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008099/0.5461, allocations: 309.5 kB / 480.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 6.523e-06/0.5461, allocations: 0 / 480.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00288/0.549, allocations: 0.7379 MB / 480.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5492, allocations: 110.8 kB / 481 MB, free: 5.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.5502, allocations: 425 kB / 481.4 MB, free: 5.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5503, allocations: 41.7 kB / 481.4 MB, free: 5.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.5506, allocations: 334.9 kB / 481.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5508, allocations: 134.2 kB / 481.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.5508, allocations: 8 kB / 481.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.551, allocations: 338.8 kB / 482.2 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.5516, allocations: 173 kB / 482.4 MB, free: 4.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.5524, allocations: 322.8 kB / 482.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.553, allocations: 200.1 kB / 482.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.553, allocations: 0 / 482.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00171/0.5547, allocations: 0.5485 MB / 483.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006673/0.5554, allocations: 1.581 MB / 485 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5555, allocations: 7.984 kB / 485 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.556, allocations: 88.8 kB / 485.1 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.5566, allocations: 91.83 kB / 485.2 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.5597, allocations: 1.85 MB / 487.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.5606, allocations: 83.69 kB / 487.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.5606, allocations: 20 kB / 487.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5607, allocations: 4 kB / 487.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/0.5621, allocations: 488.3 kB / 487.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.5622, allocations: 4 kB / 487.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/0.5626, allocations: 97.38 kB / 487.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.5631, allocations: 75.89 kB / 487.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.5659, allocations: 1.836 MB / 489.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.5667, allocations: 67.72 kB / 489.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5667, allocations: 20 kB / 489.7 MB, free: 12.7 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005813/0.5673, allocations: 308.9 kB / 490.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5675, allocations: 51.34 kB / 490.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.5677, allocations: 53.05 kB / 490.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5677, allocations: 16.02 kB / 490.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5677, allocations: 7.891 kB / 490.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5677, allocations: 0 / 490.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.5706, allocations: 1.155 MB / 491.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5707, allocations: 3.938 kB / 491.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.5711, allocations: 35.97 kB / 491.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.5715, allocations: 84.75 kB / 491.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.5715, allocations: 7.984 kB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.5744, allocations: 1.769 MB / 493.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5744, allocations: 0 / 493.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.5766, allocations: 0.7476 MB / 494 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.5771, allocations: 168.4 kB / 494.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.5772, allocations: 8 kB / 494.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.5778, allocations: 51.91 kB / 494.2 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.578, allocations: 47.92 kB / 494.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.5781, allocations: 16 kB / 494.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006973/0.5788, allocations: 327.1 kB / 494.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5788, allocations: 0 / 494.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001318/0.5801, allocations: 267.2 kB / 494.8 MB, free: 7.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/0.5804, allocations: 129.5 kB / 495 MB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.5832, allocations: 0.9794 MB / 495.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5833, allocations: 0 / 495.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.5842, allocations: 359.3 kB / 496.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.5851, allocations: 93.42 kB / 496.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.5881, allocations: 1.273 MB / 497.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.5888, allocations: 0.91 MB / 498.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.589, allocations: 47.42 kB / 498.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.589, allocations: 7.938 kB / 498.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of Templates: time 0.2836/0.8727, allocations: 9.344 MB / 0.4961 GB, free: 103.8 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches