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.002287/0.002287, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.146/3.146, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001437/0.001436, allocations: 88.08 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5135, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.7223, allocations: 87.28 MB / 463 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006331/0.723, allocations: 87.94 kB / 463.1 MB, free: 9.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05541/0.7785, allocations: 12.66 MB / 475.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.7786, allocations: 0 / 475.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.939e-05/0.7787, allocations: 12 kB / 475.8 MB, free: 12.5 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.002897/0.7816, allocations: 0.883 MB / 476.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.814e-05/0.7817, allocations: 8.031 kB / 476.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.782, allocations: 76.09 kB / 476.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.7834, allocations: 479 kB / 477.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.7836, allocations: 49.69 kB / 477.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.7837, allocations: 60.38 kB / 477.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.7858, allocations: 0.6228 MB / 478 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.7859, allocations: 4.188 kB / 478 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.786, allocations: 27.92 kB / 478 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.7861, allocations: 16 kB / 478 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.7877, allocations: 476.9 kB / 478.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.7941, allocations: 2.218 MB / 480.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.7956, allocations: 467.7 kB / 481.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.7965, allocations: 252.7 kB / 481.4 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.7965, allocations: 4.328 kB / 481.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009182/0.7975, allocations: 313.9 kB / 481.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 6.712e-06/0.7975, allocations: 0 / 481.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003605/0.8011, allocations: 0.7575 MB / 482.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.8013, allocations: 148.5 kB / 482.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.8026, allocations: 469.8 kB / 483.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.8028, allocations: 45.69 kB / 483.1 MB, free: 4.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005643/0.8033, allocations: 300.4 kB / 483.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.8035, allocations: 126.2 kB / 483.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.8036, allocations: 12 kB / 483.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.8039, allocations: 358.9 kB / 483.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.8046, allocations: 177 kB / 484.1 MB, free: 3.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.8056, allocations: 331.5 kB / 484.4 MB, free: 3.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.807, allocations: 460.2 kB / 484.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.807, allocations: 3.938 kB / 484.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001842/0.8089, allocations: 0.5954 MB / 485.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003644/0.8093, allocations: 219.9 kB / 485.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.8093, allocations: 11.92 kB / 485.7 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/0.81, allocations: 96.84 kB / 485.7 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.8105, allocations: 83.83 kB / 485.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.8144, allocations: 1.846 MB / 487.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.8154, allocations: 91.61 kB / 487.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.8155, allocations: 20 kB / 487.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8155, allocations: 4 kB / 487.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/0.817, allocations: 0.4893 MB / 488.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.817, allocations: 4 kB / 488.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.8174, allocations: 96.75 kB / 488.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.8178, allocations: 75.83 kB / 488.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.8211, allocations: 1.847 MB / 490.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.822, allocations: 71.62 kB / 490.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.8221, allocations: 27.92 kB / 490.4 MB, free: 13.07 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,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.0008985/0.823, allocations: 304.9 kB / 490.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.8232, allocations: 51.42 kB / 490.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.8234, allocations: 61.05 kB / 490.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.8234, allocations: 4 kB / 490.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8235, allocations: 0 / 490.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.8235, allocations: 3.984 kB / 490.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.8267, allocations: 1.252 MB / 492.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8268, allocations: 4 kB / 492.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.8271, allocations: 35.92 kB / 492.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/0.8277, allocations: 88.83 kB / 492.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.8278, allocations: 16 kB / 492.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/0.8319, allocations: 1.761 MB / 494 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8319, allocations: 0 / 494 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.8344, allocations: 0.7563 MB / 494.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/0.8351, allocations: 176.5 kB / 494.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.8353, allocations: 12 kB / 494.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.836, allocations: 39.97 kB / 494.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.8362, allocations: 51.92 kB / 495 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.8363, allocations: 15.98 kB / 495 MB, free: 8.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009249/0.8372, allocations: 323.1 kB / 495.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8373, allocations: 4 kB / 495.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002035/0.8393, allocations: 279.2 kB / 495.6 MB, free: 7.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003791/0.8397, allocations: 133.4 kB / 495.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.843, allocations: 0.9761 MB / 496.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.843, allocations: 4 kB / 496.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009784/0.844, allocations: 376.2 kB / 497.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8452, allocations: 85.02 kB / 497.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.8491, allocations: 1.285 MB / 498.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.8502, allocations: 0.9059 MB / 499.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.8504, allocations: 39.52 kB / 499.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of SimCode: time 2.685e-06/0.8505, allocations: 7.938 kB / 499.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of Templates: time 0.4322/1.283, allocations: 9.65 MB / 0.4971 GB, free: 104.1 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